Blender Git Loki

Git Commits -> Revision 9b82d14

Revision 9b82d14 by Ton Roosendaal (master)
April 27, 2009, 13:44 (GMT)
2.5

Summary of ain features:
- Themes and Styles are now editable.
- CTRL+U "Save user defaults" now goes to new .B25.blend, so you
can use 2.4x and 2.5x next to each other. If B25 doesn't exist, it
reads the regular .B.blend
- Press Tkey in 3d window for (unfinished) toolbar WIP. It now only
shows the last operator, if appropriate.
Nkey properties moved to the other side.

A lot of work was done on removing old themes for good and properly
getting it work with the 2.5 region system. Here's some notes;

- Buttons now all have a complete set of colors, based on button classifications
(See outliner -> user prefs -> Interface
- Theme colors have been extended with basic colors for region types.
Currently colors are defined for Window, Header, List/Channels and
for Button/Tool views.
The screen manager handles this btw, so a TH_BACK will always pick the
right backdrop color.
- Menu backdrops are in in Button theme colors. Floating Panels will be in
the per-space type Themes.
- Styles were added in RNA too, but only for the font settings now.
Only Panel font, widget font and widget-label work now. The 'group label'
will be for templates mostly.
Style settings will be expanded with spacing defaults, label conventions,
etc.
- Label text colors are stored in per-space Theme too, to make sure they fit.
Same goes for Panel title color.

Note that 'shadow' for fonts can conflict with text colors; shadow color is
currently stored in Style... shadow code needs a bit of work still.


Commit Details:

Full Hash: 9b82d1474ff29a5ff246b53e75f12319a58bcdff
SVN Revision: 19943
Parent Commit: 1d3c2b8
Lines Changed: +1301, -1100

25 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+15, -34) (Diff)
/source/blender/editors/interface/interface.c (+8, -9) (Diff)
/source/blender/editors/interface/interface_draw.c (+29, -36) (Diff)
/source/blender/editors/interface/interface_intern.h (+15, -4) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+8, -7) (Diff)
/source/blender/editors/interface/interface_utils.c (+41, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+203, -193) (Diff)
/source/blender/editors/interface/resources.c (+516, -249) (Diff)
/source/blender/editors/screen/area.c (+52, -23) (Diff)
/source/blender/editors/space_action/action_draw.c (+1, -1) (Diff)
/source/blender/editors/space_graph/space_graph.c (+2, -2) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+76, -2) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+5, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+4, -1) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+46, -22) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+253, -108) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+17, -398) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021