File: XPostitPlus.ad

package info (click to toggle)
xpostitplus 2.3.1-10
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 464 kB
  • ctags: 661
  • sloc: ansic: 4,831; makefile: 527; sh: 70
file content (143 lines) | stat: -rw-r--r-- 4,887 bytes parent folder | download | duplicates (4)
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
! Xpostit application defaults
!
! David A. Curry
! SRI International
! 333 Ravenswood Avenue
! Menlo Park, CA 94025
! davy@itstd.sri.com
!
! Modified by Michael J. Hammel
! Contractor
! 1150 Inca St. TH 70
! Denver, CO 80204
! mjhammel@csn.net
!

XPostitPlus.geometry:               70x70-0+0
XPostitPlus.noteDir:                .postitnotes
!XPostitPlus.saveNotes:             on
!XPostitPlus.scrollBar:             on
!XPostitPlus.scrollOnOverflow:      on
XPostitPlus.Menu*cursor:            hand1

! OS specific commands
XPostitPlus.printCmd:		"lpr %s"
XPostitPlus.calendarCmd:		cal

! set this to be the number of pixels for a character using the font
! specified for the generic Text fields (see below).
XPostitPlus.nameWidth:              10

!
! Fonts
!
XPostitPlus*Command*font:		-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*
XPostitPlus*Menu*font:			-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
XPostitPlus*List*font:			10x20
XPostitPlus*Text*font:			-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-*-*
XPostitPlus*TimerText*font:	-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-*-*
XPostitPlus*InsertLabel*font:	-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-*-*
XPostitPlus.PostItNote*text*font:					\
										7x13bold
XPostitPlus*FileSelectionShell*List*font:			\
										-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*

!
! default Colors
!
XPostitPlus*Background:		PeachPuff
XPostitPlus*Foreground:		NavyBlue
XPostitPlus*Text*Background:	Yellow
XPostitPlus*Text*Foreground:	Black
XPostitPlus*List*Background:	gray
XPostitPlus*List*Foreground:	blue

! the plaid section of the mother window
XPostitPlus*Plaid*Background:	coral
XPostitPlus*Plaid*Foreground:	Black

! the defaults for each note
XPostitPlus*PostItNote*Background:			Yellow
XPostitPlus*PostItNote*Foreground:			gray
XPostitPlus*PostItNote*Note*Background:	gray
XPostitPlus*PostItNote*Note*Foreground:	Wheat

! the menu bar
XPostitPlus*PostItNote*Note*Options*Background:		gray
XPostitPlus*PostItNote*Note*Options*Foreground:		blue
XPostitPlus*PostItNote*Note*File*Background:			gray
XPostitPlus*PostItNote*Note*File*Foreground:			blue
XPostitPlus*PostItNote*Note*AlarmIcon*Background:	gray
XPostitPlus*PostItNote*Note*AlarmIcon*Foreground:	blue

! the options menu
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Background:			gray
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Foreground:			black
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Save*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Erase*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Destroy*Foreground:		red
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Hide*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Name*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Anchor*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*UnAnchor*Foreground:	blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*Print*Foreground:		blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*SetAlarm*Foreground:	blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*UnsetAlarm*Foreground:	blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*InsertCalendar*Foreground:	blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*InsertDate*Foreground:	blue
XPostitPlus*PostItNote*Note*Options*OptionsMenu*EmailNote*Foreground:	blue

! the label in the notes
XPostitPlus*PostItNote*Note*Label*Background:	red
XPostitPlus*PostItNote*Note*Label*Foreground:	white

! the text portion of each note
XPostitPlus*PostItNote*Note*NoteText*Background:	Yellow
XPostitPlus*PostItNote*Note*NoteText*Foreground:	Black

! popup buttons for user confirmation
XPostitPlus*Command*Background:	red
XPostitPlus*Command*Foreground:	white

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

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

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

! translations - don't change these!

! Xpostit*Menu.Translations: #override\n \
! 	<BtnUp>: MenuPopdown() notify() unhighlight() \
! 		XawPositionSimpleMenu(List)

XPostitPlus*Dialog*Text.Translations: #override\n \
	<Key>Down:		no-op(RingBell) \n \
	<Key>Return:		no-op(RingBell) \n \
	Ctrl<Key>M:		no-op(RingBell)

!	<Key>BackSpace:		delete-previous-character() \n \
!	<Key>Delete:		delete-previous-character() \n \
!	Ctrl<Key>h:		delete-previous-character() \n \
!	<Key>:			insert-char() \n \

XPostitPlus*baseTranslations: #augment\n\
	<Message>WM_PROTOCOLS: WMProtocols()\n

XPostitPlus*Plaid.Translations: #replace\n \
	<Btn1Down>,<Btn1Up>:	raise()	\n\
	<Btn2Down>,<Btn2Up>:	lower()	\n\
	<Btn1Down>,<Leave>:	tearoff() \n\
	<Btn3Down>:	XawPositionSimpleMenu(Menu) MenuPopup(Menu) \n\
	Alt <Key> Q:		quit() \n\
	Alt <Key> q:		quit()