equal
deleted
inserted
replaced
235 typedef CompositeWidget super; |
235 typedef CompositeWidget super; |
236 |
236 |
237 static const int16 DEFAULT_HEIGHT = 14; |
237 static const int16 DEFAULT_HEIGHT = 14; |
238 |
238 |
239 protected: |
239 protected: |
240 StringID m_text; |
240 StringID m_text; |
241 byte m_text_color; |
241 byte m_text_color; |
|
242 Point16 m_moving_offset; |
|
243 CaptureTicket m_ticket_moving; |
242 |
244 |
243 public: |
245 public: |
244 CaptionBar() |
246 CaptionBar() |
245 : CompositeWidget() |
247 : CompositeWidget() |
246 , m_text(0) |
248 , m_text(0) |
254 {} |
256 {} |
255 |
257 |
256 /*virtual*/ void DrawBackground(EvtPaint &ev); |
258 /*virtual*/ void DrawBackground(EvtPaint &ev); |
257 |
259 |
258 /*virtual*/ void OnPaint(EvtPaint &ev); |
260 /*virtual*/ void OnPaint(EvtPaint &ev); |
|
261 /*virtual*/ void OnLeftClick(EvtClick &ev); |
|
262 void OnCapturePressed(EvtMouseOver &e); |
259 }; |
263 }; |
260 |
264 |
261 |
265 |
262 |
266 |
263 |
267 |