Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-10-06 22:55:00 +0400
committerTon Roosendaal <ton@blender.org>2004-10-06 22:55:00 +0400
commitd5e0c065bc58a8a6e45a5ffee58fb97f120228e6 (patch)
treece4f18cb2b3a010441a5011f8d89065da5699f44 /source/blender/include/BIF_resources.h
parentd5e1d1844a6aba0fc66e456b3fa3e70a9e4e98e1 (diff)
Version 1.0 of the new Outliner
The outliner is a hierarchical diagram displaying a list of data in Blender and its dependencies. The 'databrowse' doesn't really show it, and Oops is too chaotic still. And most of all, the former two don't offer much tools. After discussions on irc, Matt came with this design proposal; http://mke3.net/blender/interface/layout/outliner/ Which is closely followed for the implementation. The current version only shows all 'library data' in Blender (objects, meshes, ipos, etc) and not the 'direct data' such as vertex groups or NLA. I decided to make it inside the Oopw window, as an option. You can find the option in the "View" pulldown, or directly invoke it with ALT+SHIFT+F9 Here's a quick overview of the Outliner GUI: - Header pulldown has options what it can show (Visible = in current layers) - click on triangle arrow to open/close - press AKEY to open/close all - Leftmouse click on an item activates; and does based on type a couple of extra things: - activates a scene - selects/activates the Object - enters editmode (if clicked on Mesh, Curve, etc) - shows the appropriate Shading buttons (Lamp, Material, Texture) - sets the IpoWindow to the current IPO - activates the Ipo-channel in an Action - Selected and Active objects are drawn in its Theme selection color - SHIFT+click on Object does extend-select - Press DOTkey to get the current active data in center of view TODO; - rightmouse selection; for indicating operations like delete or duplicate - showing more data types - icon (re)design... - lotsof options as described in Matts paper still...
Diffstat (limited to 'source/blender/include/BIF_resources.h')
-rw-r--r--source/blender/include/BIF_resources.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h
index 7c2e8bffcc3..dd43e5efe49 100644
--- a/source/blender/include/BIF_resources.h
+++ b/source/blender/include/BIF_resources.h
@@ -76,8 +76,8 @@ typedef enum {
ICON_SORTSIZE,
ICON_LONGDISPLAY,
ICON_SHORTDISPLAY,
- ICON_BLANK4,
- ICON_BLANK5,
+ ICON_TRIA_OPEN,
+ ICON_TRIA_CLOSED,
ICON_VIEW_AXIS_ALL,
ICON_VIEW_AXIS_NONE,
@@ -255,7 +255,7 @@ typedef enum {
ICON_LIBRARY_HLT,
ICON_IMAGE_HLT,
ICON_CONSTRAINT,
- ICON_BLANK32,
+ ICON_CAMERA_DEHLT,
ICON_BLANK33,
#define BIFICONID_LAST (ICON_BLANK33)
#define BIFNICONIDS (BIFICONID_LAST-BIFICONID_FIRST + 1)
@@ -406,7 +406,7 @@ void BIF_ThemeColor4(int colorid);
void BIF_ThemeColorShade(int colorid, int offset);
// sets color plus offset for alpha
-void BIF_ThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset);
+void BIF_ThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset);
// sets color, which is blend between two theme colors
void BIF_ThemeColorBlend(int colorid1, int colorid2, float fac);
@@ -424,6 +424,10 @@ void BIF_GetThemeColor3fv(int colorid, float *col);
void BIF_GetThemeColor3ubv(int colorid, char *col);
void BIF_GetThemeColor4ubv(int colorid, char *col);
+// get a theme color from specified space type
+void BIF_GetThemeColorType4ubv(int colorid, int spacetype, char *col);
+
+
struct ScrArea;
// internal (blender) usage only, for init and set active