- Added button align code:
authorTon Roosendaal <ton@blender.org>
Fri, 14 Nov 2003 00:44:48 +0000 (00:44 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 14 Nov 2003 00:44:48 +0000 (00:44 +0000)
commita291ea6683b02ac81c21e555652eeaa7653e7f95
treed609cd266d469bd27b4a5b980371c32142ec3a7a
parentbaf23c76486e136c0ae533c741e7e9ee45e64d81
- Added button align code:
  uiBlockBeginAlign(block, 'v');  'v'= vertical. 'h'=horizontal
  ..... (button def calls)
  uiBlockEndAlign(block);

  this will allow new themes to have buttons nicely drawn together.
- added new rounded draw theme, to test & illustrate the above.
- only did parts of button code with align... rest for later
- fixed 'minimal' theme to make it usable (with some decoration)
- put back 'oldskool' theme... but it just looks plain ugly! remove?

Lazy people: http://www.blender.org/bf/rt.jpg
check the top header, or Nkey menu, to see the meaning of 'align'.
source/blender/include/BIF_interface.h
source/blender/include/interface.h
source/blender/src/buttons_scene.c
source/blender/src/buttons_shading.c
source/blender/src/drawview.c
source/blender/src/header_buttonswin.c
source/blender/src/headerbuttons.c
source/blender/src/interface.c
source/blender/src/interface_draw.c
source/blender/src/space.c