viewer: implemented basic zoom
No scrolling functionality yet, but the zoom is functional and efficient.
This commit is contained in:
@@ -68,18 +68,17 @@ public:
|
||||
*/
|
||||
void DisconnectColorManager();
|
||||
|
||||
/**
|
||||
* @brief Set the transformation matrix to draw with
|
||||
*
|
||||
* Set this if you want the drawing to pass through some sort of transform (most of the time you won't want this).
|
||||
*/
|
||||
void SetMatrix(const QMatrix4x4& mat);
|
||||
|
||||
/**
|
||||
* @brief Set an image to load and display on screen
|
||||
*/
|
||||
void SetImage(const QString& fn);
|
||||
|
||||
ColorManager* color_manager() const;
|
||||
|
||||
const QString& ocio_display() const;
|
||||
const QString& ocio_view() const;
|
||||
const QString& ocio_look() const;
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Set the texture to draw and draw it
|
||||
@@ -113,11 +112,12 @@ public slots:
|
||||
*/
|
||||
void SetOCIOLook(const QString& look);
|
||||
|
||||
ColorManager* color_manager() const;
|
||||
|
||||
const QString& ocio_display() const;
|
||||
const QString& ocio_view() const;
|
||||
const QString& ocio_look() const;
|
||||
/**
|
||||
* @brief Set the transformation matrix to draw with
|
||||
*
|
||||
* Set this if you want the drawing to pass through some sort of transform (most of the time you won't want this).
|
||||
*/
|
||||
void SetMatrix(const QMatrix4x4& mat);
|
||||
|
||||
signals:
|
||||
void DragStarted();
|
||||
|
||||
Reference in New Issue
Block a user