diff options
| author | Aubanel Monnier <aubanel@gmail.com> | 2008-03-19 15:40:00 +0000 |
|---|---|---|
| committer | o__b <o__b@users.sourceforge.net> | 2008-03-19 15:40:00 +0000 |
| commit | e65a88bdb1ff93f1f2ba8e07a3d17e970670677f (patch) | |
| tree | 14033a41c5be8a7c7bac829ca45e0572f8900bc7 /src/preferences-skeleton.h | |
| parent | Add option to treat grups as single objects when converting to guides. (diff) | |
| download | inkscape-e65a88bdb1ff93f1f2ba8e07a3d17e970670677f.tar.gz inkscape-e65a88bdb1ff93f1f2ba8e07a3d17e970670677f.zip | |
More woke on calligraaphic presets:
Added a No Preset entry
Made save button and save functionality
Changing settings swithces back the preset combo to No Preset
Internals:
added several functions in pref-utils: add child-pref, get list of children, number of children
added a function to retrieve the model from egeActioSelectOne
Todos:
when a profile is selected, the save button should be a delete button that deletes the current profile
find a way to (re)name new profiles
find a way to get unique ids (are ids mandatory in preferences anyway ?)
(bzr r5125)
Diffstat (limited to 'src/preferences-skeleton.h')
| -rw-r--r-- | src/preferences-skeleton.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index 225d572b0..e00510590 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -71,11 +71,11 @@ static char const preferences_skeleton[] = " <eventcontext id=\"calligraphic\" style=\"fill:black;fill-opacity:1;fill-rule:nonzero;stroke:none;\"\n" " mass=\"0.02\" drag=\"1\" angle=\"30\" width=\"0.15\" thinning=\"0.1\" flatness=\"0.9\" cap_rounding=\"0.0\" usecurrent=\"1\"\n" " tracebackground=\"0\" usepressure=\"1\" usetilt=\"0\" keep_selected=\"1\">\n" -" <group id=\"preset\" max_presets=\"7\">\n" -" <group id=\"cp0\" name=\"Dip pen\" mass=\"0.02\" wiggle=\"0.0\" angle=\"30.0\" width=\"15.0\" thinning=\"0.1\" tremor=\"0.0\" flatness=\"0.9\" cap_rounding=\"0.0\"/>\n" -" <group id=\"cp1\" name=\"Marker\" mass=\"0.02\" wiggle=\"0.0\" angle=\"90.0\" width=\"15.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0.0\" cap_rounding=\"1.0\"/>\n" -" <group id=\"cp2\" name=\"Brush\" mass=\"0.02\" wiggle=\"0.25\" angle=\"45.0\" width=\"10.0\" thinning=\"-0.4\" tremor=\"0.0\" flatness=\"0.16\" cap_rounding=\".1\"/>\n" -" <group id=\"cp3\" name=\"Reed pen\" mass=\"0.02\" wiggle=\"0.0\" angle=\"20.0\" width=\"15.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"1.0\" cap_rounding=\"0.0\"/>\n" +" <group id=\"preset\">\n" +" <group id=\"cp0\" name=\"Dip pen\" mass=\"0.02\" wiggle=\"0.0\" angle=\"30.0\" width=\"15.0\" thinning=\"0.1\" tremor=\"0.0\" flatness=\"0.9\" cap_rounding=\"0.0\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" +" <group id=\"cp1\" name=\"Marker\" mass=\"0.02\" wiggle=\"0.0\" angle=\"90.0\" width=\"15.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"0.0\" cap_rounding=\"1.0\" tracebackground=\"0\" usepressure=\"0\" usetilt=\"0\" />\n" +" <group id=\"cp2\" name=\"Brush\" mass=\"0.02\" wiggle=\"0.25\" angle=\"45.0\" width=\"10.0\" thinning=\"-0.4\" tremor=\"0.0\" flatness=\"0.16\" cap_rounding=\".1\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\" />\n" +" <group id=\"cp3\" name=\"Reed pen\" mass=\"0.02\" wiggle=\"0.0\" angle=\"20.0\" width=\"15.0\" thinning=\"0.0\" tremor=\"0.0\" flatness=\"1.0\" cap_rounding=\"0.0\" tracebackground=\"0\" usepressure=\"1\" usetilt=\"1\"/>\n" " </group>\n" " </eventcontext>\n" " <eventcontext id=\"text\" usecurrent=\"0\" gradientdrag=\"1\"\n" |
