1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
|
!----------------------------------------------------------------------------
! for now, while hacking
xpcd.geometry: x100
!----------------------------------------------------------------------------
! general (colors)
*font: -*-new century schoolbook-bold-r-normal-*-12-*
*beNiceToColormap: False
Xpcd-2*Form.background: #e0e0e0
Xpcd-2*Box.background: #e0e0e0
Xpcd-2*Label.background: #e0e0e0
Xpcd-2*Dialog.background: #e0e0e0
Xpcd-2*Scrollbar.background: gray
Xpcd-2*Toggle.background: gray
Xpcd-2*Command.background: gray
Xpcd-2*Viewport.background: gray
Xpcd-2*MenuButton.background: gray
Xpcd-2*SimpleMenu.background: gray
Xpcd-2*SmeBSB.background: gray
Xpcd-2*Label.borderWidth: 0
Xpcd-2*Command.width: 100
! icon pixmap size
Xpcd-2.ix: 48
Xpcd-2.iy: 48
!----------------------------------------------------------------------------
! cool 3D-Buttons on mouseover, works with Xaw3d only
Xpcd-2*MenuButton.translations: #override \n\
<EnterWindow>: SetShadowWidth(2) \n\
<LeaveWindow>: SetShadowWidth(0) reset()
Xpcd-2*MenuButton.shadowWidth: 0
Xpcd-2*MenuButton.internalWidth: 4
Xpcd-2*MenuButton.internalHeight: 3
! not for the thumbnail buttons
Xpcd-2*Dialog*Command.translations: #override\n\
<EnterWindow>: SetShadowWidth(2)\n\
<LeaveWindow>: SetShadowWidth(0) reset()
Xpcd-2*Dialog*Command.borderWidth: 1
Xpcd-2*Dialog*Command.shadowWidth: 0
Xpcd-2*Dialog*Command.internalWidth: 4
Xpcd-2*Dialog*Command.internalHeight: 3
Xpcd-2*Form*Command.translations: #override\n\
<EnterWindow>: SetShadowWidth(2)\n\
<LeaveWindow>: SetShadowWidth(0) reset()
Xpcd-2*Form*Command.borderWidth: 1
Xpcd-2*Form*Command.shadowWidth: 0
Xpcd-2*Form*Command.internalWidth: 4
Xpcd-2*Form*Command.internalHeight: 3
Xpcd-2*Toggle.translations: #override\n\
<EnterWindow>: SetShadowWidth(2)\n\
<LeaveWindow>: SetShadowWidth(0)
Xpcd-2*Toggle.borderWidth: 1
Xpcd-2*Toggle.shadowWidth: 0
Xpcd-2*Toggle.internalWidth: 4
Xpcd-2*Toggle.internalHeight: 3
!----------------------------------------------------------------------------
! main window
xpcd.main.body.background: lightyellow
*main.menu.hSpace: 0
*main.menu.vSpace: 0
*main.menu*view*leftMargin: 10
*main.menu*opt*leftMargin: 10
xpcd.translations: #override \n\
<PropertyNotify>: Ipc() \n\
<Message>WM_PROTOCOLS: CloseAll()
Xpcd-2.str_about_title: About
Xpcd-2.str_about_label: \
This is xpcd 2.04, a program for reading PhotoCD images. \n\
Copyright (C) 1997 Gerd Knorr <kraxel@cs.tu-berlin.de> \n\
\n\
If you like this Program, please send me your favorite Photo. Well, \n\
NOT as uuencoded JPEG, as I want to pin it at my pinboard. Just take \n\
a stamp, put it on the Photo (backside of cource) and send it to: \n\
Gerd Knorr \n\
Dirschauer Str. 6 \n\
D-10245 Berlin \n\
Germany \n\
\n\
This program is free software; you can redistribute it and/or modify \n\
it under the terms of the GNU General Public License as published by \n\
the Free Software Foundation; either version 2 of the License, or \n\
(at your option) any later version. \n\
\n\
This program is distributed in the hope that it will be useful, \n\
but WITHOUT ANY WARRANTY; without even the implied warranty of \n\
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n\
GNU General Public License for more details. \n\
\n\
You should have received a copy of the GNU General Public License \n\
along with this program; if not, write to the Free Software \n\
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!----------------------------------------------------------------------------
! thumbnails
thumbnails.geometry: 570x400
thumbnails.viewport.useRight: True
thumbnails*Box.background: gray
thumbnails*Box.Command.background: gray
thumbnails*Box.Command.foreground: red
thumbnails*Box.Command.highlightThickness: 3
thumbnails*Box.Command.shadowWidth: 0
thumbnails.viewport.Box*translations: #override \n\
<Btn2Down>: DragScroll() \n\
<Btn2Motion>: DragScroll()
!----------------------------------------------------------------------------
! image
*menu.s1.label: 192 x 128
*menu.s2.label: 384 x 256
*menu.s3.label: 768 x 512
*menu.s4.label: 1536 x 1024
*menu.s5.label: 3072 x 2048
image*menu.translations: #override \n\
<Motion>: highlight()
!----------------------------------------------------------------------------
! internal viewer
viewer.viewport.useRight: True
viewer.viewport.useBottom: True
viewer*menu.translations: #override \n\
<Motion>: highlight()
viewer.viewport.label.translations: #override \n\
<Btn1Down>: DragScroll() \n\
<Btn1Motion>: DragScroll() \n\
<Btn2Down>: DragScroll() \n\
<Btn2Motion>: DragScroll()
viewer.geometry: 800x650
!--------------------------------------------------------------------------
! histogramm dialog box
*hist.form.label.justify: left
*hist.form.red.foreground: red
*hist.form.green.foreground: green
*hist.form.blue.foreground: blue
*hist.form.red2.foreground: red
*hist.form.green2.foreground: green
*hist.form.blue2.foreground: blue
*hist.form.Toggle.vertDistance: 10
*hist.form.Command.vertDistance: 10
*hist.form.Label.vertDistance: 10
*hist.form.red.accelerators: #override\n\
<Key>r: toggle()notify()
*hist.form.green.accelerators: #override\n\
<Key>g: toggle()notify()
*hist.form.blue.accelerators: #override\n\
<Key>b: toggle()notify()
*hist.form.ok.accelerators: #override\n\
<Key>Return: set()notify()unset()
*hist.form.cancel.accelerators: #override\n\
<Key>q: set()notify()unset() \n\
<Key>Escape: set()notify()unset()
*hist.accelerators: #override\n\
<Key>F1: Help() \n\
<Key>h: Help()
!--------------------------------------------------------------------------
! toolbox.c dialogs.
*Dialog.label.justify: left
!*Dialog.label.width: 300
*Dialog.value.width: 300
*Dialog*resizable: True
!--------------------------------------------------------------------------
! help window
*popup_help.help.ok.accelerators: #override\n\
<Key>q: set()notify()unset() \n\
<Key>Return: set()notify()unset() \n\
<Key>Escape: set()notify()unset()
!*popup_help*label.background: white
!*popup_help*label.borderWidth: 1
!*popup_help*label.borderColor: black
!--------------------------------------------------------------------------
! keyboard handling
*Dialog.ok.accelerators: #override \n\
<Key>Return: set()notify()unset()
*Dialog.cancel.accelerators: #override \n\
<Key>Escape: set()notify()unset()
*Dialog.value.translations: #override \n\
<Key>Tab: Complete()
*Viewport.horizontal.translations: #override \n\
Ctrl<Key>Left: KbdScroll(left,50) EndScroll()\n\
Ctrl<Key>Right: KbdScroll(right,50) EndScroll()\n\
<Key>Left: KbdScroll(left,10) EndScroll()\n\
<Key>Right: KbdScroll(right,10) EndScroll()
*Viewport.vertical.translations: #override \n\
Ctrl<Key>Up: KbdScroll(up,50) EndScroll()\n\
Ctrl<Key>Down: KbdScroll(down,50) EndScroll()\n\
<Key>Up: KbdScroll(up,10) EndScroll()\n\
<Key>Down: KbdScroll(down,10) EndScroll()\n\
<Key>Page_Up: KbdScroll(up,90) EndScroll()\n\
<Key>Page_Down: KbdScroll(down,90) EndScroll()
*Viewport.horizontal.accelerators: #override \n\
Ctrl<Key>Left: KbdScroll(left,50) EndScroll()\n\
Ctrl<Key>Right: KbdScroll(right,50) EndScroll()\n\
<Key>Left: KbdScroll(left,10) EndScroll()\n\
<Key>Right: KbdScroll(right,10) EndScroll()
*Viewport.vertical.accelerators: #override \n\
Ctrl<Key>Up: KbdScroll(up,50) EndScroll()\n\
Ctrl<Key>Down: KbdScroll(down,50) EndScroll()\n\
<Key>Up: KbdScroll(up,10) EndScroll()\n\
<Key>Down: KbdScroll(down,10) EndScroll()\n\
<Key>Page_Up: KbdScroll(up,90) EndScroll()\n\
<Key>Page_Down: KbdScroll(down,90) EndScroll()
xpcd.accelerators: #override\n\
<Key>q: CloseAll() \n\
<Key>F1: Help() \n\
<Key>h: Help()
thumbnails.accelerators: #override\n\
<Key>q: CloseFile() \n\
<Key>F1: Help() \n\
<Key>h: Help()
image.accelerators: #override\n\
<Key>q: CloseFile() \n\
<Key>F1: Help() \n\
<Key>h: Help()
viewer.accelerators: #override\n\
<Key>q: CloseFile() \n\
<Key>F1: Help() \n\
<Key>h: Help()
! that's all
!--------------------------------------------------------------------------
|