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