Enhanced edit mechanism, with "element picking" possibility

This commit is contained in:
Hombre
2016-03-03 00:25:10 +01:00
parent 98dd99103d
commit 06c26ff1b3
11 changed files with 706 additions and 288 deletions

View File

@@ -47,9 +47,11 @@ class CropWindow : public LWButtonListener, public CropDisplayHandler, public Ed
{
// state management
ImgEditState state; // current state of user (see enum State)
ImgEditState state; // current state of user (see enum State)
int press_x, press_y; // position of the cursor in the GUI space on button press
int action_x, action_y; // parameter that will evolve during a pan or drag action
int pickedObject;
int pickModifierKey;
double rot_deg;
bool onResizeArea;
bool deleted;