diff options
author | Ton Roosendaal <ton@blender.org> | 2003-12-24 14:44:57 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-12-24 14:44:57 +0300 |
commit | b3911687eef461bbdb2b25f88bb166a2ae119a19 (patch) | |
tree | ef1348dd114c5a50a45be8dfb58a324008fceb71 /source/blender/src/interface_panel.c | |
parent | 8fbff1a3b7c2c85591681f2682b0343b70dc1853 (diff) |
- only cosmetic stuff; result of going over the output of mipspro cc
compile round. Wrong prototypes, unused variables, zealot const usage,
and in action.c fixed insane & unreadable function call syntax.
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r-- | source/blender/src/interface_panel.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c index ae146975d90..156f9bc89f0 100644 --- a/source/blender/src/interface_panel.c +++ b/source/blender/src/interface_panel.c @@ -771,15 +771,10 @@ static void ui_draw_panel_header(uiBlock *block) void ui_draw_panel(uiBlock *block) { Panel *panel= block->panel; - int align=0, ofsx; + int ofsx; if(panel->paneltab) return; - if(curarea->spacetype==SPACE_BUTS) { - SpaceButs *sbuts= curarea->spacedata.first; - align= sbuts->align; - } - if(panel->flag & PNL_CLOSEDY) { uiSetRoundBox(15); BIF_ThemeColorShade(TH_HEADER, -30); @@ -849,14 +844,6 @@ void ui_draw_panel(uiBlock *block) BIF_ThemeColor4(TH_PANEL); glRectf(block->minx, block->miny, block->maxx, block->maxy); - //if(align) { - // glColor4ub(206, 206, 206, 100); - // if(align==BUT_HORIZONTAL) ui_set_panel_pattern('h'); - // else ui_set_panel_pattern('v'); - - // glRectf(block->minx, block->miny, block->maxx, block->maxy); - // glDisable(GL_POLYGON_STIPPLE); - // } glDisable(GL_BLEND); } else if(panel->control & UI_PNL_TRANSP) { |