Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_view2d.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| /* ---- Defines for Scroller Arguments ----- */ | /* ---- Defines for Scroller Arguments ----- */ | ||||
| /* ------ Defines for Scrollers ----- */ | /* ------ Defines for Scrollers ----- */ | ||||
| /* scroller area */ | /* scroller area */ | ||||
| #define V2D_SCROLL_HEIGHT (0.45f * U.widget_unit) | #define V2D_SCROLL_HEIGHT (0.45f * U.widget_unit) | ||||
| #define V2D_SCROLL_WIDTH (0.45f * U.widget_unit) | #define V2D_SCROLL_WIDTH (0.45f * U.widget_unit) | ||||
| /* For scrollers with scale markings (text written onto them) */ | /* For scrollers with scale handlers */ | ||||
| #define V2D_SCROLL_HEIGHT_TEXT (0.79f * U.widget_unit) | #define V2D_SCROLL_HEIGHT_HANDLES (0.6f * U.widget_unit) | ||||
| #define V2D_SCROLL_WIDTH_TEXT (0.79f * U.widget_unit) | #define V2D_SCROLL_WIDTH_HANDLES (0.6f * U.widget_unit) | ||||
| /* scroller 'handles' hotspot radius for mouse */ | /* scroller 'handles' hotspot radius for mouse */ | ||||
| #define V2D_SCROLLER_HANDLE_SIZE (0.6f * U.widget_unit) | #define V2D_SCROLLER_HANDLE_SIZE (0.6f * U.widget_unit) | ||||
| /* ------ Define for UI_view2d_sync ----- */ | /* ------ Define for UI_view2d_sync ----- */ | ||||
| /* means copy it from another v2d */ | /* means copy it from another v2d */ | ||||
| #define V2D_LOCK_SET 0 | #define V2D_LOCK_SET 0 | ||||
| ▲ Show 20 Lines • Show All 189 Lines • Show Last 20 Lines | |||||