[Bf-python] Feature Suggestion: Script colors
Joseph Gilbert
models at paposo.com
Sun Jul 4 22:07:05 CEST 2004
The current Register-GUI built into python can be colored how you like it
with OpenGL commands. With a panel interface it could be easier to change
the GUI color to reflect the current theme.
-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Bart
Sent: Friday, June 25, 2004 9:08 AM
To: bf-committers at blender.org; bf-python at blender.org
Subject: [Bf-python] Feature Suggestion: Script colors
A guide for making better script interfaces should be published (many
bad designs and colors used).
A way to access to the interface colors (controls takes colors of theme
but the rest do not) of Blender would be nice too. So scripts could
always look like the rest of Blender:
PanelColor PanelHeaderColor
PanelAlpha PanelBackgroundColor
TextColor TextHighlightColor TextInputColor
HeaderColor HeaderHighlightColor
BackgroundColor
OutlineColor
NeutralColor ActionColor SettingColor
MenuColor MenuHighlightColor MenuBackgroundColor
MenuTextColor MenuItemColor MenuItemHighlightColor
Example:
glClearColor(BackgroundColor, PanelAlpha)
glClear(GL_COLOR_BUFFER_BIT)
glColor3f(PanelBackgroundColor)
glRecti(10, 10, 100, 100)
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list