~loic.molinari/nux/nux-make-sure-implementation-dependant-feature-are-not-used-in-init-paths

« back to all changes in this revision

Viewing changes to Nux/Layout.h

  • Committer: Gord Allott
  • Date: 2011-03-10 15:20:36 UTC
  • mfrom: (255.3.7 keynav-fixes-11-03-7)
  • Revision ID: gord.allott@canonical.com-20110310152036-qgez83boyj3qqr35
bugfixes for keynav and a bunch of other cool stuff, woo

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
    virtual bool DoCanFocus ();
230
230
    virtual void DoActivateFocus ();
231
231
 
232
 
    bool FocusFirstChild ();
233
 
    bool FocusNextChild (Area *child);
234
 
    bool FocusPreviousChild (Area *child);
235
 
 
236
232
    bool HasFocusableEntries ();
237
233
 
238
234
    sigc::signal <void, Layout *, Area*> ChildFocusChanged;
242
238
    bool _has_focus_control;
243
239
    void SetFocusControl (bool focus_control);
244
240
    bool HasFocusControl ();
 
241
    bool _ignore_focus;
245
242
 
246
243
  protected:
 
244
    Area*GetFocusedChild ();
 
245
    virtual long DoFocusPrev  (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
246
    virtual long DoFocusNext  (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
247
    virtual long DoFocusUp    (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
248
    virtual long DoFocusDown  (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
249
    virtual long DoFocusLeft  (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
250
    virtual long DoFocusRight (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
251
    virtual bool FocusFirstChild ();
 
252
    virtual bool FocusLastChild ();
 
253
    virtual bool FocusNextChild (Area *child);
 
254
    virtual bool FocusPreviousChild (Area *child);
 
255
    
 
256
    
 
257
    
247
258
    bool _queued_draw; //<! The rendering of the layout needs to be refreshed.
248
259
 
249
260
    Size m_ContentSize;