== UI icons ==

* Moved ICON_BLENDER away from (0,0) spot in blenderbuttons, since ICON_BLENDER=0 define is conflicting ICON_NULL define as well as with logic checks for nonzero icon id.
* This solved bug where ICON_BLENDER can't be set from Python as well as when using new UI functions from within Blender.
This commit is contained in:
2011-02-27 16:58:37 +00:00
parent b1ef977eff
commit b39f09e962
4 changed files with 6577 additions and 6577 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 205 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -35,7 +35,7 @@
once for interface_api.c for the definition of the RNA enum for the icons */
/* ICON_ prefix added */
DEF_ICON(BLENDER)
DEF_ICON(NONE)
DEF_ICON(QUESTION)
DEF_ICON(ERROR)
DEF_ICON(CANCEL)
@@ -50,8 +50,8 @@ DEF_ICON(DISCLOSURE_TRI_RIGHT)
DEF_ICON(RADIOBUT_OFF)
DEF_ICON(RADIOBUT_ON)
DEF_ICON(MENU_PANEL)
DEF_ICON(BLENDER)
#ifndef DEF_ICON_BLANK_SKIP
DEF_ICON(BLANK002)
DEF_ICON(BLANK003)
#endif
DEF_ICON(DOT)

View File

@@ -43,7 +43,7 @@
#define DEF_VICO(name) VICO_##name,
typedef enum {
#define BIFICONID_FIRST (ICON_BLENDER)
#define BIFICONID_FIRST (ICON_NONE)
/* ui */
#include "UI_icons.h"
BIFICONID_LAST