#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <common/xmalloc.h>
#include "charrenderer.h"
Include dependency graph for charlayout.c:
Go to the source code of this file.
Data Structures | |
struct | _widget_size_hint |
Size hints for the layout algorithm. More... | |
struct | cl_widget |
struct | list_iter_pair |
An iterator and the list it belongs to. More... | |
Typedefs | |
typedef _widget_size_hint | widget_size_hint |
Size hints for the layout algorithm. | |
Enumerations | |
enum | align_hor_t |
Horizontal widget alignment. | |
enum | align_ver_t |
Vertical widget alignment. | |
enum | widget_class_t { CROW, CCOL, CFIELD } |
Widget types, stored in cl_widget. More... |
Definition in file charlayout.c.
|
Size hints for the layout algorithm. The width and height correspond to a penalty, or ugliness. When allocating space to widgets, the layout algorithm attempts to keep the total penalty at a minimum. Or, if it doesn't fit, even with the maximum penalty, the layout is split into smaller parts and the procedure starts all over again. In this case, one layout takes up several screen cycles on the display. |
|
Widget types, stored in cl_widget.
Definition at line 111 of file charlayout.c. |