Lots of small changes, all for UI in Blender;
authorTon Roosendaal <ton@blender.org>
Sun, 3 Oct 2004 13:49:54 +0000 (13:49 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 3 Oct 2004 13:49:54 +0000 (13:49 +0000)
commit3a840670a52701e8690a5d201bcb57eac45e2c8a
tree0341f7c09a337d8d43d0fca51376314476ac2905
parent6e4b9ad96b3894e432a1561d1902f656aaa799c0
Lots of small changes, all for UI in Blender;

----- Killed UI frontbuffer draw
The interface toolkit was drawing all live updates (while using menus/buttons)
in the frontbuffer. This isn't well supported cross-platform, so time to be
killed once. Now it uses *only* glReadPixels and glCopyPixels for frontbuffer
access.

Live updates or menus now are drawn in backbuffer always, and copied to
front when needed.

NOTE: it was tested, but needs thorough review! On PC systems I suspects
backbuffer selection to screw up (check!). On SGI/SUN workstations it
should work smooth; but I need evidence

----- Smaller fixes;

- AA fonts were garbled on ATI systems. Now the AA fonts are drawn exact
  on pixel positions. Needs the new FTGL libb too, patch is on maillist
- Rounded theme uses antialiased outlines
- Pulldown and popup menus have nice softshadow now
- New button type 'PULLDOWN', thats the one that callsup a pulldown menu.
  Should be added to themes, as is the full menu/pulldown drawing
- Screendump for 1 window does the full window now, including header
- Empty pulldowns (for example running blender without scripts) give no
  drawing error anymore

For review & fun;
- added curved lines as connectors, for Oops window
29 files changed:
source/blender/ftfont/intern/FTF_TTFont.h
source/blender/include/BIF_interface.h
source/blender/include/BIF_screen.h
source/blender/include/interface.h
source/blender/src/drawoops.c
source/blender/src/editmode_undo.c
source/blender/src/editscreen.c
source/blender/src/editview.c
source/blender/src/header_action.c
source/blender/src/header_buttonswin.c
source/blender/src/header_image.c
source/blender/src/header_info.c
source/blender/src/header_ipo.c
source/blender/src/header_nla.c
source/blender/src/header_oops.c
source/blender/src/header_script.c
source/blender/src/header_seq.c
source/blender/src/header_sound.c
source/blender/src/header_view3d.c
source/blender/src/headerbuttons.c
source/blender/src/interface.c
source/blender/src/interface_draw.c
source/blender/src/interface_panel.c
source/blender/src/mywindow.c
source/blender/src/screendump.c
source/blender/src/space.c
source/blender/src/swapbuffers.c
source/blender/src/toolbox.c
source/blender/src/view.c