Blender Git Loki

Git Commits -> Revision 6480956

Revision 6480956 by Ton Roosendaal (master)
October 15, 2003, 12:26 (GMT)
- expanded internal windowmanager that it allows button panels in any
window (type)
- each SpaceData struct (not the window!) can get 'block handlers'
assigned, basically event codes that invoke drawing button panels.
- this is saved in files, and Panels behave in any window like it does now
in buttonswindow
- it also means that a 'space window' should leave with a matrix set for
buttons level
- try it in view3d header menu, 'view'->'backdrop'. this opens the old
viewbuttons
- it all works non blocking! instant updates of viewbuttons visible in
3d window now.

Not done yet:
- checking and fixing frontbuffer drawing (select a wireframe draws over)
- temporally vertices cannot be selected, is my next project
- closing or hiding Panels...
- styling stuff... i committed for others to review as well.

Have fun. this is certainly a huge improvement over the old viewbuttons!

Commit Details:

Full Hash: 6480956c5854cb8bcd21c76b57f3d9287fe0d430
SVN Revision: 1314
Parent Commit: 0c1bad3
Lines Changed: +451, -266

19 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/include/BIF_interface.h (+1, -1) (Diff)
/source/blender/include/BIF_mywindow.h (+3, -0) (Diff)
/source/blender/include/BIF_space.h (+15, -0) (Diff)
/source/blender/include/BSE_drawview.h (+3, -0) (Diff)
/source/blender/include/interface.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+44, -11) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+4, -1) (Diff)
/source/blender/src/butspace.c (+5, -2) (Diff)
/source/blender/src/buttons.txt (+0, -204) (Diff)
/source/blender/src/buttons_shading.c (+1, -1) (Diff)
/source/blender/src/drawipo.c (+0, -1) (Diff)
/source/blender/src/drawview.c (+211, -2) (Diff)
/source/blender/src/header_info.c (+8, -1) (Diff)
/source/blender/src/header_view3d.c (+30, -9) (Diff)
/source/blender/src/interface.c (+55, -31) (Diff)
/source/blender/src/mywindow.c (+8, -0) (Diff)
/source/blender/src/space.c (+42, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021