~ubuntu-branches/ubuntu/oneiric/nux/oneiric

« back to all changes in this revision

Viewing changes to Nux/View.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-25 13:42:45 UTC
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20110825134245-kfz5nhs15353wcbl
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  public:
50
50
    View (NUX_FILE_LINE_DECL);
51
51
    virtual ~View();
52
 
    //virtual RemoveView(View *ic);
53
52
 
54
53
  public:
55
54
 
56
 
    long BaseProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
55
    // Deprecated
 
56
    //long BaseProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
57
57
 
58
58
    virtual long ComputeChildLayout();
59
59
    virtual void PositionChildLayout (float offsetX, float offsetY);
202
202
    void OnChildFocusChanged (/*Area *parent,*/ Area *child);
203
203
    sigc::connection _on_focus_changed_handler;
204
204
 
205
 
    virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) = 0;
 
205
    // ProcessEvent is deprecated. 
 
206
    virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) {return 0;}
 
207
 
206
208
    virtual void Draw (GraphicsEngine &GfxContext, bool force_draw) = 0;
207
209
    virtual void DrawContent (GraphicsEngine &GfxContext, bool force_draw);
208
210
    virtual void PostDraw (GraphicsEngine &GfxContext, bool force_draw);