Double click support for the Tool Framework.

This commit is contained in:
Maciej Suminski
2013-11-28 15:19:50 +01:00
parent 183afdd089
commit c21ae6efca
6 changed files with 89 additions and 56 deletions
+2 -1
View File
@@ -77,6 +77,7 @@ const std::string TOOL_EVENT::Format() const
const FlagString actions[] =
{
{ TA_MOUSE_CLICK, "click" },
{ TA_MOUSE_DBLCLICK, "double click" },
{ TA_MOUSE_UP, "button-up" },
{ TA_MOUSE_DOWN, "button-down" },
{ TA_MOUSE_DRAG, "drag" },
@@ -102,7 +103,7 @@ const std::string TOOL_EVENT::Format() const
{ BUT_LEFT, "left" },
{ BUT_RIGHT, "right" },
{ BUT_MIDDLE, "middle" },
{ 0, "" }
{ 0, "" }
};
const FlagString modifiers[] =