Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface.c
| Show First 20 Lines • Show All 2,005 Lines • ▼ Show 20 Lines | if (show_background) { | ||||
| show_background = false; | show_background = false; | ||||
| } | } | ||||
| else { | else { | ||||
| /* Without a header there is no background except for region overlap. */ | /* Without a header there is no background except for region overlap. */ | ||||
| show_background = region->overlap != 0; | show_background = region->overlap != 0; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| ui_draw_aligned_panel(&style, | ui_panel_draw_aligned(&style, | ||||
| block, | block, | ||||
| &rect, | &rect, | ||||
| UI_panel_category_is_visible(region), | UI_panel_category_is_visible(region), | ||||
| show_background, | show_background, | ||||
| region->flag & RGN_FLAG_SEARCH_FILTER_ACTIVE); | region->flag & RGN_FLAG_SEARCH_FILTER_ACTIVE); | ||||
| } | } | ||||
| BLF_batch_draw_begin(); | BLF_batch_draw_begin(); | ||||
| ▲ Show 20 Lines • Show All 5,067 Lines • Show Last 20 Lines | |||||