5 #ifndef __uiviewcreatorattributes__ 6 #define __uiviewcreatorattributes__ 8 #include "../iuidescription.h" 12 namespace UIViewCreator {
17 static const IdStringPtr kCView =
"CView";
18 static const IdStringPtr kCViewContainer =
"CViewContainer";
19 static const IdStringPtr kCLayeredViewContainer =
"CLayeredViewContainer";
20 static const IdStringPtr kCRowColumnView =
"CRowColumnView";
21 static const IdStringPtr kCScrollView =
"CScrollView";
22 static const IdStringPtr kUIViewSwitchContainer =
"UIViewSwitchContainer";
23 static const IdStringPtr kCSplitView =
"CSplitView";
24 static const IdStringPtr kCShadowViewContainer =
"CShadowViewContainer";
26 static const IdStringPtr kCControl =
"CControl";
27 static const IdStringPtr kCOnOffButton =
"COnOffButton";
28 static const IdStringPtr kCCheckBox =
"CCheckBox";
29 static const IdStringPtr kCParamDisplay =
"CParamDisplay";
30 static const IdStringPtr kCXYPad =
"CXYPad";
31 static const IdStringPtr kCOptionMenu =
"COptionMenu";
32 static const IdStringPtr kCTextLabel =
"CTextLabel";
33 static const IdStringPtr kCMultiLineTextLabel =
"CMultiLineTextLabel";
34 static const IdStringPtr kCTextEdit =
"CTextEdit";
35 static const IdStringPtr kCSearchTextEdit =
"CSearchTextEdit";
36 static const IdStringPtr kCTextButton =
"CTextButton";
37 static const IdStringPtr kCSegmentButton =
"CSegmentButton";
38 static const IdStringPtr kCKnob =
"CKnob";
39 static const IdStringPtr kCAnimKnob =
"CAnimKnob";
40 static const IdStringPtr kCVerticalSwitch =
"CVerticalSwitch";
41 static const IdStringPtr kCHorizontalSwitch =
"CHorizontalSwitch";
42 static const IdStringPtr kCRockerSwitch =
"CRockerSwitch";
43 static const IdStringPtr kCMovieBitmap =
"CMovieBitmap";
44 static const IdStringPtr kCMovieButton =
"CMovieButton";
45 static const IdStringPtr kCKickButton =
"CKickButton";
46 static const IdStringPtr kCSlider =
"CSlider";
47 static const IdStringPtr kCVuMeter =
"CVuMeter";
48 static const IdStringPtr kCAnimationSplashScreen =
"CAnimationSplashScreen";
49 static const IdStringPtr kCGradientView =
"CGradientView";
54 static const std::string kAttrClass =
"class";
55 static const std::string kAttrTitle =
"title";
56 static const std::string kAttrFont =
"font";
57 static const std::string kAttrFontColor =
"font-color";
58 static const std::string kAttrFrameColor =
"frame-color";
59 static const std::string kAttrTextAlignment =
"text-alignment";
60 static const std::string kAttrRoundRectRadius =
"round-rect-radius";
61 static const std::string kAttrFrameWidth =
"frame-width";
62 static const std::string kAttrGradientStartColor =
"gradient-start-color";
63 static const std::string kAttrGradientEndColor =
"gradient-end-color";
64 static const std::string kAttrZoomFactor =
"zoom-factor";
65 static const std::string kAttrHandleBitmap =
"handle-bitmap";
66 static const std::string kAttrOrientation =
"orientation";
67 static const std::string kAttrAnimationTime =
"animation-time";
68 static const std::string kAttrGradient =
"gradient";
73 static const std::string kAttrOrigin =
"origin";
74 static const std::string kAttrSize =
"size";
75 static const std::string kAttrTransparent =
"transparent";
76 static const std::string kAttrMouseEnabled =
"mouse-enabled";
77 static const std::string kAttrWantsFocus =
"wants-focus";
78 static const std::string kAttrBitmap =
"bitmap";
79 static const std::string kAttrDisabledBitmap =
"disabled-bitmap";
80 static const std::string kAttrAutosize =
"autosize";
81 static const std::string kAttrTooltip =
"tooltip";
82 static const std::string kAttrCustomViewName = IUIDescription::kCustomViewName;
83 static const std::string kAttrSubController =
"sub-controller";
84 static const std::string kAttrOpacity =
"opacity";
89 static const std::string kAttrBackgroundColor =
"background-color";
90 static const std::string kAttrBackgroundColorDrawStyle =
"background-color-draw-style";
95 static const std::string kAttrZIndex =
"z-index";
100 static const std::string kAttrRowStyle =
"row-style";
101 static const std::string kAttrSpacing =
"spacing";
102 static const std::string kAttrMargin =
"margin";
103 static const std::string kAttrAnimateViewResizing =
"animate-view-resizing";
104 static const std::string kAttrHideClippedSubviews =
"hide-clipped-subviews";
105 static const std::string kAttrEqualSizeLayout =
"equal-size-layout";
106 static const std::string kAttrViewResizeAnimationTime =
"view-resize-animation-time";
111 static const std::string kAttrContainerSize =
"container-size";
112 static const std::string kAttrHorizontalScrollbar =
"horizontal-scrollbar";
113 static const std::string kAttrVerticalScrollbar =
"vertical-scrollbar";
114 static const std::string kAttrAutoDragScrolling =
"auto-drag-scrolling";
115 static const std::string kAttrBordered =
"bordered";
116 static const std::string kAttrOverlayScrollbars =
"overlay-scrollbars";
117 static const std::string kAttrFollowFocusView =
"follow-focus-view";
118 static const std::string kAttrAutoHideScrollbars =
"auto-hide-scrollbars";
119 static const std::string kAttrScrollbarBackgroundColor =
"scrollbar-background-color";
120 static const std::string kAttrScrollbarFrameColor =
"scrollbar-frame-color";
121 static const std::string kAttrScrollbarScrollerColor =
"scrollbar-scroller-color";
122 static const std::string kAttrScrollbarWidth =
"scrollbar-width";
127 static const std::string kAttrControlTag =
"control-tag";
128 static const std::string kAttrDefaultValue =
"default-value";
129 static const std::string kAttrMinValue =
"min-value";
130 static const std::string kAttrMaxValue =
"max-value";
131 static const std::string kAttrWheelIncValue =
"wheel-inc-value";
132 static const std::string kAttrBackgroundOffset =
"background-offset";
137 static const std::string kAttrBoxframeColor =
"boxframe-color";
138 static const std::string kAttrBoxfillColor =
"boxfill-color";
139 static const std::string kAttrCheckmarkColor =
"checkmark-color";
140 static const std::string kAttrDrawCrossbox =
"draw-crossbox";
141 static const std::string kAttrAutosizeToFit =
"autosize-to-fit";
146 static const std::string kAttrBackColor =
"back-color";
147 static const std::string kAttrShadowColor =
"shadow-color";
148 static const std::string kAttrFontAntialias =
"font-antialias";
149 static const std::string kAttrStyle3DIn =
"style-3D-in";
150 static const std::string kAttrStyle3DOut =
"style-3D-out";
151 static const std::string kAttrStyleNoFrame =
"style-no-frame";
152 static const std::string kAttrStyleNoText =
"style-no-text";
153 static const std::string kAttrStyleNoDraw =
"style-no-draw";
154 static const std::string kAttrStyleShadowText =
"style-shadow-text";
155 static const std::string kAttrStyleRoundRect =
"style-round-rect";
156 static const std::string kAttrTextInset =
"text-inset";
157 static const std::string kAttrValuePrecision =
"value-precision";
158 static const std::string kAttrTextRotation =
"text-rotation";
159 static const std::string kAttrTextShadowOffset =
"text-shadow-offset";
164 static const std::string kAttrMenuPopupStyle =
"menu-popup-style";
165 static const std::string kAttrMenuCheckStyle =
"menu-check-style";
170 static const std::string kAttrTruncateMode =
"truncate-mode";
175 static const std::string kAttrLineLayout =
"line-layout";
176 static const std::string kAttrAutoHeight =
"auto-height";
181 static const std::string kAttrSecureStyle =
"secure-style";
182 static const std::string kAttrImmediateTextChange =
"immediate-text-change";
183 static const std::string kAttrStyleDoubleClick =
"style-doubleclick";
184 static const std::string kAttrPlaceholderTitle =
"placeholder-title";
186 static const std::string kAttrClearMarkInset =
"clearmark-inset";
191 static const std::string kAttrTextColor =
"text-color";
192 static const std::string kAttrTextColorHighlighted =
"text-color-highlighted";
193 static const std::string kAttrGradientStartColorHighlighted =
"gradient-start-color-highlighted";
194 static const std::string kAttrGradientEndColorHighlighted =
"gradient-end-color-highlighted";
195 static const std::string kAttrFrameColorHighlighted =
"frame-color-highlighted";
196 static const std::string kAttrRoundRadius =
"round-radius";
197 static const std::string kAttrKickStyle =
"kick-style";
198 static const std::string kAttrIcon =
"icon";
199 static const std::string kAttrIconHighlighted =
"icon-highlighted";
200 static const std::string kAttrIconPosition =
"icon-position";
201 static const std::string kAttrIconTextMargin =
"icon-text-margin";
202 static const std::string kAttrGradientHighlighted =
"gradient-highlighted";
207 static const std::string kAttrStyle =
"style";
208 static const std::string kAttrSegmentNames =
"segment-names";
213 static const std::string kAttrAngleStart =
"angle-start";
214 static const std::string kAttrAngleRange =
"angle-range";
215 static const std::string kAttrValueInset =
"value-inset";
216 static const std::string kAttrCoronaInset =
"corona-inset";
217 static const std::string kAttrCoronaColor =
"corona-color";
218 static const std::string kAttrCoronaDrawing =
"corona-drawing";
219 static const std::string kAttrCoronaOutline =
"corona-outline";
220 static const std::string kAttrCoronaInverted =
"corona-inverted";
221 static const std::string kAttrCoronaFromCenter =
"corona-from-center";
222 static const std::string kAttrCoronaDashDot =
"corona-dash-dot";
223 static const std::string kAttrHandleColor =
"handle-color";
224 static const std::string kAttrHandleShadowColor =
"handle-shadow-color";
225 static const std::string kAttrHandleLineWidth =
"handle-line-width";
226 static const std::string kAttrCircleDrawing =
"circle-drawing";
227 static const std::string kAttrCoronaLineCapButt =
"corona-line-cap-butt";
228 static const std::string kAttrSkipHandleDrawing =
"skip-handle-drawing";
229 static const std::string kAttrCoronaOutlineWidthAdd =
"corona-outline-width-add";
234 static const std::string kAttrHeightOfOneImage =
"height-of-one-image";
235 static const std::string kAttrSubPixmaps =
"sub-pixmaps";
240 static const std::string kAttrInverseBitmap =
"inverse-bitmap";
245 static const std::string kAttrTransparentHandle =
"transparent-handle";
246 static const std::string kAttrMode =
"mode";
247 static const std::string kAttrHandleOffset =
"handle-offset";
248 static const std::string kAttrBitmapOffset =
"bitmap-offset";
249 static const std::string kAttrReverseOrientation =
"reverse-orientation";
250 static const std::string kAttrDrawFrame =
"draw-frame";
251 static const std::string kAttrDrawBack =
"draw-back";
252 static const std::string kAttrDrawValue =
"draw-value";
253 static const std::string kAttrDrawValueInverted =
"draw-value-inverted";
254 static const std::string kAttrDrawValueFromCenter =
"draw-value-from-center";
255 static const std::string kAttrDrawFrameColor =
"draw-frame-color";
256 static const std::string kAttrDrawBackColor =
"draw-back-color";
257 static const std::string kAttrDrawValueColor =
"draw-value-color";
262 static const std::string kAttrOffBitmap =
"off-bitmap";
263 static const std::string kAttrNumLed =
"num-led";
264 static const std::string kAttrDecreaseStepValue =
"decrease-step-value";
269 static const std::string kAttrSplashBitmap =
"splash-bitmap";
270 static const std::string kAttrSplashOrigin =
"splash-origin";
271 static const std::string kAttrSplashSize =
"splash-size";
272 static const std::string kAttrAnimationIndex =
"animation-index";
277 static const std::string kAttrTemplateNames =
"template-names";
278 static const std::string kAttrTemplateSwitchControl =
"template-switch-control";
279 static const std::string kAttrAnimationStyle =
"animation-style";
284 static const std::string kAttrSeparatorWidth =
"separator-width";
285 static const std::string kAttrResizeMethod =
"resize-method";
290 static const std::string kAttrShadowIntensity =
"shadow-intensity";
291 static const std::string kAttrShadowBlurSize =
"shadow-blur-size";
292 static const std::string kAttrShadowOffset =
"shadow-offset";
297 static const std::string kAttrGradientAngle =
"gradient-angle";
298 static const std::string kAttrGradientStyle =
"gradient-style";
299 static const std::string kAttrGradientStartColorOffset =
"gradient-start-color-offset";
300 static const std::string kAttrGradientEndColorOffset =
"gradient-end-color-offset";
301 static const std::string kAttrDrawAntialiased =
"draw-antialiased";
302 static const std::string kAttrRadialCenter =
"radial-center";
303 static const std::string kAttrRadialRadius =
"radial-radius";
Definition: customcontrols.cpp:8