From 179fa413b047bede6e32109e2ce82437c5fb8d34 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 16 Jan 2006 02:36:01 +0000 Subject: moving trunk for module inkscape (bzr r1) --- share/ui/.cvsignore | 2 + share/ui/Makefile.am | 11 ++ share/ui/keybindings.rc | 126 ++++++++++++++++++++++ share/ui/menus-bars.xml | 280 ++++++++++++++++++++++++++++++++++++++++++++++++ share/ui/toolbox.xml | 13 +++ share/ui/units.txt | 20 ++++ share/ui/units.xml | 101 +++++++++++++++++ 7 files changed, 553 insertions(+) create mode 100644 share/ui/.cvsignore create mode 100644 share/ui/Makefile.am create mode 100644 share/ui/keybindings.rc create mode 100644 share/ui/menus-bars.xml create mode 100644 share/ui/toolbox.xml create mode 100644 share/ui/units.txt create mode 100644 share/ui/units.xml (limited to 'share/ui') diff --git a/share/ui/.cvsignore b/share/ui/.cvsignore new file mode 100644 index 000000000..282522db0 --- /dev/null +++ b/share/ui/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/share/ui/Makefile.am b/share/ui/Makefile.am new file mode 100644 index 000000000..d65668115 --- /dev/null +++ b/share/ui/Makefile.am @@ -0,0 +1,11 @@ + +uidir = $(datadir)/inkscape/ui + +ui_DATA = \ + keybindings.rc \ + menus-bars.xml \ + toolbox.xml \ + units.txt \ + units.xml + +EXTRA_DIST = $(ui_DATA) diff --git a/share/ui/keybindings.rc b/share/ui/keybindings.rc new file mode 100644 index 000000000..968678249 --- /dev/null +++ b/share/ui/keybindings.rc @@ -0,0 +1,126 @@ +; inkscape GtkAccelMap rc-file -*- scheme -*- +; Simply edit the key bindings you wish to override and restart Inkscape. +; +; File menu +;TODO: VacuumDefs +(gtk_accel_path "//New" "n") +(gtk_accel_path "//Open" "o") +(gtk_accel_path "//Revert" "r") +(gtk_accel_path "//Save" "s") +(gtk_accel_path "//SaveAs" "s") +(gtk_accel_path "//Import" "i") +(gtk_accel_path "//Export" "e") +(gtk_accel_path "//Print" "p") +(gtk_accel_path "//PrintPreview" "p") +(gtk_accel_path "//DocumentProperties" "d") +(gtk_accel_path "//InkscapePreferences" "p") +(gtk_accel_path "//Close" "w") +(gtk_accel_path "//Quit" "q") +; +; Edit menu +(gtk_accel_path "//Undo" "z") +(gtk_accel_path "//Redo" "y") +(gtk_accel_path "//Cut" "x") +(gtk_accel_path "//Copy" "c") +(gtk_accel_path "//Paste" "v") +(gtk_accel_path "//PasteInPlace" "v") +(gtk_accel_path "//PasteStyle" "v") +(gtk_accel_path "//Find" "f") +(gtk_accel_path "//Duplicate" "d") +(gtk_accel_path "//Clone" "d") +(gtk_accel_path "//CloneUnlink" "d") +(gtk_accel_path "//CloneSelectOrig" "d") +(gtk_accel_path "//MakeBitmap" "b") +(gtk_accel_path "//Tile" "i") +(gtk_accel_path "//Untile" "i") +(gtk_accel_path "//Delete" "Delete") +(gtk_accel_path "//SelectAll" "a") +(gtk_accel_path "//SelectNone" "a") +(gtk_accel_path "//XmlEditor" "x") +; +; View menu +;TODO: ShowHide Messages WindowDuplicate +(gtk_accel_path "//ZoomIn" "plus") +(gtk_accel_path "//ZoomOut" "minus") +(gtk_accel_path "//Zoom100" "1") +(gtk_accel_path "//Zoom50" "2") +(gtk_accel_path "//Zoom200" "") +(gtk_accel_path "//ZoomSelection" "3") +(gtk_accel_path "//ZoomDrawing" "4") +(gtk_accel_path "//ZoomPage" "5") +(gtk_accel_path "//ZoomWidth" "6") +(gtk_accel_path "//ZoomPrevious" "grave") +(gtk_accel_path "//ZoomNext" "grave") +(gtk_accel_path "//ShowHideDialogs" "F12") +(gtk_accel_path "//Messages" "") +(gtk_accel_path "//Grid" "numbersign") +(gtk_accel_path "//Guides" "bar") +(gtk_accel_path "//Fullscreen" "F11") +(gtk_accel_path "//WindowPrevious" "Tab") +(gtk_accel_path "//WindowNext" "Tab") +; +; Layer menu +;TODO: NewLayer RenameLayer SwitchToNextLayer SwitchToPrevLayer DeleteCurrentLayer +(gtk_accel_path "//RaiseLayer" "Page_Up") +(gtk_accel_path "//LowerLayer" "Page_Down") +(gtk_accel_path "//LayerToTop" "Home") +(gtk_accel_path "//LayerToBottom" "End") +; +; Object menu +;TODO: MoveToNewLayer MoveToNextLayer MoveToPrevLayer MoveToTopLayer MoveToBottomLayer +(gtk_accel_path "//FillAndStroke" "f") +(gtk_accel_path "//ObjectProperties" "o") +(gtk_accel_path "//Group" "g") +(gtk_accel_path "//Ungroup" "u") +(gtk_accel_path "//Raise" "Page_Up") +(gtk_accel_path "//Lower" "Page_Down") +(gtk_accel_path "//RaiseToTop" "Home") +(gtk_accel_path "//LowerToBottom" "End") +(gtk_accel_path "//Rotate90CW" "Right") +(gtk_accel_path "//Rotate90CCW" "Left") +(gtk_accel_path "//FlipHoriz" "h") +(gtk_accel_path "//FlipVert" "v") +(gtk_accel_path "//Transform" "m") +(gtk_accel_path "//AlignAndDistribute" "a") +; +; Path menu +;TODO: Reverse Cleanup +(gtk_accel_path "//ObjectToPath" "c") +(gtk_accel_path "//StrokeToPath" "c") +(gtk_accel_path "//Trace" "b") +(gtk_accel_path "//Union" "plus") +(gtk_accel_path "//Difference" "minus") +(gtk_accel_path "//Intersection" "asterisk") +(gtk_accel_path "//Exclusion" "asciicircum") +(gtk_accel_path "//Division" "slash") +(gtk_accel_path "//CutPath" "slash") +(gtk_accel_path "//Combine" "k") +(gtk_accel_path "//BreakApart" "k") +(gtk_accel_path "//Inset" "parenleft") +(gtk_accel_path "//Outset" "parenright") +(gtk_accel_path "//OffsetDynamic" "j") +(gtk_accel_path "//OffsetLinked" "j") +(gtk_accel_path "//Simplify" "l") +; +; Text menu +;TODO: PutOnPath RemoveFromPath RemoveManualKerns +(gtk_accel_path "//TextProperties" "t") +; +; About menu +;TODO: KeysAndMouse Tutorials About +; +; Tools toolbox +(gtk_accel_path "//ToolSelect" "F1") +(gtk_accel_path "//ToolNode" "F2") +(gtk_accel_path "//ToolZoom" "F3") +(gtk_accel_path "//ToolRect" "F4") +(gtk_accel_path "//ToolArc" "F5") +(gtk_accel_path "//ToolStar" "asterisk") +(gtk_accel_path "//ToolSpiral" "F9") +(gtk_accel_path "//ToolFreehand" "F6") +(gtk_accel_path "//ToolPen" "F6") +(gtk_accel_path "//ToolDynaDraw" "F6") +(gtk_accel_path "//ToolText" "F8") +(gtk_accel_path "//ToolDropper" "F7") +; +;TODO: tool controls and other actions diff --git a/share/ui/menus-bars.xml b/share/ui/menus-bars.xml new file mode 100644 index 000000000..ceb9aaa50 --- /dev/null +++ b/share/ui/menus-bars.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/ui/toolbox.xml b/share/ui/toolbox.xml new file mode 100644 index 000000000..53994651f --- /dev/null +++ b/share/ui/toolbox.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/share/ui/units.txt b/share/ui/units.txt new file mode 100644 index 000000000..a82cec529 --- /dev/null +++ b/share/ui/units.txt @@ -0,0 +1,20 @@ +# Simple unit configuration file +# +# This is a space-delimited list of unit definitions. + +# name name_plural abbr type factor PRI description +# --------------------------------------------------------------------------- + % % % DIMENSIONLESS 1.00 Y Percentage + pixel pixels px LINEAR 1.00 Y CSS Pixels (90/inch) + point points pt LINEAR 1.25 N PostScript points (72/inch) + pica picas pc LINEAR 15.0 N 12 points + inch inches in LINEAR 90.0 N Inches (90 px/in) + millimeter millimeters mm LINEAR 3.543307 N Millimeters (25.4 mm/in) + centimeter centimeters cm LINEAR 35.43307 N Centimeters (10 mm/cm) + meter meters m LINEAR 3543.307 N Meters (100 cm/m) + foot feet ft LINEAR 1080 N Feet (12 in/ft) + degree degrees deg RADIAL 1.00 Y Degrees + radian radians rad RADIAL 57.296 N Radians (57.296 deg/rad) + font-height font-heights em FONT_HEIGHT 1.00 Y Font height + x-height x-heights ex FONT_HEIGHT 0.50 N Height of letter 'x' + half-em half-ems en FONT_HEIGHT 0.50 N Half of font height diff --git a/share/ui/units.xml b/share/ui/units.xml new file mode 100644 index 000000000..e4a07fe06 --- /dev/null +++ b/share/ui/units.xml @@ -0,0 +1,101 @@ + + + + % + % + % + 1.00 + Percentage + + + pixel + pixels + px + 1.00 + CSS Pixels (90/inch) + + + point + points + pt + 1.25 + PostScript points (72/inch) + + + pica + picas + pc + 15.0 + 12 points + + + inch + inches + in + 90.0 + Inches (90 px/in) + + + millimeter + millimeters + mm + 3.543307 + Millimeters (25.4 mm/in) + + + centimeter + centimeters + cm + 35.43307 + Centimeters (10 mm/cm) + + + meter + meters + m + 3543.307 + Meters (100 cm/m) + + + foot + feet + ft + 1080 + Feet (12 in/ft) + + + degree + degrees + deg + 1.00 + Degrees + + + radian + radians + rad + 57.296 + Radians (57.296 deg/rad) + + + font-height + font-heights + em + 1.00 + Font height + + + x-height + x-heights + ex + 0.50 + Height of letter 'x' + + + half-em + half-ems + en + 0.50 + Half of font height + + -- cgit v1.2.3