From 6bd141dec18e3191984f8cee37f89a19d24a409e Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 18 Mar 2022 20:56:16 -0700 Subject: [PATCH] [amiwm] add some initial comments of structure members. Still have a long way to go. --- client.h | 8 ++++++++ screen.h | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/client.h b/client.h index 2c9560b..38ac54f 100644 --- a/client.h +++ b/client.h @@ -6,6 +6,14 @@ struct _Icon; struct _Scrn; + +/* + * struct _Client - application client information. + * + * @next: next client in list. + * @scr: virtual desktop this client belongs to. + * @colormap: current colormap. + */ typedef struct _Client { struct _Client *next; struct _Scrn *scr; diff --git a/screen.h b/screen.h index f8ed122..db76611 100644 --- a/screen.h +++ b/screen.h @@ -3,6 +3,18 @@ #include "icon.h" +/* + * Struct _Scrn - virtual desktop screen + * + * @root: root window for virtual desktop + * @back: background window + * @colormap: current colourmap + * @fh: font height for menu/window, including ascender/descender. + * @bh: title bar / menu bar height; fh + fixed padding. + * @icons: list of icons on this desktop. + * @firstselected: first selected icon on this desktop. + */ + typedef struct _Scrn { struct _Scrn *behind, *upfront; Window root, back, inputbox;