@@ -889,25 +889,25 @@ public:
y += row_height;
}
virtual void OnPaint()
{
this->DrawWidgets();
virtual void OnClick(Point pt, int widget)
virtual void OnClick(Point pt, int widget, int click_count)
switch (widget) {
case SM_WIDGET_MAP: { // Map window
/*
* XXX: scrolling with the left mouse button is done by subsequently
* clicking with the left mouse button; clicking once centers the
* large map at the selected point. So by unclicking the left mouse
* button here, it gets reclicked during the next inputloop, which
* would make it look like the mouse is being dragged, while it is
* actually being (virtually) clicked every inputloop.
*/
_left_button_clicked = false;