222 lines
8.9 KiB
Plaintext
222 lines
8.9 KiB
Plaintext
! Ghostview.ad -- Application defaults file for ghostview.
|
|
! Copyright (C) 1992 Timothy O. Theisen
|
|
!
|
|
! This program is free software; you can redistribute it and/or modify
|
|
! it under the terms of the GNU General Public License as published by
|
|
! the Free Software Foundation; either version 2 of the License, or
|
|
! (at your option) any later version.
|
|
!
|
|
! This program is distributed in the hope that it will be useful,
|
|
! but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
! GNU General Public License for more details.
|
|
!
|
|
! You should have received a copy of the GNU General Public License
|
|
! along with this program; if not, write to the Free Software
|
|
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
!
|
|
! Author: Tim Theisen Systems Programmer
|
|
! Internet: tim@cs.wisc.edu Department of Computer Sciences
|
|
! UUCP: uwvax!tim University of Wisconsin-Madison
|
|
! Phone: (608)262-0438 1210 West Dayton Street
|
|
! FAX: (608)262-9777 Madison, WI 53706
|
|
|
|
! All of the button labels and actions are determined in this file.
|
|
! It should be easy to adapt to any language.
|
|
! To use a different version of ghostscript, you can add the resource
|
|
! *Ghostview.interpreter: /my/very/own/gs
|
|
|
|
*input: True
|
|
*allowShellResize: True
|
|
*ShapeStyle: Oval
|
|
*Font: -adobe-new century schoolbook-medium-r-normal--*-140-*-*-p-*-iso8859-1
|
|
*Text*Font: -adobe-courier-medium-r-normal--*-140-*-*-m-*-iso8859-1
|
|
*ghostviewButton.Label: Ghostview
|
|
*copyright.Label: Copyright...
|
|
*quit.Label: Quit
|
|
*fileButton.Label: File
|
|
*open.Label: Open...
|
|
*reopen.Label: Reopen
|
|
*printwhole.Label: Print...
|
|
*printmarked.Label: Print marked pages...
|
|
*save.Label: Save marked pages...
|
|
*pageButton.Label: Page
|
|
*next.Label: Next
|
|
*show.Label: Redisplay
|
|
*prev.Label: Previous
|
|
*center.Label: Center
|
|
*mark.Label: Mark
|
|
*unmark.Label: Unmark
|
|
*magstepButton.Label: Magstep
|
|
*orientationButton.Label: Orientation
|
|
*portrait.Label: Portrait
|
|
*landscape.Label: Landscape
|
|
*upsidedown.Label: Upside-down
|
|
*seascape.Label: Seascape
|
|
*swap.Label: Swap Landscape
|
|
*pagemediaButton.Label: Media
|
|
*pageview.useBottom: True
|
|
*pageview.useRight: True
|
|
*SimpleMenu.baseTranslations: #replace \n\
|
|
<EnterWindow>: highlight() \n\
|
|
<LeaveWindow>: unhighlight() \n\
|
|
<BtnMotion>: highlight() \n\
|
|
<Btn2Up>: MenuPopdown() GhostviewForce() notify() unhighlight() \n\
|
|
<BtnUp>: MenuPopdown() GhostviewDefault() notify() unhighlight()
|
|
*SimpleMenu.Translations: #replace \n\
|
|
<EnterWindow>: highlight() \n\
|
|
<LeaveWindow>: unhighlight() \n\
|
|
<BtnMotion>: highlight() \n\
|
|
<Btn2Up>: MenuPopdown() GhostviewForce() notify() unhighlight() \n\
|
|
<BtnUp>: MenuPopdown() GhostviewDefault() notify() unhighlight()
|
|
*okay.Label: Okay
|
|
*cancel.Label: Cancel
|
|
*dismiss.Label: Dismiss
|
|
*Ghostview.busyCursor: target
|
|
Ghostview.baseTranslations: #replace \n\
|
|
<MapNotify>: GhostviewCheckFile() \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDeleteWindow()
|
|
Ghostview.Translations: #replace \n\
|
|
<MapNotify>: GhostviewCheckFile() \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDeleteWindow()
|
|
*TopLevelShell.baseTranslations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDismiss()
|
|
*TopLevelShell.Translations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDismiss()
|
|
*TransientShell.baseTranslations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDismiss()
|
|
*TransientShell.Translations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDismiss()
|
|
*zoom.form.baseTranslations: #replace \n\
|
|
<Key>Q: GhostviewDeleteZoom()
|
|
*zoom.form.Translations: #replace \n\
|
|
<Key>Q: GhostviewDeleteZoom()
|
|
*zoom.baseTranslations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDeleteWindow()
|
|
*zoom.Translations: #replace \n\
|
|
<Message>WM_PROTOCOLS: GhostviewDeleteWindow()
|
|
*Ghostview.baseTranslations: #replace \n\
|
|
<Message>: message() \n\
|
|
<EnterWindow>: notify(0) \n\
|
|
<LeaveWindow>: GhostviewEraseLocator() \n\
|
|
<MotionNotify>: notify(0) \n\
|
|
<Btn1Down>: notify(180 180 200 200) \n\
|
|
<Btn2Down>: notify(120 120 300 300) \n\
|
|
<Btn3Down>: notify(90 90 400 400)
|
|
*Ghostview.Translations: #replace \n\
|
|
<Message>: message() \n\
|
|
<EnterWindow>: notify(0) \n\
|
|
<LeaveWindow>: GhostviewEraseLocator() \n\
|
|
<MotionNotify>: notify(0) \n\
|
|
<Btn1Down>: notify(180 180 200 200) \n\
|
|
<Btn2Down>: notify(120 120 300 300) \n\
|
|
<Btn3Down>: notify(90 90 400 400)
|
|
*toc.baseTranslations: #replace \n\
|
|
<FocusIn>: focus-in() \n\
|
|
<FocusOut>: focus-out() \n\
|
|
<Btn1Down>: select-start() \n\
|
|
<Btn1Motion>: extend-adjust() \n\
|
|
<Btn1Up>: extend-end(PRIMARY, CUT_BUFFER0) \n\
|
|
<Btn2Down>: select-start() \n\
|
|
<Btn2Motion>: extend-adjust() \n\
|
|
<Btn2Up>: extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
|
|
<Btn3Down>: extend-start() \n\
|
|
<Btn3Motion>: extend-adjust() \n\
|
|
<Btn3Up>: extend-end(PRIMARY, CUT_BUFFER0)
|
|
*toc.Translations: #replace \n\
|
|
<FocusIn>: focus-in() \n\
|
|
<FocusOut>: focus-out() \n\
|
|
<Btn1Down>: select-start() \n\
|
|
<Btn1Motion>: extend-adjust() \n\
|
|
<Btn1Up>: extend-end(PRIMARY, CUT_BUFFER0) \n\
|
|
<Btn2Down>: select-start() \n\
|
|
<Btn2Motion>: extend-adjust() \n\
|
|
<Btn2Up>: extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
|
|
<Btn3Down>: extend-start() \n\
|
|
<Btn3Motion>: extend-adjust() \n\
|
|
<Btn3Up>: extend-end(PRIMARY, CUT_BUFFER0)
|
|
*Form.baseTranslations: #replace \n\
|
|
<Key>C: GhostviewCenter() \n\
|
|
<Key>Q: GhostviewQuit() \n\
|
|
<Key>O: GhostviewOpen() \n\
|
|
<Key>R: GhostviewReopen() \n\
|
|
<Key>S: GhostviewSave() \n\
|
|
Shift<Key>P: GhostviewPrintWhole() \n\
|
|
<Key>P: GhostviewPrintMarked() \n\
|
|
<Key>BackSpace: GhostviewPrevious() \n\
|
|
<Key>Delete: GhostviewPrevious() \n\
|
|
<Key>B: GhostviewPrevious() \n\
|
|
<Key>Prior: GhostviewPrevious() \n\
|
|
<Key>space: GhostviewNext() \n\
|
|
<Key>Return: GhostviewNext() \n\
|
|
<Key>F: GhostviewNext() \n\
|
|
<Key>Next: GhostviewNext() \n\
|
|
<Key>period: GhostviewShow() \n\
|
|
Ctrl<Key>L: GhostviewShow() \n\
|
|
<Key>M: GhostviewMark() \n\
|
|
<Key>N: GhostviewUnmark() \n\
|
|
<Key>0: GhostviewSetMagstep(0) \n\
|
|
<Key>1: GhostviewSetMagstep(1) \n\
|
|
<Key>2: GhostviewSetMagstep(2) \n\
|
|
<Key>3: GhostviewSetMagstep(3) \n\
|
|
<Key>4: GhostviewSetMagstep(4) \n\
|
|
<Key>5: GhostviewSetMagstep(5) \n\
|
|
<Key>+: GhostviewIncreaseMagstep() \n\
|
|
<Key>-: GhostviewDecreaseMagstep() \n\
|
|
<Key>U: GhostviewScrollUp() \n\
|
|
<Key>D: GhostviewScrollDown() \n\
|
|
<Key>K: GhostviewScrollUp() \n\
|
|
<Key>J: GhostviewScrollDown() \n\
|
|
<Key>H: GhostviewScrollLeft() \n\
|
|
<Key>L: GhostviewScrollRight() \n\
|
|
Shift<Key>Up: GhostviewForce() GhostviewSetOrientation(portrait) \n\
|
|
Shift<Key>Right: GhostviewForce() GhostviewSetOrientation(landscape) \n\
|
|
Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
|
|
Shift<Key>Left: GhostviewForce() GhostviewSetOrientation(seascape) \n\
|
|
<Key>Up: GhostviewDefault() GhostviewSetOrientation(portrait) \n\
|
|
<Key>Right: GhostviewDefault() GhostviewSetOrientation(landscape) \n\
|
|
<Key>Down: GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
|
|
<Key>Left: GhostviewDefault() GhostviewSetOrientation(seascape)
|
|
*Form.Translations: #replace \n\
|
|
<Key>C: GhostviewCenter() \n\
|
|
<Key>Q: GhostviewQuit() \n\
|
|
<Key>O: GhostviewOpen() \n\
|
|
<Key>R: GhostviewReopen() \n\
|
|
<Key>S: GhostviewSave() \n\
|
|
Shift<Key>P: GhostviewPrintWhole() \n\
|
|
<Key>P: GhostviewPrintMarked() \n\
|
|
<Key>BackSpace: GhostviewPrevious() \n\
|
|
<Key>Delete: GhostviewPrevious() \n\
|
|
<Key>B: GhostviewPrevious() \n\
|
|
<Key>Prior: GhostviewPrevious() \n\
|
|
<Key>space: GhostviewNext() \n\
|
|
<Key>Return: GhostviewNext() \n\
|
|
<Key>F: GhostviewNext() \n\
|
|
<Key>Next: GhostviewNext() \n\
|
|
<Key>period: GhostviewShow() \n\
|
|
Ctrl<Key>L: GhostviewShow() \n\
|
|
<Key>M: GhostviewMark() \n\
|
|
<Key>N: GhostviewUnmark() \n\
|
|
<Key>0: GhostviewSetMagstep(0) \n\
|
|
<Key>1: GhostviewSetMagstep(1) \n\
|
|
<Key>2: GhostviewSetMagstep(2) \n\
|
|
<Key>3: GhostviewSetMagstep(3) \n\
|
|
<Key>4: GhostviewSetMagstep(4) \n\
|
|
<Key>5: GhostviewSetMagstep(5) \n\
|
|
<Key>+: GhostviewIncreaseMagstep() \n\
|
|
<Key>-: GhostviewDecreaseMagstep() \n\
|
|
<Key>U: GhostviewScrollUp() \n\
|
|
<Key>D: GhostviewScrollDown() \n\
|
|
<Key>K: GhostviewScrollUp() \n\
|
|
<Key>J: GhostviewScrollDown() \n\
|
|
<Key>H: GhostviewScrollLeft() \n\
|
|
<Key>L: GhostviewScrollRight() \n\
|
|
Shift<Key>Up: GhostviewForce() GhostviewSetOrientation(portrait) \n\
|
|
Shift<Key>Right: GhostviewForce() GhostviewSetOrientation(landscape) \n\
|
|
Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
|
|
Shift<Key>Left: GhostviewForce() GhostviewSetOrientation(seascape) \n\
|
|
<Key>Up: GhostviewDefault() GhostviewSetOrientation(portrait) \n\
|
|
<Key>Right: GhostviewDefault() GhostviewSetOrientation(landscape) \n\
|
|
<Key>Down: GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
|
|
<Key>Left: GhostviewDefault() GhostviewSetOrientation(seascape)
|