Blender Git Loki

Git Commits -> Revision f1609dd

Revision f1609dd by Ton Roosendaal (master)
August 15, 2005, 19:46 (GMT)
Added new button type: ROUNDBOX

This replaces drawing with uiRoundBox() or glRect() in button Panels,
which just fails for dynamic constructed button views where Panels are
sometimes invisible. Also eliminates hack with PanelPop().
Error was visible with new Modifier panel, entering/exiting EditMode.

Done Modifier and Constraints.

Syntax:

The last 4 free variables in the uiDefBut() call are:
- float, corner-rounding (0.0-pixels),
- not used,
- short: roundbox type (bits, 1 2 4 8 for clockwise corners starting left/top)
- short: color shade offset (color range 0-255)

Commit Details:

Full Hash: f1609dde1151c8b5645cf142be99a349b0482753
SVN Revision: 5109
Parent Commit: 6bc3f47
Lines Changed: +63, -74

5 Modified Paths:

/source/blender/include/BIF_interface.h (+1, -0) (Diff)
/source/blender/src/buttons_editing.c (+17, -20) (Diff)
/source/blender/src/buttons_object.c (+23, -48) (Diff)
/source/blender/src/interface.c (+8, -5) (Diff)
/source/blender/src/interface_draw.c (+14, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021