|
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
//#pragma comment(lib, "user32.lib")
|
|
|
|
|
//#pragma comment(lib, "gdi32.lib")
|
|
|
|
|
#define WINDOW_WIDTH 1000 |
|
|
|
|
#define WINDOW_HEIGHT 1440 |
|
|
|
|
#define WINDOW_HEIGHT 1400 |
|
|
|
|
#define WINDOW_CLIENT_W 1250 |
|
|
|
|
#define UPDATE_INTERVAL 10 /* 50ms → 20 samples per second */ |
|
|
|
|
/* Global app pointer for callbacks */ |
|
|
|
|
@ -754,7 +754,7 @@ static void CreateControls(struct etcpmon_app* app) {
|
|
|
|
|
* Router Congestion group — below Queues & Errors |
|
|
|
|
* ======================================================================== */ |
|
|
|
|
{ |
|
|
|
|
int ry = 1240; |
|
|
|
|
int ry = 1181; |
|
|
|
|
int r_col1 = 20, r_col2 = 260, r_col3 = 500, r_col4 = 740; |
|
|
|
|
int lw = 85, ew = 70; /* label width, edit width */ |
|
|
|
|
CreateWindowExA(0, "BUTTON", "Router Congestion", |
|
|
|
|
|