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

« back to all changes in this revision

Viewing changes to Nux/HLayout.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-25 13:42:45 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825134245-edi1g8cm2iqibae7
Tags: 1.4.0-0ubuntu1
* New upstream version:
  - "scrolling down in a lens brings it back to the top automatically" 
    (lp: #821534)
* debian/rules: updated shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
  class HLayout: public Layout
32
32
  {
33
 
    NUX_DECLARE_OBJECT_TYPE (HLayout, Layout);
 
33
    NUX_DECLARE_OBJECT_TYPE(HLayout, Layout);
34
34
  public:
35
 
    HLayout (NUX_FILE_LINE_PROTO);
36
 
    HLayout (NString name, NUX_FILE_LINE_PROTO);
37
 
    ~HLayout ();
38
 
 
39
 
    virtual long ComputeLayout2 ();
40
 
    virtual void ComputePosition2 (float offsetX, float offsetY);
41
 
    virtual void HLayoutManagement (t_s32 width, t_s32 height);
42
 
    virtual t_u32 GetMaxStretchFactor ();
43
 
 
44
 
    virtual void GetCompositeList (std::list<Area *> *ViewList);
 
35
    HLayout(NUX_FILE_LINE_PROTO);
 
36
    HLayout(NString name, NUX_FILE_LINE_PROTO);
 
37
    ~HLayout();
 
38
 
 
39
    virtual long ComputeLayout2();
 
40
    virtual void ComputePosition2(float offsetX, float offsetY);
 
41
    virtual void HLayoutManagement(int width, int height);
 
42
    virtual t_u32 GetMaxStretchFactor();
 
43
 
 
44
    virtual void GetCompositeList(std::list<Area *> *ViewList);
45
45
 
46
46
    //! Compute the how elements are spread inside the layout
47
47
    /*!
49
49
        @param offset_space     The space at the left of all elements.
50
50
        @param element_margin   The margin between elements.
51
51
    */
52
 
    void ComputeStacking (t_s32 remaining_width, t_s32 &offset_space, t_s32 &element_margin);
 
52
    void ComputeStacking(int remaining_width, int &offset_space, int &element_margin);
53
53
 
54
54
  protected:
55
55
    virtual long DoFocusUp  (IEvent &ievent, long TraverseInfo, long ProcessEventInfo);