X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;fp=src%2Fwindow.h;h=6f83744dcd5605e1003e3edebb2f4eb3ecc0e899;hb=352f99218b90bc9a3e5386afc3f12c36c3ebec60;hp=728a381079c6f0f8cd302d048abcaad19b958b15;hpb=82f6ec09bd0e781f3be62853da77ce4c334bf0e4;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 728a381..6f83744 100644 --- a/src/window.h +++ b/src/window.h @@ -25,8 +25,15 @@ struct glk_window_struct GNode *window_node; /* Window parameters */ glui32 type; - GtkWidget *widget; /* actual widget that does stuff */ - GtkWidget *frame; /* container child */ + /* "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 */