HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UI_Types.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  * NAME: UI_Types.h ( UI Library, C++)
7  *
8  * COMMENTS: Types and forward declarations for UI
9  */
10 
11 #ifndef __UI_Types__
12 #define __UI_Types__
13 
14 #include <UT/UT_SharedPtr.h>
15 
16 class UI_IconBase;
18 
20 {
25 };
26 
27 enum UI_LookState // bitfield
28 {
35 
36  UI_STATE_MAX = 6 // last item.
37 };
38 
40 {
43  UI_RENDER_BORDER = 0x0004,
48  UI_RENDER_RAW_FOREGROUND = 0x0080, // Ignore contrast with this look.
50  UI_RENDER_GAMMA_CORRECTED = 0x0200, // Do gamma correct before render.
51  UI_RENDER_LUT_CORRECTED = 0x0400, // Do LUT correct before render.
52  UI_STATIC_LOOK = 0x1000, // look is static and should not
53  // be modified.
54  UI_RENDER_NO_DISABLE_SHIFT = 0x2000 // No intensity shift if disabled.
55 };
56 
58 {
59  UI_ORIENTATION_HORIZONTAL, // Gradients should render vertically.
60  UI_ORIENTATION_VERTICAL // Gradients should render horizontally.
61 };
62 
64 {
89 };
90 
91 enum
92 {
97 };
98 typedef unsigned char UI_LookAccent;
99 
101 {
103  UI_ROUND_LL = 0x01,
104  UI_ROUND_UL = 0x02,
105  UI_ROUND_LR = 0x04,
106  UI_ROUND_UR = 0x08,
112 };
113 
114 // Whether an icon can be rendered quickly at multiple sizes. If you use
115 // UI_ICON_FIXED (the default), icons can still be rendered at multiple sizes,
116 // but it might take a lot longer to do so. UI_ICON_SCALABLE avoids this time
117 // penalty, but produces lower-quality (mipmapped) output.
119 {
124 };
125 
126 enum
127 {
128  UI_JUST_TOP = 0x01,
130  UI_JUST_LEFT = 0x04,
132 };
133 
135 {
145 };
146 
199 
200 //
201 // All looks from this point onward are dynamically allocated on each call
202 // to UIgetLook and should be deleted by the caller. The ones above this
203 // point are shared and should *not* be deleted.
204 //
205 // Use the function "UIisSharedLook(UI_LookType)" to check if it's shared.
206 //
209 
212 
228 
263 
266 
267 
270 };
271 
272 #endif // __UI_Types__
UI_Justification
Definition: UI_Types.h:134
UI_AnchorPoint
Definition: UI_Types.h:19
Wrapper around hboost::shared_ptr.
Definition: UT_SharedPtr.h:27
UI_LookType
Definition: UI_Types.h:147
UI_Roundness
Definition: UI_Types.h:100
UI_BorderType
Definition: UI_Types.h:63
unsigned char UI_LookAccent
Definition: UI_Types.h:98
UI_LookState
Definition: UI_Types.h:27
UI_LookOrientation
Definition: UI_Types.h:57
UT_SharedPtr< UI_IconBase > UI_IconRef
Definition: UI_Types.h:16
UI_LookOption
Definition: UI_Types.h:39
UI_IconScalability
Definition: UI_Types.h:118