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>2005-05-05 21:19:21 +0400
committerTon Roosendaal <ton@blender.org>2005-05-05 21:19:21 +0400
commitf0a4ce98f904fa9577e80c9bcd2b80da6847e365 (patch)
tree289c594f3d43762a106be9f4b3a3e384dbcacc55 /source/blender/include/BIF_resources.h
parent22f65bce76b70a09467469c9a06c51d9acf76fa6 (diff)
Added the new Timeline Window, copied from Tuhopuu, coded by Matt Ebb.
Main change is that it's an own Space type now, not part of the Audio window... the audio window should restrict to own options. This way functionality is nicely separated. Since it's the first time I added a new space (since long!) I've made an extensive tutorial as well. You can find that here: http://www.blender3d.org/cms/Adding_new_Space_Window.557.0.html Notes for using timewindow; - Add time markers with MKey - CTRL+M gives option to name Marker - Markers cannot be moved yet... - Pageup-Pagedown keys moves current frame to next-prev Marker - Xkey removes Markers - If an object has Ipos or an Action, it draws key lines - CTRL+Pageup-Pagedown moves current frame to next-prev Key - Press S or E to set start/end frame for playback Notes about the implementation in Tuhopuu: - Add new Marker now selects new, deselects others - Selecting Marker didn't work like elsewhere in Blender, on click it should deselect all, except the indicated Marker. Not when holding SHIFT of course - Not exported functions are static now - Removed unused defines (MARKER_NONE NEXT_AVAIL) - Drawing order was confusing, doing too many matrix calls - Removed not needed scrollbar, added new function to draw time values. (Has advantage the MMB scroll works not confusing on a scrollbar) - Added proper support for 'frame mapping' - The string button (name Marker) had a bug (checked str[64] while str was only 64 long) - String button itself didn't allow "OK on enter" - Made frame buttons in header larger, the arrows overlapped - Removed support for negative frame values, that won't work so simple!
Diffstat (limited to 'source/blender/include/BIF_resources.h')
-rw-r--r--source/blender/include/BIF_resources.h49
1 files changed, 24 insertions, 25 deletions
diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h
index a922bea1b19..cbaf66379bf 100644
--- a/source/blender/include/BIF_resources.h
+++ b/source/blender/include/BIF_resources.h
@@ -49,13 +49,13 @@ typedef enum {
ICON_ACTION,
ICON_NLA,
ICON_SCRIPTWIN,
- ICON_VIEWMOVE,
- ICON_HOME,
- ICON_CLIPUV_DEHLT,
- ICON_CLIPUV_HLT,
- ICON_SOME_WACKY_VERTS_AND_LINES,
- ICON_A_WACKY_VERT_AND_SOME_LINES,
- ICON_VPAINT_COL,
+ ICON_TIME,
+ ICON_SPACE1,
+ ICON_SPACE2,
+ ICON_SPACE3,
+ ICON_SPACE4,
+ ICON_SPACE5,
+ ICON_SPACE6,
ICON_ORTHO,
ICON_PERSP,
@@ -66,7 +66,7 @@ typedef enum {
ICON_SOLID,
ICON_SMOOTH,
ICON_POTATO,
- ICON_BLANK2,
+ ICON_MARKER_HLT,
ICON_NORMALVIEW,
ICON_LOCALVIEW,
ICON_UNUSEDVIEW,
@@ -96,14 +96,13 @@ typedef enum {
ICON_ROTATECOLLECTION,
ICON_ROTATECENTER,
ICON_ALIGN,
- ICON_BLANK8,
- ICON_BLANK9,
- ICON_BLANK10,
- ICON_BLANK11,
+ ICON_REC,
+ ICON_PLAY,
+ ICON_FF,
+ ICON_REW,
ICON_PYTHON,
-
-
+
ICON_DOTSUP,
ICON_DOTSDOWN,
ICON_MENU_PANEL,
@@ -113,8 +112,8 @@ typedef enum {
ICON_DRAW_UVFACES,
ICON_STICKY_UVS,
ICON_STICKY2_UVS,
- ICON_BLANK17,
- ICON_BLANK18,
+ ICON_PREV_KEYFRAME,
+ ICON_NEXT_KEYFRAME,
ICON_ENVMAP,
ICON_TRANSP_HLT,
ICON_TRANSP_DEHLT,
@@ -124,7 +123,7 @@ typedef enum {
ICON_TPAINT_HLT,
ICON_WPAINT_DEHLT,
ICON_WPAINT_HLT,
- ICON_BLANK21,
+ ICON_MARKER,
ICON_X,
ICON_GO_LEFT,
@@ -272,14 +271,14 @@ typedef enum {
ICON_BLANK52,
ICON_BLANK53,
ICON_BLANK54,
- ICON_BLANK55,
- ICON_BLANK56,
- ICON_BLANK57,
- ICON_BLANK58,
- ICON_BLANK59,
- ICON_BLANK60,
- ICON_BLANK61,
-
+ ICON_VIEWMOVE,
+ ICON_HOME,
+ ICON_CLIPUV_DEHLT,
+ ICON_CLIPUV_HLT,
+ ICON_SOME_WACKY_VERTS_AND_LINES,
+ ICON_A_WACKY_VERT_AND_SOME_LINES,
+ ICON_VPAINT_COL,
+
ICON_MAN_TRANS,
ICON_MAN_ROT,
ICON_MAN_SCALE,