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:
authorMatt Ebb <matt@mke3.net>2009-03-09 11:31:45 +0300
committerMatt Ebb <matt@mke3.net>2009-03-09 11:31:45 +0300
commit0fd155f78eca62241b1f15b6b820c1fa7924d778 (patch)
tree94a96cce001b84f30308881a76f7a97b3b06c473 /source/blender/editors/interface/resources.c
parenta04e5795a0b3b3de82d0619fe687c4c3aa24404e (diff)
* fun 2.5 UI commit from seoul airport!
A few UI goodies from on the plane: - fixed the sliders for non-rounded themes - Made properties with rna subtype of 'percentage' automatically display a '%' character *after* the numerical value, where it belongs. It would also be really great to add a ° - degree symbol after angle and perhaps rotation subtypes. This works fine with international fonts but not with oldskool bitmap fonts (not part of ascii). I wonder if there's a way to get around this? - Added nice embossing effects on buttons, labels and pulldowns (there you go, brecht :) - and cooler looking tooltips And did some work on the file browser. Andrea, I hope this is ok, let me know if there are problems and I can work on fixing it up :) - added some new icons for file types, that are now shown in list view. icon designers, please feel free to update and make nicer ones! - tweaked the default colour theme and did some graphical fiddling to make the various views look nicer - rearranged the buttons on the header and swapped the 'P' button for an up arrow button, this needs a nicer icon too. - added outliner style alternating bands to the list view to see info grouping better. This has a small prob in columns view though, can fix that.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index d0d1da40a8f..a068f11588a 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -458,11 +458,18 @@ void ui_theme_init_userdef(void)
/* space file */
/* to have something initialized */
btheme->tfile= btheme->tv3d;
- SETCOL(btheme->tfile.back, 128, 128, 128, 255);
- SETCOL(btheme->tfile.text, 0, 0, 0, 255);
+ SETCOL(btheme->tfile.back, 90, 90, 90, 255);
+ SETCOL(btheme->tfile.text, 240, 240, 240, 255);
SETCOL(btheme->tfile.text_hi, 255, 255, 255, 255);
- SETCOL(btheme->tfile.header, 182, 182, 182, 255);
- SETCOL(btheme->tfile.hilite, 0xA0, 0xA0, 0xD0, 255); // selected files
+ SETCOL(btheme->tfile.header, 195, 195, 195, 255);
+ SETCOL(btheme->tfile.panel, 195, 195, 195, 255); // bookmark/ui regions
+ SETCOL(btheme->tfile.active, 130, 130, 130, 255); // selected files
+ SETCOL(btheme->tfile.hilite, 0xFF, 0xA0, 0x00, 255); // selected files
+
+ SETCOL(btheme->tfile.grid, 240, 240, 240, 255);
+ SETCOL(btheme->tfile.image, 240, 240, 240, 255);
+ SETCOL(btheme->tfile.movie, 240, 240, 240, 255);
+ SETCOL(btheme->tfile.scene, 240, 240, 240, 255);
/* space action */