mirror of
https://github.com/amiwm/amiwm.git
synced 2026-03-24 01:24:15 +00:00
[amiwm] add some initial comments of structure members.
Still have a long way to go.
This commit is contained in:
8
client.h
8
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;
|
||||
|
||||
12
screen.h
12
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;
|
||||
|
||||
Reference in New Issue
Block a user