Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 459 Lines • ▼ Show 20 Lines | |||||
| extern void ui_but_string_get_ex(uiBut *but, char *str, const size_t maxlen, const int float_precision) ATTR_NONNULL(); | extern void ui_but_string_get_ex(uiBut *but, char *str, const size_t maxlen, const int float_precision) ATTR_NONNULL(); | ||||
| extern void ui_but_string_get(uiBut *but, char *str, const size_t maxlen) ATTR_NONNULL(); | extern void ui_but_string_get(uiBut *but, char *str, const size_t maxlen) ATTR_NONNULL(); | ||||
| extern void ui_but_convert_to_unit_alt_name(uiBut *but, char *str, size_t maxlen) ATTR_NONNULL(); | extern void ui_but_convert_to_unit_alt_name(uiBut *but, char *str, size_t maxlen) ATTR_NONNULL(); | ||||
| extern bool ui_but_string_set(struct bContext *C, uiBut *but, const char *str) ATTR_NONNULL(); | extern bool ui_but_string_set(struct bContext *C, uiBut *but, const char *str) ATTR_NONNULL(); | ||||
| extern bool ui_but_string_set_eval_num(struct bContext *C, uiBut *but, const char *str, double *value) ATTR_NONNULL(); | extern bool ui_but_string_set_eval_num(struct bContext *C, uiBut *but, const char *str, double *value) ATTR_NONNULL(); | ||||
| extern int ui_but_string_get_max_length(uiBut *but); | extern int ui_but_string_get_max_length(uiBut *but); | ||||
| extern uiBut *ui_but_drag_multi_edit_get(uiBut *but); | extern uiBut *ui_but_drag_multi_edit_get(uiBut *but); | ||||
| void ui_def_but_icon(uiBut *but, const int icon, const int flag); | |||||
| extern uiButExtraIconType ui_but_icon_extra_get(uiBut *but); | extern uiButExtraIconType ui_but_icon_extra_get(uiBut *but); | ||||
| extern void ui_but_default_set(struct bContext *C, const bool all, const bool use_afterfunc); | extern void ui_but_default_set(struct bContext *C, const bool all, const bool use_afterfunc); | ||||
| extern void ui_but_update(uiBut *but); | extern void ui_but_update(uiBut *but); | ||||
| extern bool ui_but_is_float(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | extern bool ui_but_is_float(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | ||||
| extern bool ui_but_is_bool(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | extern bool ui_but_is_bool(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | ||||
| extern bool ui_but_is_unit(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | extern bool ui_but_is_unit(const uiBut *but) ATTR_WARN_UNUSED_RESULT; | ||||
| ▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | |||||
| #define UI_TEXT_MARGIN_X 0.4f | #define UI_TEXT_MARGIN_X 0.4f | ||||
| #define UI_POPUP_MARGIN (UI_DPI_FAC * 12) | #define UI_POPUP_MARGIN (UI_DPI_FAC * 12) | ||||
| /* interface_style.c */ | /* interface_style.c */ | ||||
| void uiStyleInit(void); | void uiStyleInit(void); | ||||
| /* interface_icons.c */ | /* interface_icons.c */ | ||||
| void ui_icon_ensure_deferred(const struct bContext *C, const int icon_id, const bool big); | |||||
| int ui_id_icon_get(const struct bContext *C, struct ID *id, const bool big); | int ui_id_icon_get(const struct bContext *C, struct ID *id, const bool big); | ||||
| /* resources.c */ | /* resources.c */ | ||||
| void init_userdef_do_versions(void); | void init_userdef_do_versions(void); | ||||
| void ui_theme_init_default(void); | void ui_theme_init_default(void); | ||||
| void ui_style_init_default(void); | void ui_style_init_default(void); | ||||
| void ui_resources_init(void); | void ui_resources_init(void); | ||||
| void ui_resources_free(void); | void ui_resources_free(void); | ||||
| Show All 30 Lines | |||||