Bugs fixed and eye candies

This commit is contained in:
brunoherbelin
2020-12-31 00:50:50 +01:00
parent 85d72a1c0e
commit e2bb90208e
5 changed files with 108 additions and 190 deletions

27
View.h
View File

@@ -249,29 +249,15 @@ private:
Source *getEditOrCurrentSource();
void adjustBackground();
// /// tests
// Surface *preview_mask_;
// Surface *test_surface;
// class MaskShader *test_shader;
// FrameBuffer *test_buffer;
Surface *preview_surface_;
class ImageShader *preview_shader_;
Surface *preview_checker_;
Frame *preview_frame_;
Surface *background_surface_;
Frame *background_frame_;
// Mesh *horizontal_line_;
// Mesh *horizontal_mark_;
// bool show_horizontal_scale_;
// Group *vertical_line_;
// Mesh *vertical_mark_;
// bool show_vertical_scale_;
// Symbol *crop_horizontal_;
// Symbol *crop_vertical_;
Mesh *horizontal_mark_;
Mesh *vertical_mark_;
bool show_scale_;
Group *mask_node_;
Frame *mask_square_;
Mesh *mask_circle_;
@@ -288,6 +274,13 @@ private:
Node *overlay_rotation_clock_;
Symbol *overlay_rotation_clock_hand_;
bool show_context_menu_;
// /// tests
// Surface *preview_mask_;
// Surface *test_surface;
// class MaskShader *test_shader;
// FrameBuffer *test_buffer;
};