Blender Git Loki

Git Commits -> Revision 3a84067

Revision 3a84067 by Ton Roosendaal (master)
October 3, 2004, 13:49 (GMT)
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

Commit Details:

Full Hash: 3a840670a52701e8690a5d201bcb57eac45e2c8a
SVN Revision: 3184
Parent Commit: 6e4b9ad
Lines Changed: +562, -337

29 Modified Paths:

/source/blender/ftfont/intern/FTF_TTFont.h (+1, -0) (Diff)
/source/blender/include/BIF_interface.h (+3, -1) (Diff)
/source/blender/include/BIF_screen.h (+5, -1) (Diff)
/source/blender/include/interface.h (+15, -9) (Diff)
/source/blender/src/drawoops.c (+26, -4) (Diff)
/source/blender/src/editmode_undo.c (+5, -2) (Diff)
/source/blender/src/editscreen.c (+32, -5) (Diff)
/source/blender/src/editview.c (+1, -0) (Diff)
/source/blender/src/headerbuttons.c (+0, -1) (Diff)
/source/blender/src/header_action.c (+3, -3) (Diff)
/source/blender/src/header_buttonswin.c (+1, -1) (Diff)
/source/blender/src/header_image.c (+4, -4) (Diff)
/source/blender/src/header_info.c (+18, -17) (Diff)
/source/blender/src/header_ipo.c (+5, -5) (Diff)
/source/blender/src/header_nla.c (+3, -3) (Diff)
/source/blender/src/header_oops.c (+3, -3) (Diff)
/source/blender/src/header_script.c (+1, -1) (Diff)
/source/blender/src/header_seq.c (+4, -4) (Diff)
/source/blender/src/header_sound.c (+1, -1) (Diff)
/source/blender/src/header_view3d.c (+21, -21) (Diff)
/source/blender/src/interface.c (+260, -182) (Diff)
/source/blender/src/interface_draw.c (+111, -46) (Diff)
/source/blender/src/interface_panel.c (+18, -14) (Diff)
/source/blender/src/mywindow.c (+8, -0) (Diff)
/source/blender/src/screendump.c (+10, -4) (Diff)
/source/blender/src/space.c (+1, -0) (Diff)
/source/blender/src/swapbuffers.c (+1, -1) (Diff)
/source/blender/src/toolbox.c (+1, -1) (Diff)
/source/blender/src/view.c (+0, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021