Home | History | Annotate | Line # | Download | only in app-defaults
      1 !
      2 !
      3 ! The App-defaults file for Bitmap for use on file systems
      4 ! that are not case sensitive.
      5 
      6 *TransientShell.allowShellResize:	True
      7 *shapeStyle:				oval
      8 *cursor:				left_ptr
      9 *pane.orientation:			horizontal
     10 
     11 *Form*top:				ChainTop
     12 *Form*bottom:				ChainTop
     13 *Form*left:				ChainLeft
     14 *Form*right:				ChainLeft
     15 
     16 *MenuButton.leftBitmap:			menu12
     17 *form*width:              		120
     18 *form*height:             		15
     19 
     20 *baseTranslations:#override\
     21 			Ctrl<Key>c:	do-quit()\n\
     22 			<Key>q:		do-quit()\n\
     23 			Ctrl<Key>n:	do-new()\n\
     24 			Ctrl<Key>f:	do-load()\n\
     25 			Ctrl<Key>i:	do-insert()\n\
     26 			Ctrl<Key>s:	do-save()\n\
     27 			Ctrl<Key>w:	do-save-as()\n\
     28 			Ctrl<Key>r:	do-resize()\n\
     29 			Ctrl<Key>x:	do-rescale()\n\
     30 			Ctrl<Key>e:	do-filename()\n\
     31 			Ctrl<Key>b:	do-basename()\n\
     32 			Meta<Key>i:	switch-image()\n\
     33 			Meta<Key>g:	switch-grid()\n\
     34 			Meta<Key>d:	switch-dashed()\n\
     35 			Meta<Key>a:	switch-axes()\n\
     36 			Meta<Key>s:	switch-stippled()\n\
     37 			Meta<Key>p:	switch-proportional()\n\
     38 			Meta<Key>z:	switch-zoom()\n\
     39 			Meta<Key>c:	do-cut()\n\
     40 			Meta<Key>w:	do-copy()\n\
     41 			Meta<Key>y:	do-paste()
     42 
     43 
     44 *Toggle.translations:	<EnterWindow>:		highlight(WhenUnset)\n\
     45 			<LeaveWindow>:		unhighlight()\n\
     46 			<Btn1Down>,<Btn1Up>: 	set() notify()
     47 
     48 *MenuButton.translations:<EnterWindow>:		highlight()\n\
     49 			<LeaveWindow>:  	reset()\n\
     50 			Any<BtnDown>:  		reset() fix-menu() PopupMenu()
     51 
     52 *Dialog*baseTranslations:#override\
     53 			<Key>Return:	set-dialog-button(okay, yes, retry)\n\
     54 			Ctrl<Key>g:	set-dialog-button(cancel, abort)
     55 *image*baseTranslations:#override\
     56 			<Btn1Down>,<Btn1Up>:	switch-image()
     57 *image*width: 0
     58 *image*height: 0
     59 *image*Label.internalWidth: 0
     60 *image*Label.internalHeight: 0
     61 *image*normalImage.foreground: white
     62 *image*normalImage.background: black
     63 *image*invertedImage.foreground: black
     64 *image*invertedImage.background: white
     65 
     66 *bitmap.cursor:           		tcross
     67 *bitmap.dashes:				Dashes
     68 *bitmap.stipple:			Stippler
     69 *bitmap.stippled:			on
     70 
     71 *TransientShell.width:			300
     72 
     73 *input*icon:				Term
     74 *qsave*icon:				Term
     75 *error*icon:				Excl
     76 *Dialog.yes.label:			Yes
     77 *Dialog.no.label:			No
     78 *Dialog.okay.label:			OK
     79 *Dialog.abort.label:			Abort
     80 *Dialog.cancel.label:			Cancel
     81 *Dialog.retry.label:			Retry
     82 
     83 *MenuButton.width:			58
     84 
     85 *SimpleMenu.width:			0
     86 *SimpleMenu.height:			0
     87 *SimpleMenu.cursor:			hand2
     88 *SimpleMenu.line.height:		0
     89 
     90 *fileButton.label:			File
     91 *fileButton.menuName:			fileMenu
     92 
     93 *editButton.label:			Edit
     94 *editButton.fromHoriz: 			fileButton
     95 *editButton.menuName:			editMenu
     96 
     97 *formy.status*top:			ChainTop
     98 *formy.status*bottom:			ChainTop
     99 *formy.status*left:			ChainLeft
    100 *formy.status*right:			ChainRight
    101 *status.fromHoriz:			editButton
    102 *status.borderWidth:			0
    103 
    104 *SmeBSB.HorizontalMargins:		32
    105 
    106 *fileMenu.new.label:			New (Ctrl-N)...
    107 *fileMenu.load.label:			Load (Ctrl-F)...
    108 *fileMenu.insert.label:			Insert (Ctrl-I)...
    109 *fileMenu.save.label:			Save (Ctrl-S)
    110 *fileMenu.saveAs.label:			Save As (Ctrl-W)...
    111 *fileMenu.resize.label:			Resize (Ctrl-R)...
    112 *fileMenu.rescale.label:		Rescale (Ctrl-X)...
    113 *fileMenu.filename.label:		Filename (Ctrl-E)...
    114 *fileMenu.basename.label:		Basename (Ctrl-B)...
    115 *fileMenu.quit.label:			Quit (Ctrl-C, Q)
    116 
    117 *editMenu.image.label:			Image (Meta-I)
    118 *editMenu.grid.label:			Grid (Meta-G)
    119 *editMenu.dashed.label:			Dashed (Meta-D)
    120 *editMenu.axes.label:			Axes (Meta-A)
    121 *editMenu.stippled.label:		Stippled (Meta-S)
    122 *editMenu.proportional.label:		Proportional (Meta-P)
    123 *editMenu.zoom.label:			Zoom (Meta-Z)
    124 *editMenu.cut.label:			Cut (Meta-C)
    125 *editMenu.copy.label:			Copy (Meta-W)
    126 *editMenu.paste.label:			Paste (Meta-Y, Ctrl-mb)
    127 
    128 *form.clear.label:			Clear
    129 *form.set.fromVert: 			clear
    130 *form.set.label:			Set
    131 *form.invert.fromVert: 			set
    132 *form.invert.label:			Invert
    133 
    134 *form.mark.vertDistance:		10
    135 *form.mark.fromVert:			invert
    136 *form.mark.label:			Mark
    137 *form.unmark.fromVert:              	mark
    138 *form.unmark.label:			Unmark
    139 
    140 *form.copy.vertDistance:		10
    141 *form.copy.fromVert: 			unmark
    142 *form.copy.radioGroup:			mark
    143 *form.copy.label:			Copy
    144 *form.move.fromVert: 			copy
    145 *form.move.radioGroup:			copy
    146 *form.move.label:			Move
    147 
    148 *form.flipHoriz.vertDistance:		10
    149 *form.flipHoriz.width:			36
    150 *form.flipHoriz.height:			36
    151 *form.flipHoriz.fromVert: 		move
    152 *form.flipHoriz.bitmap:			FlipHoriz
    153 *form.up.vertDistance:			10
    154 *form.up.width:				36
    155 *form.up.height:			36
    156 *form.up.fromVert: 			move
    157 *form.up.fromHoriz:			flipHoriz
    158 *form.up.bitmap:			Up
    159 *form.flipVert.vertDistance:		10
    160 *form.flipVert.width:			36
    161 *form.flipVert.height:			36
    162 *form.flipVert.fromVert: 		move
    163 *form.flipVert.fromHoriz:		up
    164 *form.flipVert.bitmap:			FlipVert
    165 *form.left.width:			36
    166 *form.left.height:			36
    167 *form.left.fromVert: 			flipHoriz
    168 *form.left.bitmap:			Left
    169 *form.fold.width:			36
    170 *form.fold.height:			36
    171 *form.fold.fromVert: 			up
    172 *form.fold.fromHoriz: 			left
    173 *form.fold.bitmap:			Fold
    174 *form.right.width:			36
    175 *form.right.height:			36
    176 *form.right.fromVert: 			flipVert
    177 *form.right.fromHoriz: 			fold
    178 *form.right.bitmap:			Right
    179 *form.rotateLeft.width:			36
    180 *form.rotateLeft.height:		36
    181 *form.rotateLeft.fromVert:		left
    182 *form.rotateLeft.bitmap:		RotateLeft
    183 *form.down.width:			36
    184 *form.down.height:			36
    185 *form.down.fromVert: 			fold
    186 *form.down.fromHoriz: 			rotateLeft
    187 *form.down.bitmap:			Down
    188 *form.rotateRight.width:		36
    189 *form.rotateRight.height:		36
    190 *form.rotateRight.fromVert:		right
    191 *form.rotateRight.fromHoriz:		down
    192 *form.rotateRight.bitmap:		RotateRight
    193 
    194 *form.point.vertDistance:		10
    195 *form.point.fromVert: 			rotateLeft
    196 *form.point.radioGroup:  		move
    197 *form.point.label:			Point
    198 *form.curve.fromVert: 			point
    199 *form.curve.radioGroup:  		point
    200 *form.curve.label:			Curve
    201 *form.line.fromVert: 			curve
    202 *form.line.radioGroup: 			curve
    203 *form.line.label:			Line
    204 *form.rectangle.fromVert: 		line
    205 *form.rectangle.radioGroup:  		line
    206 *form.rectangle.label:			Rectangle
    207 *form.filledRectangle.fromVert: 	rectangle
    208 *form.filledRectangle.radioGroup:  	rectangle
    209 *form.filledRectangle.label:		Filled Rectangle
    210 *form.circle.fromVert: 			filledRectangle
    211 *form.circle.radioGroup:  		filledRectangle
    212 *form.circle.label:			Circle
    213 *form.filledCircle.fromVert: 		circle
    214 *form.filledCircle.radioGroup:  	circle
    215 *form.filledCircle.label:		Filled Circle
    216 *form.floodFill.fromVert:		filledCircle
    217 *form.floodFill.radioGroup:  		filledCircle
    218 *form.floodFill.label:			Flood Fill
    219 
    220 *form.setHotSpot.vertDistance:		10
    221 *form.setHotSpot.fromVert: 		floodFill
    222 *form.setHotSpot.radioGroup:  		floodFill
    223 *form.setHotSpot.label:			Set Hot Spot
    224 *form.clearHotSpot.fromVert: 		setHotSpot
    225 *form.clearHotSpot.label:		Clear Hot Spot
    226 
    227 *form.undo.vertDistance:		10
    228 *form.undo.fromVert:			clearHotSpot
    229 *form.undo.label:			Undo
    230 
    231 
    232