mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-04-04 17:19:23 +02:00
Author:halw
Date:2008-12-24T03:37:43.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@145 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -18,7 +18,7 @@ To compile the example:
|
||||
After launching the program you will see a window displayed containing three push buttons marked "Brushes", "Rectangles" and "3D". Clicking "Brushes" will open a new window demonstrating different brushes available. Clicking "Rectangles" will open a new window within which many different shaped and colored rectangles will be drawn. Clicking"3D" will open a new window demonstrating the use of multiple bitmaps for animation.
|
||||
==Under the Hood==
|
||||
Each of the three windows that are opened from the programs <code>MAIN_WINDOW</code> inherit [[ref:libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]] and contains code for generating their output. <code>BRUSHES_DEMO</code> redefines <code>idle_action</code> to force a re-draw on the applicable windows.
|
||||
{{note|. If <code>enable_idle_action</code> is not called, then <code> idle_action</code> is never executed. }}
|
||||
{{note|If <code>enable_idle_action</code> is not called, then <code>idle_action</code> is never executed. }}
|
||||
|
||||
This sample contains the following classes:
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
Reference in New Issue
Block a user