X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_width.cpp;h=59e58a6abcf6c20ab6a6f31869b22f1a2c440841;hb=911ac8fe67f2d2ae07ae952f068f5d7fba479f20;hp=b8a79261a44c189c66577f7441c5da2e7d84adde;hpb=11c0abb278300f2c4439b538b300433078a19a78;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_width.cpp b/synfig-studio/trunk/src/gtkmm/state_width.cpp index b8a7926..59e58a6 100644 --- a/synfig-studio/trunk/src/gtkmm/state_width.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_width.cpp @@ -55,6 +55,8 @@ #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -149,7 +151,7 @@ public: void save_settings(); void reset(); -}; // END of class StateGradient_Context +}; // END of class StateWidth_Context /* === M E T H O D S ======================================================= */ @@ -461,7 +463,7 @@ StateWidth_Context::event_mouse_handler(const Smach::event& x) { const EventMouse& event(*reinterpret_cast(&x)); - //handle ze click + //handle the click if( (event.key == EVENT_WORKAREA_MOUSE_BUTTON_DOWN || event.key == EVENT_WORKAREA_MOUSE_BUTTON_DRAG) && event.button == BUTTON_LEFT ) {