mirror of https://github.com/BOINC/boinc.git
57 lines
1.4 KiB
C
57 lines
1.4 KiB
C
#include "gui_titles.h"
|
|
|
|
// TODO: the code is riddles with constants that are indices
|
|
// into these arrays. This is bad.
|
|
// Also can't these be made char* instead of char[256]s?
|
|
|
|
char g_szTabItems[MAX_TABS][256] = {
|
|
"Projects",
|
|
"Work",
|
|
"Transfers",
|
|
"Messages",
|
|
"Disk"
|
|
};
|
|
|
|
char g_szColumnTitles[MAX_LIST_ID][MAX_COLS][256] = {
|
|
{"Project", "Account", "Total Credit", "Avg. Credit", "Resource Share", "", ""},
|
|
{"Project", "Application", "Name", "CPU time", "Progress", "To Completion", "Report Deadline", "Status"},
|
|
{"Project", "File", "Progress", "Size", "Time", "Speed", "Status"},
|
|
{"Project", "Time", "Message", "", "", "", ""}
|
|
};
|
|
|
|
int g_nColSortTypes[MAX_LIST_ID][MAX_COLS] = {
|
|
{0,0,1,1,1,0,0},
|
|
{0,0,0,0,0,0,0},
|
|
{0,0,0,1,0,0,0},
|
|
{0,0,0,0,0,0,0}
|
|
};
|
|
|
|
char g_szUsageItems[MAX_USAGE_STR][256] = {
|
|
"Free space",
|
|
"Used space: non-BOINC",
|
|
"Used space: BOINC",
|
|
"Free space: BOINC",
|
|
"BOINC software",
|
|
"BOINC free space",
|
|
};
|
|
|
|
char g_szMiscItems[MAX_MISC_STR][256] = {
|
|
"New",
|
|
"Running",
|
|
"Ready to run",
|
|
"Computation error", // Computation done
|
|
"Ready to report", // Results uploaded / Files uploaded
|
|
"Acknowledged",
|
|
"Error: invalid state",
|
|
"Completed",
|
|
"Uploading",
|
|
"Downloading",
|
|
"Retry in",
|
|
"Download failed",
|
|
"Upload failed",
|
|
"Suspended",
|
|
"Paused"
|
|
};
|
|
|
|
const char *BOINC_RCSID_7f109697b8 = "$Id$";
|