~haggai-eran/nux/rtl

« back to all changes in this revision

Viewing changes to Nux/Layout.h

  • Committer: Haggai Eran
  • Date: 2011-10-15 21:01:00 UTC
  • mfrom: (413.1.84 nux)
  • Revision ID: haggai.eran@gmail.com-20111015210100-4amf0pdxuzkynotw
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    bool SearchInAllSubNodes (Area *bo);
148
148
    bool SearchInFirstSubNodes (Area *bo);
149
149
 
150
 
    //! Process Event
151
 
    /*!
152
 
        Propagate event to all element contained in the layout.
153
 
        \param ievent
154
 
        \param TraverseInfo
155
 
        \param ProcessEventInfo
156
 
        \return The state of the Process Event.
157
 
    */
158
 
    virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);
 
150
    // Deprectated. Do not use.
 
151
    virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) {return 0;}
159
152
 
160
153
    Area* FindAreaUnderMouse(const Point& mouse_position, NuxEventType event_type);
161
154
 
289
282
  {
290
283
    NUX_DECLARE_OBJECT_TYPE (SpaceLayout, Layout);
291
284
  public:
292
 
    SpaceLayout()
 
285
    SpaceLayout(NUX_FILE_LINE_PROTO)
 
286
      : Layout (NUX_FILE_LINE_PARAM)
293
287
    {
294
288
    };
295
289
 
296
 
    SpaceLayout (int minWidth, int maxWidth, int minHeight, int maxHeight)
 
290
    SpaceLayout (int minWidth, int maxWidth, int minHeight, int maxHeight, NUX_FILE_LINE_PROTO)
 
291
      : Layout (NUX_FILE_LINE_PARAM)
297
292
    {
298
293
      SetMinimumSize (minWidth, minHeight);
299
294
      SetMaximumSize (maxWidth, maxHeight);