File: XPostit.ad

package info (click to toggle)
xpostit 3.3.1-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 220 kB
  • ctags: 699
  • sloc: ansic: 1,505; makefile: 662; sh: 44
file content (79 lines) | stat: -rw-r--r-- 2,318 bytes parent folder | download | duplicates (6)
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
!
! Copyright 1991 by David A. Curry
!
! Permission to use, copy, modify, distribute, and sell this software and its
! documentation for any purpose is hereby granted without fee, provided that
! the above copyright notice appear in all copies and that both that copyright
! notice and this permission notice appear in supporting documentation.  The
! author makes no representations about the suitability of this software for
! any purpose.  It is provided "as is" without express or implied warranty.
!
!
! $Header: /home/harbor/davy/stuff/xpostit/RCS/XPostit-color.ad,v 1.2 1992/12/10 16:39:38 davy Exp $
!
! XPostit application defaults
!
! David A. Curry
! Purdue University
! Engineering Computer Network
! West Lafayette, IN 47907
! davy@ecn.purdue.edu
!

!
! Fonts
!
XPostit*Command*font:	-adobe-helvetica-bold-r-normal--11-*-*-*-*-*-*-*
XPostit*Menu*font:	-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-*
XPostit*Text*font:	-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*

!
! Colors
!
XPostit*Background:		PeachPuff
XPostit*Foreground:		NavyBlue
XPostit*Text*Background:	Yellow
XPostit*Text*Foreground:	Black
XPostit*Plaid*Background:	Red
XPostit*Plaid*Foreground:	Black

!
! Automatically wrap long lines at word boundaries.
!
XPostit*Text*wrap:		word

!
! Make the command buttons oval-shaped.
!
XPostit*Command*shapeStyle:	oval

!
! For some window managers like pswm under OpenWindows,
! which don't pass the input focus.
!
XPostit*input:			true

!
! Keyboard accelerators.
!
XPostit*Note.Save.accelerators:       #override \n\
	Alt<Key>s:      set() notify() reset() \n
XPostit*Note.Title.accelerators:      #override \n\
	Alt<Key>t:      set() notify() reset() \n
XPostit.Title.Dialog.Okay.accelerators: #override\n\
	<Key>Return: set() notify() reset() \n
XPostit.Title.Dialog.Cancel.accelerators: #override\n\
	<Key>Escape: set() notify() reset() \n

!
! Translations.
!
XPostit*Plaid.translations: #replace \n\
	~Ctrl <Btn1Down>,<Btn1Up>:      raise() \n\
	~Ctrl <Btn1Down>,<Leave>:       tearoff() \n\
	~Ctrl <Btn2Down>,<Btn2Up>:      lower() \n\
	Ctrl <Btn1Down>,<Btn1Up>:       show() \n\
	Ctrl <Btn2Down>,<Btn2Up>:       hide() \n\
	<Btn3Down>:     XawPositionSimpleMenu(Menu) MenuPopup(Menu) \n\
	<Key> Q:                        quit() \n\
	<Key> q:                        quit() \n