diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
commit | d0ca838c7ab297036b4a7c45351761a48fe05efd (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/wlib/gtklib/boxes.c | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
Update upstream source from tag 'upstream/5.2.2GA'
Update to upstream version '5.2.2GA'
with Debian dir 9c80045d0b4f9e463647bc8af8c090a673df4132
Diffstat (limited to 'app/wlib/gtklib/boxes.c')
-rw-r--r-- | app/wlib/gtklib/boxes.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/wlib/gtklib/boxes.c b/app/wlib/gtklib/boxes.c index cf419e6..74dbb7b 100644 --- a/app/wlib/gtklib/boxes.c +++ b/app/wlib/gtklib/boxes.c @@ -61,8 +61,8 @@ struct wBox_t { void wBoxSetSize( wBox_p b, - wPos_t w, - wPos_t h) + wWinPix_t w, + wWinPix_t h) { b->w = w; b->h = h; @@ -84,12 +84,12 @@ void wBoxSetSize( void wlibDrawBox( wWin_p win, wBoxType_e style, - wPos_t x, - wPos_t y, - wPos_t w, - wPos_t h) + wWinPix_t x, + wWinPix_t y, + wWinPix_t w, + wWinPix_t h) { - wPos_t x0, y0, x1, y1; + wWinPix_t x0, y0, x1, y1; GdkDrawable * window; cairo_t *cr; static char colors[8][4][2] = { @@ -185,12 +185,12 @@ static void boxRepaint(wControl_p b) wBox_p wBoxCreate( wWin_p parent, - wPos_t bx, - wPos_t by, + wWinPix_t bx, + wWinPix_t by, const char * labelStr, wBoxType_e boxTyp, - wPos_t bw, - wPos_t bh) + wWinPix_t bw, + wWinPix_t bh) { wBox_p b; b = (wBox_p)wlibAlloc(parent, B_BOX, bx, by, labelStr, sizeof *b, NULL); |