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/text.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/text.c')
-rw-r--r-- | app/wlib/gtklib/text.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/wlib/gtklib/text.c b/app/wlib/gtklib/text.c index 0812ace..cb811b6 100644 --- a/app/wlib/gtklib/text.c +++ b/app/wlib/gtklib/text.c @@ -59,7 +59,7 @@ struct PrintData { struct wText_t { WOBJ_COMMON - wPos_t width, height; + wWinPix_t width, height; int changed; GtkWidget *text; }; @@ -462,7 +462,7 @@ wBool_t wTextGetModified(wText_p bt) * \return */ -void wTextSetSize(wText_p bt, wPos_t w, wPos_t h) +void wTextSetSize(wText_p bt, wWinPix_t w, wWinPix_t h) { gtk_widget_set_size_request(bt->widget, w, h); bt->w = w; @@ -481,8 +481,8 @@ void wTextSetSize(wText_p bt, wPos_t w, wPos_t h) * \return */ -void wTextComputeSize(wText_p bt, int rows, int cols, wPos_t *width, - wPos_t *height) +void wTextComputeSize(wText_p bt, wWinPix_t rows, wWinPix_t cols, wWinPix_t *width, + wWinPix_t *height) { *width = rows * 7; *height = cols * 14; @@ -498,7 +498,7 @@ void wTextComputeSize(wText_p bt, int rows, int cols, wPos_t *width, void wTextSetPosition(wText_p bt, int pos) { - /* TODO */ + /* TODO TextSetPosition */ } /** @@ -536,13 +536,13 @@ static void textChanged(GtkWidget *widget, wText_p bt) wText_p wTextCreate(wWin_p parent, - wPos_t x, - wPos_t y, + wWinPix_t x, + wWinPix_t y, const char *helpStr, const char *labelStr, long option, - wPos_t width, - wPos_t height) + wWinPix_t width, + wWinPix_t height) { wText_p bt; GtkTextBuffer *tb; |