Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
-rw-r--r--source/blender/editors/interface/interface_panel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index be14c963136..6d7a0eae6af 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -570,7 +570,7 @@ static void ui_draw_panel_header_style(ARegion *ar, uiStyle *style, Panel *panel
hrect.ymin= rect->ymax;
hrect.xmax= rect->xmax;
hrect.ymax= rect->ymax + PNL_HEADER;
- uiFontStyleDraw(&style->paneltitle, &hrect, activename);
+ uiStyleFontDraw(&style->paneltitle, &hrect, activename);
return;
}
@@ -591,16 +591,15 @@ static void ui_draw_panel_header_style(ARegion *ar, uiStyle *style, Panel *panel
hrect.ymin= rect->ymax;
hrect.xmax= hrect.xmin + width;
hrect.ymax= hrect.ymin + PNL_HEADER;
- uiFontStyleDraw(&style->paneltitle, &hrect, panelname);
+ uiStyleFontDraw(&style->paneltitle, &hrect, panelname);
a++;
}
}
}
-void ui_draw_panel(ARegion *ar, uiBlock *block, rcti *rect)
+void ui_draw_panel(ARegion *ar, uiStyle *style, uiBlock *block, rcti *rect)
{
- uiStyle *style= U.uistyles.first; // XXX pass on
Panel *panel= block->panel, *prev;
int ofsx;