11 #ifndef __CHOP_Handle__
12 #define __CHOP_Handle__
37 #define HANDLE_LABEL_LEFT 0x01
38 #define HANDLE_LABEL_RIGHT 0
40 #define HANDLE_LABEL_TOP 0x02
41 #define HANDLE_LABEL_BOTTOM 0
43 #define HANDLE_BAR 0x04
44 #define HANDLE_GRAPH 0
46 #define HANDLE_WIDTH_END 0x08
48 #define DEFAULT_FLAGS (HANDLE_LABEL_LEFT | \
49 HANDLE_LABEL_BOTTOM | HANDLE_GRAPH)
84 { myColorOffset =
offset; }
87 {
return myParent->getChopColor(myColorOffset,
clip); }
90 const char *
getName()
const {
return myName; }
91 unsigned int getId()
const {
return myId; }
110 { mySubParentIdx = idx; }
113 {
return mySubParentIdx; }
116 {
return mySelected; }
119 { mySelected = yesno; }
121 int64 getMemoryUsage(
bool inclusive)
const;
136 unsigned int myFlags;
void setColorOffset(int offset)
GLint GLint GLint yoffset
#define HANDLE_LABEL_LEFT
CHOP_HandleLook getLook() const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
CHOP_HandleMotion getMotion() const
const char * getName() const
fpreal getXoffset() const
GLuint const GLchar * name
unsigned int getId() const
void setSubParent(int idx)
fpreal getYoffset() const
void setSelected(int yesno)
LeafData & operator=(const LeafData &)=delete
UT_Color getChopColor(const CL_Clip *clip=nullptr) const
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_HOSTDEVICE IMATH_CONSTEXPR14 T clip(const T &p, const Box< T > &box) IMATH_NOEXCEPT