aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/barriers/barriers.rc
blob: c4d263c7413f515b578a4463f2be7dc6f40196f3 (plain) (blame)
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
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include <winresrc.h>

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include <winresrc.h>\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_BARRIER             ICON                    "barriers.ico"
IDI_TASKBAR_NOT_RUNNING ICON                    "tb_idle.ico"
IDI_TASKBAR_NOT_WORKING ICON                    "tb_error.ico"
IDI_TASKBAR_NOT_CONNECTED ICON                    "tb_wait.ico"
IDI_TASKBAR_CONNECTED   ICON                    "tb_run.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_TASKBAR MENU 
BEGIN
    POPUP "Barrier"
    BEGIN
        MENUITEM "Show Status",                 IDC_TASKBAR_STATUS
        MENUITEM "Show Log",                    IDC_TASKBAR_SHOW_LOG
        MENUITEM "Copy Log To Clipboard",       IDC_TASKBAR_LOG
        POPUP "Set Log Level"
        BEGIN
            MENUITEM "Error",                       IDC_TASKBAR_LOG_LEVEL_ERROR
            MENUITEM "Warning",                     IDC_TASKBAR_LOG_LEVEL_WARNING
            MENUITEM "Note",                        IDC_TASKBAR_LOG_LEVEL_NOTE
            MENUITEM "Info",                        IDC_TASKBAR_LOG_LEVEL_INFO
            MENUITEM "Debug",                       IDC_TASKBAR_LOG_LEVEL_DEBUG
            MENUITEM "Debug1",                      IDC_TASKBAR_LOG_LEVEL_DEBUG1
            MENUITEM "Debug2",                      IDC_TASKBAR_LOG_LEVEL_DEBUG2
        END
        MENUITEM "Reload Configuration",        IDC_RELOAD_CONFIG
        MENUITEM "Force Reconnect",             IDC_FORCE_RECONNECT
        MENUITEM "Reset Server",                ID_BARRIER_RESETSERVER
        MENUITEM SEPARATOR
        MENUITEM "Quit",                        IDC_TASKBAR_QUIT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_TASKBAR_STATUS DIALOG  0, 0, 145, 60
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_TASKBAR_STATUS_STATUS,3,3,139,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
    LISTBOX         IDC_TASKBAR_STATUS_CLIENTS,3,17,139,40,NOT LBS_NOTIFY | LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL | WS_TABSTOP
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE 
BEGIN
    IDS_FAILED              "Barrier is about to quit with errors or warnings.  Please check the log then click OK."
    IDS_INIT_FAILED         "Barrier failed to initialize: %{1}"
    IDS_UNCAUGHT_EXCEPTION  "Uncaught exception: %{1}"
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED