UI: Improved Area Icon Using a SpaceType Callback #124556

Merged
Harley Acheson merged 5 commits from Harley/blender:AreaIcons into main 2024-07-12 00:08:35 +02:00
Showing only changes of commit 7fb2bd6d33 - Show all commits

View File

@ -211,7 +211,7 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco);
void ED_area_init(wmWindowManager *wm, wmWindow *win, ScrArea *area);
void ED_area_exit(bContext *C, ScrArea *area);
blender::StringRefNull ED_area_name(ScrArea *area);
int ED_area_icon(ScrArea *area);
int ED_area_icon(const ScrArea *area);
Harley marked this conversation as resolved Outdated

Just realized these should have const arguments

Just realized these should have const arguments

Will change the argument of the "name" one to const after this merge.

Will change the argument of the "name" one to const after this merge.
int ED_screen_area_active(const bContext *C);
void ED_screen_global_areas_refresh(wmWindow *win);
void ED_screen_global_areas_sync(wmWindow *win);