2.5
WIP commit for new system to draw widgets and use themes or styles. Not really interesting stuff to see in code now, the current structure will change quite a lot, this to make it hook up well to the existing system. What works quite well is a new full opengl vector method to draw scalable and pixel-aligned anti-aliased buttons. http://download.blender.org/institute/rt3.jpg http://download.blender.org/institute/rt4.jpg
This commit is contained in:
@@ -846,6 +846,9 @@ void ui_layout_end(const bContext *C, uiBlock *block, uiLayout *layout, int *x,
|
||||
|
||||
if(x) *x= layout->x;
|
||||
if(y) *y= layout->y;
|
||||
|
||||
/* XXX temp, migration flag for drawing code */
|
||||
uiBlockSetFlag(block, UI_BLOCK_2_50);
|
||||
}
|
||||
|
||||
void ui_layout_free(uiLayout *layout)
|
||||
|
Reference in New Issue
Block a user