Blender Git Commit Log

Git Commits -> Revision ff6339a

Revision ff6339a by Antonis Ryakiotakis (master)
January 7, 2013, 15:42 (GMT)
Make options for background gradient more organized.

This was difficult to do because we group theme colours and display them
together in user preferences. To make the background options more
presentable and keep them grouped and separate, I needed to group the
two gradient colours somehow. I added a separate ThemeSpaceGradient RNA
struct as opposed to ThemeSpaceGeneric. This struct is the same as
ThemeSpaceGeneric but it lacks the window background option (which does
nothing now) and includes the UiGradient struct which now has both
gradient colours. I modified the clear functions to use a new high
colour from the gradient. Now all options appear grouped and any other
editor that may use a gradient for the window background may do so.

Also corrected incorrect MAIN_VERSION_ATLEAST macro, it would not detect
versions correctly

Commit Details:

Full Hash: ff6339a9799b854e145608c4ed3673227b85d971
SVN Revision: 53636
Parent Commit: 12d921e
Lines Changed: +128, -20

8 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_main.h (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -1) (Diff)
/source/blender/editors/interface/resources.c (+13, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+106, -11) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021