summaryrefslogtreecommitdiff
path: root/prototypes
diff options
context:
space:
mode:
authorsekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-12 07:15:02 +0000
committersekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-12 07:15:02 +0000
commit69e6c6fc970d14602875f290f9fcb3cfff2911bb (patch)
tree8bb3fd33ad0dbeab2791eccbf48772dc04c13e56 /prototypes
parent0b1c5f7ce659f63f00f3b7c408871bd35e6f7456 (diff)
downloadfpGUI-69e6c6fc970d14602875f290f9fcb3cfff2911bb.tar.xz
Implemented a better Invalidate for X11 and fixed mouse release on X11
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/newmultihandle/gui_button.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/prototypes/newmultihandle/gui_button.inc b/prototypes/newmultihandle/gui_button.inc
index e79b8748..b12bbf8a 100644
--- a/prototypes/newmultihandle/gui_button.inc
+++ b/prototypes/newmultihandle/gui_button.inc
@@ -80,6 +80,8 @@ end;
procedure TFButton.EvMousePressed(AButton: TMouseButton; const AMousePos: TPoint
);
begin
+ WriteLn('Mouse Pressed');
+
FIsPressed := True;
Invalidate;
@@ -90,6 +92,8 @@ end;
procedure TFButton.EvMouseReleased(AButton: TMouseButton;
const AMousePos: TPoint);
begin
+ WriteLn('Mouse Released');
+
FIsPressed := False;
Invalidate;