branch | cpp_gui |
changeset 6292 | 272c690043e3 |
parent 6290 | 8078f7a3c8a0 |
child 6301 | e0251f797d59 |
6291:5c589fa2078e | 6292:272c690043e3 |
---|---|
154 StickyBox(CompositeWidget *container) |
154 StickyBox(CompositeWidget *container) |
155 : ImageButton2(container, -103, FF_TOGGLE_BUTTON, container->m_color, Rect16(), STR_STICKY_BUTTON, SPR_PIN_DOWN, Point(0, 1), SPR_PIN_UP, Point(0, 1)) |
155 : ImageButton2(container, -103, FF_TOGGLE_BUTTON, container->m_color, Rect16(), STR_STICKY_BUTTON, SPR_PIN_DOWN, Point(0, 1), SPR_PIN_UP, Point(0, 1)) |
156 {} |
156 {} |
157 |
157 |
158 /*virtual*/ void OnCreate(EvtCreate &ev); |
158 /*virtual*/ void OnCreate(EvtCreate &ev); |
159 // /*virtual*/ void OnPaint(EvtPaint &ev); |
|
160 /*virtual*/ void OnLeftClick(EvtLeftClick &ev); |
159 /*virtual*/ void OnLeftClick(EvtLeftClick &ev); |
161 }; |
160 }; |
162 |
161 |
163 struct Caption : public Widget { |
162 struct Caption : public Widget { |
164 typedef Widget super; |
163 typedef Widget super; |