HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_Pane.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_Pane_h__
10 #define __HOM_Pane_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_EnumValue.h"
17 #include "HOM_PaneTab.h"
18 class HOM_Desktop;
19 class HOM_FloatingPanel;
20 
21 SWIGOUT(%rename(Pane) HOM_Pane;)
22 
24 {
25 public:
27  { HOM_CONSTRUCT_OBJECT(this) }
28  HOM_Pane(const HOM_Pane &)
29  { HOM_CONSTRUCT_OBJECT(this) }
30  virtual ~HOM_Pane()
31  { HOM_DESTRUCT_OBJECT(this) }
32 
33  virtual std::string __repr__() = 0;
34 
35  SWIGOUT(%newobject desktop;)
36  virtual HOM_Desktop *desktop() = 0;
37 
38  virtual int id() = 0;
39 
40  virtual bool isMaximized() = 0;
41 
42  SWIGOUT(%newobject floatingPanel;)
43  virtual HOM_FloatingPanel *floatingPanel() = 0;
44 
45  virtual void setIsMaximized( bool on ) = 0;
46 
47  virtual std::vector<HOM_ElemPtr<HOM_PaneTab> > tabs() = 0;
48 
49  SWIGPYTHONOUT(%newobject createTab;)
50  virtual HOM_PaneTab *createTab(HOM_EnumValue &type) = 0;
51 
52  SWIGOUT(%newobject currentTab;)
53  virtual HOM_PaneTab *currentTab() = 0;
54 
55  SWIGOUT(%newobject tabOfType;)
56  virtual HOM_PaneTab *tabOfType(HOM_EnumValue &type, int index = 0) = 0;
57 
58  SWIGOUT(%newobject splitHorizontally;)
59  virtual HOM_Pane *splitHorizontally() = 0;
60 
61  SWIGOUT(%newobject splitVertically;)
62  virtual HOM_Pane *splitVertically() = 0;
63 
64  SWIGOUT(%newobject getSplitParent;)
65  virtual HOM_Pane *getSplitParent() = 0;
66 
67  SWIGOUT(%newobject getSplitChild;)
68  virtual HOM_Pane *getSplitChild(int child) = 0;
69 
70  virtual void splitSwap() = 0;
71 
72  virtual void splitRotate() = 0;
73 
74  virtual bool isSplitMaximized() = 0;
75 
76  virtual bool isSplitMinimized() = 0;
77 
78  virtual void setIsSplitMaximized(bool on) = 0;
79 
80  virtual bool isSplit() = 0;
81 
82  virtual void setSplitFraction(double value) = 0;
83 
84  virtual double getSplitFraction( ) = 0;
85 
86  virtual void setSplitDirection(int dir) = 0;
87 
88  virtual int getSplitDirection( ) = 0;
89 };
90 
91 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:973
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_Pane()
Definition: HOM_Pane.h:26
HOM_Pane(const HOM_Pane &)
Definition: HOM_Pane.h:28
GLuint id
Definition: glcorearb.h:654
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:972
virtual ~HOM_Pane()
Definition: HOM_Pane.h:30
GLsizei const GLfloat * value
Definition: glcorearb.h:823
virtual std::string __repr__()=0
GLuint index
Definition: glcorearb.h:785
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
#define SWIGPYTHONOUT(x)
Definition: HOM_Defines.h:30