Debian Codegraph @

src/af/xap/win/xap_Win32Res_DlgHistory.rc2

raw
1 // AbiWord
2 // Copyright (C) 2004 Tomas Frydrych <[email protected]>
3
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 // 02110-1301 USA.
19 //////////////////////////////////////////////////////////////////
20
21 //////////////////////////////////////////////////////////////////
22 // THIS FILE IS INCLUDED BY .cpp AND .rc FILES.
23 //
24 // *** RC.exe IS BRAIN-DAMAGED. GIVING THIS FILE AN .rc2
25 // *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc
26 // *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE
27 // *** DIALOGS DO NOT GET COMPILED.
28 //
29 //////////////////////////////////////////////////////////////////
30
31 #define XAP_RID_DIALOG_HISTORY_FRAME 1001
32 #define XAP_RID_DIALOG_HISTORY_LIST_VERSIONS 1002
33
34 // header labels start at 1100
35 // must be consequtive
36 #define XAP_RID_DIALOG_HISTORY_LABEL_PATH 1101
37 #define XAP_RID_DIALOG_HISTORY_LABEL_CREATED 1102
38 #define XAP_RID_DIALOG_HISTORY_LABEL_VERSION 1103
39 #define XAP_RID_DIALOG_HISTORY_LABEL_LASTSAVED 1104
40 #define XAP_RID_DIALOG_HISTORY_LABEL_EDITTIME 1105
41 #define XAP_RID_DIALOG_HISTORY_LABEL_ID 1106
42
43 // header controls start at 1200
44 // must be consequtive and match corresponding labels in sequence
45 #define XAP_RID_DIALOG_HISTORY_PATH 1201
46 #define XAP_RID_DIALOG_HISTORY_CREATED 1202
47 #define XAP_RID_DIALOG_HISTORY_VERSION 1203
48 #define XAP_RID_DIALOG_HISTORY_LASTSAVED 1204
49 #define XAP_RID_DIALOG_HISTORY_EDITTIME 1205
50 #define XAP_RID_DIALOG_HISTORY_ID 1206
51
52 // buttons start at 1300
53 #define XAP_RID_DIALOG_HISTORY_BTN_SHOW 1301
54 #define XAP_RID_DIALOG_HISTORY_BTN_OK IDOK
55 #define XAP_RID_DIALOG_HISTORY_BTN_CANCEL IDCANCEL
56
57 #ifdef RC_INVOKED
58 // NOTE -- these placeholder strings get overridden at runtime
59 // NOTE -- they're just here to make sizing easier
60
61 XAP_RID_DIALOG_HISTORY DIALOG DISCARDABLE 0, 0, 302, 220
62 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
63 CAPTION "Dialog"
64 FONT 8, "MS Shell Dlg 2"
65 BEGIN
66 DEFPUSHBUTTON "OK",IDOK,245,13,50,14
67 PUSHBUTTON "Cancel",IDCANCEL,245,32,50,14
68
69 LTEXT "Document Name:", XAP_RID_DIALOG_HISTORY_LABEL_PATH,
70 7,7,80,10, SS_CENTERIMAGE
71 LTEXT "path", XAP_RID_DIALOG_HISTORY_PATH,
72 75,7,170,10, SS_CENTERIMAGE
73
74 LTEXT "Created:", XAP_RID_DIALOG_HISTORY_LABEL_CREATED,
75 7,17,80,10, SS_CENTERIMAGE
76 LTEXT "created", XAP_RID_DIALOG_HISTORY_CREATED,
77 75,17,170,10, SS_CENTERIMAGE
78
79 LTEXT "Version:", XAP_RID_DIALOG_HISTORY_LABEL_VERSION,
80 7,27,80,10, SS_CENTERIMAGE
81 LTEXT "version", XAP_RID_DIALOG_HISTORY_VERSION,
82 75,27,170,10, SS_CENTERIMAGE
83
84 LTEXT "Saved:", XAP_RID_DIALOG_HISTORY_LABEL_LASTSAVED,
85 7,37,80,10, SS_CENTERIMAGE
86 LTEXT "saved", XAP_RID_DIALOG_HISTORY_LASTSAVED,
87 75,37,170,10, SS_CENTERIMAGE
88
89 LTEXT "Edit time:", XAP_RID_DIALOG_HISTORY_LABEL_EDITTIME,
90 7,47,80,10, SS_CENTERIMAGE
91 LTEXT "edit time", XAP_RID_DIALOG_HISTORY_EDITTIME,
92 75,47,170,10, SS_CENTERIMAGE
93
94 LTEXT "UUID:", XAP_RID_DIALOG_HISTORY_LABEL_ID,
95 7,57,80,10, SS_CENTERIMAGE
96 LTEXT "uuid", XAP_RID_DIALOG_HISTORY_ID,
97 75,57,170,10, SS_CENTERIMAGE
98
99 GROUPBOX "Version history",XAP_RID_DIALOG_HISTORY_FRAME,7,74,277,137
100 CONTROL "List1",XAP_RID_DIALOG_HISTORY_LIST_VERSIONS,"SysListView32",LVS_REPORT |
101 LVS_SINGLESEL | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,
102 19,89,251,111
103 END
104 #endif /* RC_INVOKED */