summaryrefslogtreecommitdiffstats
path: root/src/pixmaps
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2013-07-04 22:58:42 +0000
committerMartin Owens <doctormo@gmail.com>2013-07-04 22:58:42 +0000
commit6c31882fb2319fcbfbc3e17ac368deac2edd2e79 (patch)
tree4facc581f0dc31fb55732a9e7e1695966862bb37 /src/pixmaps
parentMake handle colour a configurable property. (diff)
downloadinkscape-6c31882fb2319fcbfbc3e17ac368deac2edd2e79.tar.gz
inkscape-6c31882fb2319fcbfbc3e17ac368deac2edd2e79.zip
Improve handle xpm loading using rotate
(bzr r12401.1.1)
Diffstat (limited to 'src/pixmaps')
-rw-r--r--src/pixmaps/handles.xpm178
1 files changed, 9 insertions, 169 deletions
diff --git a/src/pixmaps/handles.xpm b/src/pixmaps/handles.xpm
index f2afa026b..b61ad377c 100644
--- a/src/pixmaps/handles.xpm
+++ b/src/pixmaps/handles.xpm
@@ -1,5 +1,5 @@
-/* XPM */
-static char const *handle_scale_nw_xpm[] = {
+/* XPM North-West */
+static char const *handle_scale_xpm[] = {
"13 13 3 1",
" c None",
". c #000000",
@@ -18,28 +18,8 @@ static char const *handle_scale_nw_xpm[] = {
" ....... ",
" "};
-/* XPM */
-static char const *handle_scale_ne_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" ",
-" ....... ",
-" ..+++. ",
-" .++++. ",
-" .+++++. ",
-" . .+++++.. ",
-" ...+++++... ",
-" ..+++++. . ",
-" .+++++. ",
-" .++++. ",
-" .+++.. ",
-" ....... ",
-" "};
-
-/* XPM */
-static char const *handle_scale_h_xpm[] = {
+/* XPM Vertical */
+static char const *handle_stretch_xpm[] = {
"13 13 3 1",
" c None",
". c #000000",
@@ -58,28 +38,8 @@ static char const *handle_scale_h_xpm[] = {
" ",
" "};
-/* XPM */
-static char const *handle_scale_v_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" ... ",
-" ..+.. ",
-" ..+++.. ",
-" ..+++++.. ",
-" .+++. ",
-" .+++. ",
-" .+++. ",
-" ..+++++.. ",
-" ..+++.. ",
-" ..+.. ",
-" ... ",
-" . "};
-
-/* XPM */
-static char const *handle_rotate_nw_xpm[] = {
+/* XPM North-West */
+static char const *handle_rotate_xpm[] = {
"13 13 3 1",
" c None",
". c #000000",
@@ -98,8 +58,8 @@ static char const *handle_rotate_nw_xpm[] = {
" ... ",
" . "};
-/* XPM */
-static char const *handle_rotate_n_xpm[] = {
+/* XPM North */
+static char const *handle_skew_xpm[] = {
"13 13 3 1",
" c None",
". c #000000",
@@ -119,127 +79,6 @@ static char const *handle_rotate_n_xpm[] = {
" "};
/* XPM */
-static char const *handle_rotate_ne_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" .. ",
-" .... ",
-" ..++... ",
-"..++++++. ",
-" .+++++++. ",
-" .+..++++. ",
-" . .+++. ",
-" .+++...",
-" .++++.. ",
-" .++.. ",
-" ... ",
-" . "};
-
-/* XPM */
-static char const *handle_rotate_e_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" ... ",
-" ..+.. ",
-" ..+++.. ",
-" ...+++...",
-" .+++. ",
-" .+++. ",
-" .+++. ",
-" ...+++...",
-" ..+++.. ",
-" ..+.. ",
-" ... ",
-" . "};
-
-/* XPM */
-static char const *handle_rotate_se_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" ... ",
-" .++.. ",
-" .++++.. ",
-" .+++...",
-" . .+++. ",
-" .+..++++. ",
-" .+++++++. ",
-"..++++++. ",
-" ..++... ",
-" .... ",
-" .. ",
-" . "};
-
-
-/* XPM */
-static char const *handle_rotate_s_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" ",
-" ",
-" ",
-" ",
-" . . ",
-" .. .. ",
-" ......... ",
-" ..+++++++.. ",
-"..+++++++++..",
-" ..+++++++.. ",
-" ......... ",
-" .. .. ",
-" . . "};
-
-/* XPM */
-static char const *handle_rotate_sw_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" ... ",
-" ..++. ",
-" ..++++. ",
-"...+++. ",
-" .+++. . ",
-" .++++..+. ",
-" .+++++++. ",
-" .++++++..",
-" ...++.. ",
-" .... ",
-" .. ",
-" . "};
-
-/* XPM */
-static char const *handle_rotate_w_xpm[] = {
-"13 13 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" . ",
-" ... ",
-" ..+.. ",
-" ..+++.. ",
-"...+++... ",
-" .+++. ",
-" .+++. ",
-" .+++. ",
-"...+++. . ",
-" ..+++.. ",
-" ..+.. ",
-" ... ",
-" . "};
-
-/* XPM */
static char const *handle_center_xpm[] = {
"13 13 3 1",
" c None",
@@ -258,3 +97,4 @@ static char const *handle_center_xpm[] = {
" . ",
" . ",
" "};
+