Home
last modified time | relevance | path

Searched refs:unit_half (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_region_popup.c702 const float unit_half = unit_size * (block->direction == UI_DIR_DOWN ? 0.5 : -0.5); in ui_popup_block_refresh() local
704 UI_block_translate(block, 0, -unit_half); in ui_popup_block_refresh()
H A Dinterface_widgets.c4926 const float unit_half = unit_size / 2; in ui_draw_popover_back_impl() local
4960 immVertex2f(pos, cent_x - unit_half, y); in ui_draw_popover_back_impl()
4961 immVertex2f(pos, cent_x + unit_half, y); in ui_draw_popover_back_impl()
4962 immVertex2f(pos, cent_x, y + sign * unit_half); in ui_draw_popover_back_impl()
4970 immVertex2f(pos, cent_x - unit_half, y); in ui_draw_popover_back_impl()
4971 immVertex2f(pos, cent_x + unit_half, y); in ui_draw_popover_back_impl()
4972 immVertex2f(pos, cent_x, y + sign * unit_half); in ui_draw_popover_back_impl()
4978 immVertex2f(pos, cent_x - unit_half, y); in ui_draw_popover_back_impl()
4979 immVertex2f(pos, cent_x + unit_half, y); in ui_draw_popover_back_impl()
4980 immVertex2f(pos, cent_x, y + sign * unit_half); in ui_draw_popover_back_impl()