Browse Source

etcpmon: lift Router to y=1181 (tight to Queues), shrink window to 1400

chatgui
Evgeny 3 months ago
parent
commit
0edd21e335
  1. 4
      tools/etcpmon/etcpmon_gui.c

4
tools/etcpmon/etcpmon_gui.c

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

Loading…
Cancel
Save