diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-06-26 02:45:42 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-06-26 02:45:42 +0400 |
commit | ee61785384b9fa351d57b0803ab1ab44c8498016 (patch) | |
tree | 205be39142a6cca2205b2cdd1eb05e56ad7904aa /source/blender/freestyle/FRS_freestyle.h | |
parent | 4d141cf80821fa0dc9533f24583fbf7e53eab5b4 (diff) |
A step toward a new user-friendly GUI for manipulating line style parameters.
This commit is just meant to give the new GUI framework a concrete shape.
There is no usefulness in newly introduced elements at the moment.
Freestyle options in render layers now include a pull-down menu named Control
Mode that allows you to choose either the Python Scripting or Parameter Editor
mode. The Python Scripting mode is the conventional way of controlling
Freestyle by directly using style modules written in Python. The Parameter
Editor is a new control mode that is intended to be used by everyone without
relying on Python programming.
In the Parameter Editor mode, you can specify multiple line sets for each
render layer. A line set defines feature edge selection criteria, as
well as a line style for drawing the selected feature edges using specific
line stylization parameters. Line style is a new datablock type, meaning
that a line style can be shared by multiple line sets (possibly those in
different render layers in different scenes).
Much more additions are anticipated in subsequent commits to implement UI
controls for specifying feature edge selection criteria and line stylization
parameters.
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
-rw-r--r-- | source/blender/freestyle/FRS_freestyle.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/freestyle/FRS_freestyle.h b/source/blender/freestyle/FRS_freestyle.h index cd07d2dfc11..98f7f820715 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -28,9 +28,18 @@ extern "C" { // Panel configuration void FRS_add_module(FreestyleConfig *config); void FRS_delete_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); - void FRS_move_up_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); - void FRS_move_down_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + void FRS_move_module_up(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + void FRS_move_module_down(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + void FRS_add_lineset(FreestyleConfig *config); + void FRS_delete_active_lineset(FreestyleConfig *config); + void FRS_move_active_lineset_up(FreestyleConfig *config); + void FRS_move_active_lineset_down(FreestyleConfig *config); + + FreestyleLineSet *FRS_get_active_lineset(FreestyleConfig *config); + short FRS_get_active_lineset_index(FreestyleConfig *config); + void FRS_set_active_lineset_index(FreestyleConfig *config, short index); + #ifdef __cplusplus } #endif |