Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_widget_size_hint Struct Reference

Size hints for the layout algorithm. More...


Data Fields

int width
 Width in characters.

int height
 Height in characters.

int penalty
 Penalty for these dimensions.

_widget_size_hint ** children_layout
 Child layout cache.


Detailed Description

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.

Definition at line 126 of file charlayout.c.


Field Documentation

struct _widget_size_hint** _widget_size_hint::children_layout
 

Child layout cache.

The children_layout field is used to cache the optimum layout of the children for a particular dimension.

Definition at line 135 of file charlayout.c.


Generated on Sun Feb 16 23:40:04 2003 for FreeLCD by doxygen1.2.18