#include <gnome.h>
#include <gdk/gdk.h>
#include <string.h>
#include "cr-lay-eng.h"
#include "cr-sel-eng.h"
Go to the source code of this file.
Data Structures | |
struct | _CRLayEngPriv |
Defines | |
#define | PRIVATE(a_this) ((a_this)->priv) |
Enumerations | |
enum | CRDirection { DIR_UNKNOWN = 0, DIR_VERTICAL, DIR_HORIZONTAL } |
Functions | |
void | cr_lay_eng_init (glong a_argc, gchar **a_argv) |
The first function to call prior to any other method of the layout engine. | |
CRLayEng * | cr_lay_eng_new (GtkLayout *a_layout) |
Instanciates a new Layout Engine. | |
enum CRStatus | cr_lay_eng_create_box_model (CRLayEng *a_this, xmlDoc *a_doc, CRCascade *a_cascade, CRBoxModel **a_box_model) |
Creates the box model from an xml document. | |
enum CRStatus | cr_lay_eng_layout_box_tree (CRLayEng *a_this, CRBox *a_box_tree) |
Recursively computes the sizes and positions of each box in the box tree. | |
void | cr_lay_eng_destroy (CRLayEng *a_this) |
Destuctor of CRLayEng. |
Highly unstable and experimental so far. This is in developement so the api is *really* gonna change ...
Definition in file cr-lay-eng.c.
|
Definition at line 35 of file cr-lay-eng.c. |
|
Definition at line 56 of file cr-lay-eng.c. |
|
Creates the box model from an xml document.
Definition at line 1539 of file cr-lay-eng.c. References CR_BAD_PARAM_ERROR, cr_box_model_new(), CR_ERROR, CR_NO_ROOT_NODE_ERROR, CR_OK, and PRIVATE. Referenced by cr_box_view_new_from_xml_css_bufs(). |
|
Destuctor of CRLayEng.
Definition at line 1601 of file cr-lay-eng.c. References cr_sel_eng_destroy(), and PRIVATE. |
|
The first function to call prior to any other method of the layout engine.
Definition at line 1473 of file cr-lay-eng.c. |
|
Recursively computes the sizes and positions of each box in the box tree.
Definition at line 1582 of file cr-lay-eng.c. References CR_BAD_PARAM_ERROR, CR_OK, and CRStatus. Referenced by cr_box_view_layout(). |
|
Instanciates a new Layout Engine. return the new instance of CRLayEng or NULL if an error occured. Definition at line 1490 of file cr-lay-eng.c. |