mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Finally a working implementation of crop and UV manipulation in
AppearanceView! Added saving and loading.
This commit is contained in:
9
View.h
9
View.h
@@ -239,23 +239,18 @@ public:
|
||||
std::pair<Node *, glm::vec2> pick(glm::vec2 P) override;
|
||||
Cursor grab (Source *s, glm::vec2 from, glm::vec2 to, std::pair<Node *, glm::vec2> pick) override;
|
||||
Cursor drag (glm::vec2, glm::vec2) override;
|
||||
// void initiate() override;
|
||||
void terminate() override;
|
||||
|
||||
private:
|
||||
|
||||
Source *edit_source_;
|
||||
Group edit_source_status_;
|
||||
bool need_edit_update_;
|
||||
Source *getEditOrCurrentSource();
|
||||
|
||||
void adjustBackground();
|
||||
|
||||
Surface *backgroundpreview;
|
||||
Surface *surfacepreview;
|
||||
|
||||
Surface *backgroundframe_;
|
||||
Frame *foregroundframe_;
|
||||
Surface *backgroundchecker_;
|
||||
Frame *backgroundframe_;
|
||||
Mesh *horizontal_line_;
|
||||
Group *vertical_line_;
|
||||
Symbol *crop_horizontal_;
|
||||
|
||||
Reference in New Issue
Block a user