Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show All 12 Lines | |||||
| int state, | int state, | ||||
| bool use_sep, | bool use_sep, | ||||
| int *r_xmax); | int *r_xmax); | ||||
| void ui_draw_preview_item( | void ui_draw_preview_item( | ||||
| const struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state); | const struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state); | ||||
| #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) | ||||
| /* margin at top of screen for popups */ | /* Margin at top of screen for popups. Note this value must be sufficient | ||||
| #define UI_POPUP_MENU_TOP (int)(8 * UI_DPI_FAC) | to draw a popover arrow to avoid cropping it. */ | ||||
| #define UI_POPUP_MENU_TOP (int)(10 * UI_DPI_FAC) | |||||
| #define UI_PIXEL_AA_JITTER 8 | #define UI_PIXEL_AA_JITTER 8 | ||||
| extern const float ui_pixel_jitter[UI_PIXEL_AA_JITTER][2]; | extern const float ui_pixel_jitter[UI_PIXEL_AA_JITTER][2]; | ||||
| /* interface_style.c */ | /* interface_style.c */ | ||||
| void uiStyleInit(void); | void uiStyleInit(void); | ||||
| /* interface_icons.c */ | /* interface_icons.c */ | ||||
| Show All 12 Lines | |||||