- struct Win * prev; /* prev=next=0 if Win is outside the chain */
- struct Win * next;
- struct yx_uint16 start; /* upper left corner (of WINDOW or border?) */
- struct Frame frame;
- char * title; /* title to be shown on window border top */
- void (* draw) (struct Win *); /* function to draw window content ("data") */
- void * data; /* content to be drawn; draw() knows how */
+ struct Win * prev; /* chain pointers; if 0, they mark the start or end */
+ struct Win * next; /* of the chain; if both are 0, Win is outside chain */
+ struct yx_uint16 framesize; /* window frame size to see winmap through */
+ struct yx_uint16 start; /* upper left corner of window in pad */
+ struct yx_uint16 center; /* window content center to focus window on */
+ char * title; /* title to be used in window title bar */
+ void (* draw) (struct Win *); /* how to draw window content ("data") */
+ void * data; /* window content to be drawn by _draw() */
+ chtype * winmap; /* sequence of cells, sorted into lines ... */
+ struct yx_uint16 winmapsize; /* ... with these geometry infos */