X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=6f83744dcd5605e1003e3edebb2f4eb3ecc0e899;hb=91fd33a275d694fe467b856eb72b2c61c815a473;hp=73583a352d902cb4e075f23082ad156396c6db0a;hpb=1d98f490554273292d4ce29e4ea42e843c2f0c20;p=projects%2Fchimara%2Fchimara.git diff --git a/src/window.h b/src/window.h index 73583a3..6f83744 100644 --- a/src/window.h +++ b/src/window.h @@ -24,8 +24,16 @@ struct glk_window_struct /* Pointer to the node in the global tree that contains this window */ GNode *window_node; /* Window parameters */ - glui32 window_type; + glui32 type; + /* "widget" is the actual widget with the window's functionality */ GtkWidget *widget; + /* "frame" is the widget that is the child of the ChimaraGlk container, such + as a scroll window. It may be the same as "widget". */ + GtkWidget *frame; + /* Width and height of the window's size units, in pixels */ + int unit_width; + int unit_height; + /* Streams associated with the window */ strid_t window_stream; strid_t echo_stream; /* Input request stuff */