Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
| #define UI_MENU_PADDING (int)(0.2f * UI_UNIT_Y) | #define UI_MENU_PADDING (int)(0.2f * UI_UNIT_Y) | ||||
| #define UI_MENU_WIDTH_MIN (UI_UNIT_Y * 9) | #define UI_MENU_WIDTH_MIN (UI_UNIT_Y * 9) | ||||
| /* some extra padding added to menus containing submenu icons */ | /* some extra padding added to menus containing submenu icons */ | ||||
| #define UI_MENU_SUBMENU_PADDING (6 * UI_DPI_FAC) | #define UI_MENU_SUBMENU_PADDING (6 * UI_DPI_FAC) | ||||
| /* menu scrolling */ | /* menu scrolling */ | ||||
| #define UI_MENU_SCROLL_ARROW 12 | #define UI_MENU_SCROLL_ARROW (12 * UI_DPI_FAC) | ||||
| #define UI_MENU_SCROLL_MOUSE (UI_MENU_SCROLL_ARROW + 2) | #define UI_MENU_SCROLL_MOUSE (UI_MENU_SCROLL_ARROW + 2 * UI_DPI_FAC) | ||||
| #define UI_MENU_SCROLL_PAD 4 | #define UI_MENU_SCROLL_PAD (4 * UI_DPI_FAC) | ||||
| /* panel limits */ | /* panel limits */ | ||||
| #define UI_PANEL_MINX 100 | #define UI_PANEL_MINX 100 | ||||
| #define UI_PANEL_MINY 70 | #define UI_PANEL_MINY 70 | ||||
| /* popover width (multiplied by 'U.widget_unit') */ | /* popover width (multiplied by 'U.widget_unit') */ | ||||
| #define UI_POPOVER_WIDTH_UNITS 10 | #define UI_POPOVER_WIDTH_UNITS 10 | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||