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>2006-02-18 16:28:44 +0300
committerTon Roosendaal <ton@blender.org>2006-02-18 16:28:44 +0300
commit387f9a7c6d42994b127bb481d191c1169709637b (patch)
treee8edda5a5faa01bbef4653731c4bd18876ae4e2d /source/blender/include/BIF_toolbox.h
parent78942aa8439ec6d304e9f85421a918f44100496c (diff)
Four-in-one commit:
(NOTE: new include dependency in Render module, might need MSVC update! It has to include the imbuf/intern/openexr/ directory in search path) -> New Composite node: "Hue Saturation". Works like the former 'post process' menu. There's no gamma, brightness or multiply needed in this node, for that the Curves Node functions better. -> Enabled Toolbox in Node editor This now also replaces the SHIFT+A for adding nodes. The nodes are automatically added to the menus, using the 'class' category from the type definition. Current classes are (compositor examples): Inputs: RenderResult, Image Outputs: Composite, Viewer Color Ops: RGB Curves, Mix, Hue Saturation, AlphaOver Vector Ops: Normal, Vector Curves, Map Value Filters: Filter, Blur, VectorBlur Convertors: ColorRamp, RGBtoBW, Separate RGBA, Separate HSVA, Set Alpha Generators: RGB, Value, Time Groups: the list of custom defined nodes -> OpenEXR tile saving support Created an API for for saving tile-based Images with an unlimited amount of layers/channels. I've tested it for 'render result' now, with the idea that this can (optionally) replace the current inserting of tiles in the main result buffers. Especially with a lot of layers, the used memory for these buffers can easily go into the 100s of megs. Two other advantages: - all 'render result' layers can be saved entirely in a single file, for later use in compositing, also for animation output. - on each render, per scene, a unique temp file can be stored, allowing to re-use these temp files on starting Blender or loading files, showing the last result of a render command. The option is currently disabled, needs more work... but I had to commit this because of the rest of the work I did! -> Bug fix The Image node didn't call an execute event when browsing another image.
Diffstat (limited to 'source/blender/include/BIF_toolbox.h')
-rw-r--r--source/blender/include/BIF_toolbox.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/source/blender/include/BIF_toolbox.h b/source/blender/include/BIF_toolbox.h
index 9e9365f3bc3..eef78e482cc 100644
--- a/source/blender/include/BIF_toolbox.h
+++ b/source/blender/include/BIF_toolbox.h
@@ -33,79 +33,8 @@
#ifndef BIF_TOOLBOX_H
#define BIF_TOOLBOX_H
-
- /* TBOXX: width in pixels */
-#define TBOXXL 80
-#define TBOXXR 200
-#define TBOXX (TBOXXL+TBOXXR)
- /* TBOXEL: amount of element vertically */
-#define TBOXEL 14
- /* TBOXH: height of 1 element */
-#define TBOXH 20
-#define TBOXY TBOXH*TBOXEL
-
-#define TBOXBLACK 1
-#define TBOXDGREY 2
-#define TBOXWHITE 3
-#define TBOXGREY 4
-#define TBOXLGREY 5
-
-/* toolbox menu code defines
- -> SPACE->(MAIN_ENTRY) */
-#ifdef MAART
-enum {
- TBOX_MAIN_FILE,
- TBOX_MAIN_ADD,
- TBOX_MAIN_EDIT,
- TBOX_MAIN_OBJECT1,
- TBOX_MAIN_OBJECT2,
- TBOX_MAIN_MESH,
- TBOX_MAIN_CURVE,
- TBOX_MAIN_KEY,
- TBOX_MAIN_RENDER,
- TBOX_MAIN_VIEW,
- TBOX_MAIN_SEQ,
- TBOX_MAIN_PYTOOL = 13
-};
-
-#else
-enum {
- TBOX_MAIN_ADD,
- TBOX_MAIN_FILE,
- TBOX_MAIN_EDIT,
- TBOX_MAIN_OBJECT1,
- TBOX_MAIN_OBJECT2,
- TBOX_MAIN_MESH,
- TBOX_MAIN_CURVE,
- TBOX_MAIN_KEY,
- TBOX_MAIN_RENDER,
- TBOX_MAIN_VIEW,
- TBOX_MAIN_SEQ,
- TBOX_MAIN_PYTOOL = 13
-};
-#endif
-
-/* protos */
-
/* toolbox.c */
-void ColorFunc (int i);
-void mygetcursor (short int *index);
-void tbox_setinfo (int x, int y);
-void bgnpupdraw (int startx, int starty, int endx, int endy);
-void endpupdraw (void);
void asciitoraw (int ch, short unsigned int *event, short unsigned int *qual);
-void tbox_execute (void);
-void tbox_getmouse (short int *mval);
-void tbox_setmain (int val);
-void bgntoolbox (void);
-void endtoolbox (void);
-void tbox_embossbox (short int x1, short int y1, short int x2, short int y2, short int type);
-void tbox_drawelem_body (int x, int y, int type);
-void tbox_drawelem_text (int x, int y, int type);
-void tbox_drawelem (int x, int y, int type);
-void tbox_getactive (int *x, int *y);
-void drawtoolbox (void);
-void toolbox (void);
void toolbox_n(void);
void toolbox_n_add(void);