|
|
|
|
@ -734,7 +734,7 @@ static void CreateControls(struct etcpmon_app* app) {
|
|
|
|
|
int dy = 485; |
|
|
|
|
app->hDebugGroupBox = CreateWindowExA(0, "BUTTON", "Debug Levels", |
|
|
|
|
WS_CHILD | WS_VISIBLE | BS_GROUPBOX, |
|
|
|
|
1005, dy, 220, 545, hWnd, (HMENU)IDC_STATIC, hInst, NULL); |
|
|
|
|
1005, dy, 240, 545, hWnd, (HMENU)IDC_STATIC, hInst, NULL); |
|
|
|
|
dy += 20; |
|
|
|
|
const char* header_texts[6] = { |
|
|
|
|
"N\r\nO\r\nN\r\nE", "E\r\nR\r\nR\r\nO\r\nR", "W\r\nA\r\nR\r\nN", |
|
|
|
|
@ -752,7 +752,7 @@ static void CreateControls(struct etcpmon_app* app) {
|
|
|
|
|
CreateWindowExA(0, "STATIC", "Global:", WS_CHILD | WS_VISIBLE, |
|
|
|
|
1015, dy + 2, 55, 20, hWnd, (HMENU)IDC_STATIC, hInst, NULL); |
|
|
|
|
for (int l = 0; l < 6; l++) { |
|
|
|
|
int lx = 1080 + l * 22; |
|
|
|
|
int lx = 1100 + l * 22; |
|
|
|
|
DWORD style = WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON; |
|
|
|
|
if (l == 0) style |= WS_GROUP; |
|
|
|
|
app->hDebugGlobalRadio[l] = CreateWindowExA(0, "BUTTON", "", |
|
|
|
|
@ -761,7 +761,7 @@ static void CreateControls(struct etcpmon_app* app) {
|
|
|
|
|
|
|
|
|
|
dy += 22; |
|
|
|
|
for (int l = 0; l < 6; l++) { |
|
|
|
|
int lx = 1080 + l * 22; |
|
|
|
|
int lx = 1100 + l * 22; |
|
|
|
|
app->hDebugHeaderEdit[l] = CreateWindowExA(WS_EX_CLIENTEDGE, "EDIT", header_texts[l], |
|
|
|
|
WS_CHILD | WS_VISIBLE | ES_READONLY | ES_CENTER | ES_MULTILINE, |
|
|
|
|
lx, dy, 22, 60, hWnd, (HMENU)(UINT_PTR)(IDC_DEBUG_HEADER_BASE + l), hInst, NULL); |
|
|
|
|
@ -771,9 +771,9 @@ static void CreateControls(struct etcpmon_app* app) {
|
|
|
|
|
for (int r = 0; r < ncat; r++) { |
|
|
|
|
app->hDebugCatLabel[r] = CreateWindowExA(0, "STATIC", cat_names[r], |
|
|
|
|
WS_CHILD | WS_VISIBLE | SS_LEFT | SS_CENTERIMAGE, |
|
|
|
|
1015, dy + 1, 60, 16, hWnd, (HMENU)(UINT_PTR)(IDC_DEBUG_NAME_BASE + r), hInst, NULL); |
|
|
|
|
1015, dy + 1, 80, 16, hWnd, (HMENU)(UINT_PTR)(IDC_DEBUG_NAME_BASE + r), hInst, NULL); |
|
|
|
|
for (int l = 0; l < 6; l++) { |
|
|
|
|
int lx = 1080 + l * 22; |
|
|
|
|
int lx = 1100 + l * 22; |
|
|
|
|
DWORD style = WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON; |
|
|
|
|
if (l == 0) style |= WS_GROUP; |
|
|
|
|
app->hDebugCatRadio[r][l] = CreateWindowExA(0, "BUTTON", "", |
|
|
|
|
|