Blender Git Loki

Git Commits -> Revision 3367a03

Revision 3367a03 by Daniel Dunbar (master)
August 4, 2005, 22:36 (GMT)
- added UI_EMBOSSR option (rounded emboss)
- added support for vector icons, from user API side is just like using
a regular icon... on icon side is defined by a function in resources.c
instead of using the blenderbuttons png file. vector icons are much
easier to add and scale properly. intent is that vector icons would
be drawn in window coordinates which lets icon developers make the
most beautiful icons, but this requires some tweaking of the interface
drawing that I am not going to do atm.
- changed BIF_draw_icon* to take coordinates of where to draw icon instead
of using passed in raster position
- switch modifier UI to using vector icons, and tweaked some position and
style stuff.
- replaced most uses of UI_EMBOSSX with UI_EMBOSS (do same thing, just there
to confuse people I guess)

After the window coordinate stuff is sorted out with vector icons
it probably makes sense to move all non-photorealistic icons in blenderbuttons
to vector form just so scaling goes better.

Commit Details:

Full Hash: 3367a030b3391c5dd0f61b615f64f8a0a8bde4f2
SVN Revision: 5015
Parent Commit: 9102983
Lines Changed: +459, -153

25 Modified Paths:

/source/blender/include/BIF_interface.h (+1, -0) (Diff)
/source/blender/include/BIF_resources.h (+15, -5) (Diff)
/source/blender/src/buttons_editing.c (+27, -26) (Diff)
/source/blender/src/buttons_object.c (+2, -2) (Diff)
/source/blender/src/drawimage.c (+7, -7) (Diff)
/source/blender/src/drawimasel.c (+7, -10) (Diff)
/source/blender/src/drawnla.c (+1, -2) (Diff)
/source/blender/src/drawoops.c (+1, -2) (Diff)
/source/blender/src/drawtime.c (+3, -5) (Diff)
/source/blender/src/drawview.c (+1, -2) (Diff)
/source/blender/src/editscreen.c (+14, -18) (Diff)
/source/blender/src/header_action.c (+1, -1) (Diff)
/source/blender/src/header_buttonswin.c (+1, -1) (Diff)
/source/blender/src/header_ipo.c (+1, -1) (Diff)
/source/blender/src/header_nla.c (+1, -1) (Diff)
/source/blender/src/header_oops.c (+1, -1) (Diff)
/source/blender/src/header_script.c (+2, -2) (Diff)
/source/blender/src/header_sound.c (+1, -1) (Diff)
/source/blender/src/header_text.c (+1, -1) (Diff)
/source/blender/src/header_time.c (+1, -1) (Diff)
/source/blender/src/interface.c (+2, -2) (Diff)
/source/blender/src/interface_draw.c (+6, -4) (Diff)
/source/blender/src/interface_panel.c (+1, -2) (Diff)
/source/blender/src/outliner.c (+41, -39) (Diff)
/source/blender/src/resources.c (+320, -17) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021