mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
This commit is contained in:
parent
6a931d67cd
commit
57d592828b
|
@ -487,8 +487,8 @@ enum WindowWidgetTypes {
|
||||||
* Window flags
|
* Window flags
|
||||||
*/
|
*/
|
||||||
enum WindowFlags {
|
enum WindowFlags {
|
||||||
WF_TIMEOUT_TRIGGER = 2, ///< When the timeout should start triggering
|
WF_TIMEOUT_TRIGGER = 1, ///< When the timeout should start triggering
|
||||||
WF_TIMEOUT_BEGIN = 5, ///< The initial value for the timeout
|
WF_TIMEOUT_BEGIN = 7, ///< The initial value for the timeout
|
||||||
WF_TIMEOUT_MASK = 7, ///< Window timeout counter bit mask (3 bits)
|
WF_TIMEOUT_MASK = 7, ///< Window timeout counter bit mask (3 bits)
|
||||||
WF_DRAGGING = 1 << 3, ///< Window is being dragged
|
WF_DRAGGING = 1 << 3, ///< Window is being dragged
|
||||||
WF_SCROLL_UP = 1 << 4, ///< Upper scroll button has been pressed, @see ScrollbarClickHandler()
|
WF_SCROLL_UP = 1 << 4, ///< Upper scroll button has been pressed, @see ScrollbarClickHandler()
|
||||||
|
|
Loading…
Reference in New Issue