Lines Matching defs:const

94     void SetTitle(const char* title);
103 void SetText(const char* text);
114 void SetButton(DialogButtonType buttonType, const char* text, UIView::OnClickListener* listener);
153 const char* GetTitle() const
158 const char* GetText() const
163 const char* GetButtonText(DialogButtonType buttonType) const;
165 UIView::OnClickListener* GetButtonListener(DialogButtonType buttonType) const;
167 ColorType GetButtonColor(DialogButtonType buttonType) const;
169 UIView::OnClickListener* GetOnCancelListener() const
174 bool GetEnableAutoCancel() const
181 const static uint8_t BUTTON_HEIGHT = 40;
182 const static uint8_t BUTTON_TOTAL_HEIGHT = 56;
183 const static uint8_t PADDING = 24;
184 const static uint8_t BUTTON_MID_PADDING = 10;
185 const static uint8_t BUTTON_PADDING = 16;
186 const static uint8_t BUTTON_PRESS_OPA = 26; // 10% opacity
187 const static uint8_t TEXT_BUTTON_PADDING = 8;
188 const static uint8_t TEXT_FONT_SIZE = 16;
189 const static uint8_t TITLE_FONT_SIZE = 20;
190 const static uint8_t TITLE_TOTAL_HEIGHT = 56;
191 const static uint8_t BUTTON_FONT_SIZE = 16;
192 const static uint16_t MAX_WIDTH_PERCENT = 60;
193 const static uint16_t MAX_HEIGHT_PERCENT = 90;
194 const static uint8_t TITLE_TEXT_OPA = 230; // 90% opacity
195 const static uint8_t LINE_BUTTON_PADDING = 4;
196 const static uint8_t LINE_WIDTH = 2;
197 const static uint8_t LINE_HEIGHT = 24;
198 const static uint8_t LINE_BOTTOM_PADDING = 24;
199 const static uint8_t LINE_OPA = 51; // 20% opacity
200 const char* TITLE_ID = "dialogTitle";
201 const char* BUTTON1_ID = "dialogButton1";
202 const char* BUTTON2_ID = "dialogButton2";
204 void AddButton(DialogButtonType buttonType, UILabelButton* button, const char* text,
237 const char* titleText_;
238 const char* textText_;