HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_ChannelEditorPane.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_ChannelEditorPane_h__
10 #define __HOM_ChannelEditorPane_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_BaseKeyframe.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_PaneTab.h"
16 
17 #include <vector>
18 
19 
20 class HOM_ChannelGraph;
21 
22 
23 SWIGOUT(%rename(ChannelEditorPane) HOM_ChannelEditorPane;)
24 
26 {
27 public:
29  { HOM_CONSTRUCT_OBJECT(this) }
30  // Because the lowermost base classes initialize the virtual bases
31  // before any non-virtual bases, the correct thing to do here is
32  // explicitly call the constructor for HOM_PaneTab.
34  : HOM_PaneTab(pane)
35  { HOM_CONSTRUCT_OBJECT(this) }
36 
38  { HOM_DESTRUCT_OBJECT(this) }
39 
40  // Let swig know we're overriding __repr__ for this class so it doesn't
41  // provide its own __repr__.
42  SWIGOUT(virtual std::string __repr__() = 0;)
43 
44  SWIGOUT(%newobject graph;)
45  virtual HOM_ChannelGraph *graph() = 0;
46 
47  virtual double channelListSplitFraction() = 0;
48  virtual void setChannelListSplitFraction(double split_fraction) = 0;
49 
50  virtual std::string displayFilter() = 0;
51  virtual void setDisplayFilter(const std::string &filter) = 0;
52 
53  virtual HOM_EnumValue &editorMode() = 0;
54  virtual void setEditorMode(HOM_EnumValue &mode) = 0;
55 
56  virtual std::string templateFilter() = 0;
57  virtual void setTemplateFilter(const std::string &filter) = 0;
58 
59  virtual std::string colorsCallback() = 0;
60  virtual bool setColorsCallback(const std::string &cb) = 0;
61 
62  SWIGOUT(%ignore registerColorsOpaqueCallback;)
63  virtual bool registerColorsOpaqueCallback(const std::string &cb_class, void* ptr ) = 0;
64  virtual bool unregisterColorsCallback(const std::string &cb_class ) = 0;
65  virtual std::vector< std::string > colorsCallbacks() = 0;
66 
67 #ifdef SWIG
68 %extend
69 {
70  virtual bool registerColorsCallback(const std::string &cb_class, InterpreterObject callback)
71  { return self->registerColorsOpaqueCallback(cb_class, callback); }
72 }
73 #endif
74 };
75 
76 #endif // __HOM_ChannelEditorPane_h__
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
png_voidp ptr
Definition: png.h:2145
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual std::string __repr__()=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
GLenum mode
Definition: glcorearb.h:98
HOM_ChannelEditorPane(const HOM_ChannelEditorPane &pane)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glcorearb.h:1296