|
From: CVS C. to T. <the...@li...> - 2011-06-04 23:19:16
|
Revision: 654
http://themis.svn.sourceforge.net/themis/?rev=654&view=rev
Author: mark_hellegers
Date: 2011-06-04 23:19:10 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Stop the flickering on the "go" button.
Modified Paths:
--------------
trunk/themis/framework/TPictureButton.cpp
trunk/themis/framework/TPictureButton.h
Modified: trunk/themis/framework/TPictureButton.cpp
===================================================================
--- trunk/themis/framework/TPictureButton.cpp 2011-06-04 12:54:58 UTC (rev 653)
+++ trunk/themis/framework/TPictureButton.cpp 2011-06-04 23:19:10 UTC (rev 654)
@@ -197,3 +197,11 @@
Draw( Bounds() );
}
+
+void TPictureButton :: AttachedToWindow()
+{
+ BView::AttachedToWindow();
+
+ SetViewColor(B_TRANSPARENT_COLOR);
+
+}
Modified: trunk/themis/framework/TPictureButton.h
===================================================================
--- trunk/themis/framework/TPictureButton.h 2011-06-04 12:54:58 UTC (rev 653)
+++ trunk/themis/framework/TPictureButton.h 2011-06-04 23:19:10 UTC (rev 654)
@@ -62,6 +62,7 @@
void SetMode(
int8 mode,
bool forcemode = false );
+ virtual void AttachedToWindow();
private:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|