[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27354] trunk/blender/source/blender/ editors/space_file/file_draw.c: Fix tiny drawing offset in file selector
Matt Ebb
matt at mke3.net
Tue Mar 9 08:03:59 CET 2010
Revision: 27354
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27354
Author: broken
Date: 2010-03-09 08:03:58 +0100 (Tue, 09 Mar 2010)
Log Message:
-----------
Fix tiny drawing offset in file selector
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_file/file_draw.c
Modified: trunk/blender/source/blender/editors/space_file/file_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_file/file_draw.c 2010-03-09 06:49:58 UTC (rev 27353)
+++ trunk/blender/source/blender/editors/space_file/file_draw.c 2010-03-09 07:03:58 UTC (rev 27354)
@@ -238,7 +238,7 @@
{
UI_ThemeColorShade(colorid, shade);
uiSetRoundBox(15);
- uiRoundBox(sx, sy - height, sx + width, sy, 6);
+ uiRoundBox(sx, sy - height, sx + width, sy, 5);
}
#define FILE_SHORTEN_END 0
@@ -548,10 +548,10 @@
if (params->active_file == i) {
if (file->flags & ACTIVE) colorid= TH_HILITE;
else colorid = TH_BACK;
- draw_tile(sx, sy-3, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,20);
+ draw_tile(sx, sy-1, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,20);
} else if (file->flags & ACTIVE) {
colorid = TH_HILITE;
- draw_tile(sx, sy-3, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,0);
+ draw_tile(sx, sy-1, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,0);
}
}
uiSetRoundBox(0);
More information about the Bf-blender-cvs
mailing list