3 * Created by: ennewalker on Sat Jan 5 01:33:53 2008 UTC
10 #include "tilereg-text.h"
16 * Expanded CRTRegion to support highlightable and clickable entries - felirx
17 * The user of this region will have total control over the positioning of
18 * objects at all times
19 * The base class behaves like the current CRTRegion used commonly
20 * It's identity is mapped to the CRT_NOMOUSESELECT value in TilesFramework
22 * Menu Entries are handled via pointers and are shared with whatever MenuClass
23 * is using them. This is done to keep the keyboard selections in sync with mouse
25 class CRTRegion
: public TextRegion
29 CRTRegion(FontWrapper
*font
);
32 virtual void render();
35 virtual int handle_mouse(MouseEvent
& event
);
37 virtual void on_resize();
39 void attach_menu(PrecisionMenu
* menu
);
42 PrecisionMenu
* m_attached_menu
;
46 * Enhanced Mouse handling for CRTRegion
47 * The behaviour is CRT_SINGESELECT
49 class CRTSingleSelect
: public CRTRegion
52 CRTSingleSelect(FontWrapper
* font
);
54 virtual int handle_mouse(MouseEvent
& event
);