Macros | Functions
layout.h File Reference
#include <FL/Fl.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Widget.H>
#include <algorithm>
Include dependency graph for layout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADD_BELOW_XY   addBelowX(), addBelowY()
 
#define ADD_RIGHT_XY   addRightX(), addRightY()
 
#define GAP_SIZE   10
 

Functions

int addBelowX (int gap=GAP_SIZE)
 Computes the x coordinate of a widget in the next line. More...
 
int addBelowY (int gap=GAP_SIZE)
 Computes the y coordinate of a widget to the next line. More...
 
int addRightX (int gap=GAP_SIZE)
 Computes the x coordinate of a widget to the right of the last added widget. More...
 
int addRightY (int gap=GAP_SIZE)
 Computes the y coordinate of a widget to the right of the last added widget. More...
 
void checkGroupSize (const char *group_name)
 The size of the current group must be set before adding all children, especially resizable ones. More...
 

Macro Definition Documentation

◆ ADD_BELOW_XY

#define ADD_BELOW_XY   addBelowX(), addBelowY()

Definition at line 121 of file layout.h.

◆ ADD_RIGHT_XY

#define ADD_RIGHT_XY   addRightX(), addRightY()

Definition at line 120 of file layout.h.

◆ GAP_SIZE

#define GAP_SIZE   10

Definition at line 21 of file layout.h.

Function Documentation

◆ addBelowX()

int addBelowX ( int  gap = GAP_SIZE)
inline

Computes the x coordinate of a widget in the next line.

Definition at line 59 of file layout.h.

◆ addBelowY()

int addBelowY ( int  gap = GAP_SIZE)
inline

Computes the y coordinate of a widget to the next line.

Definition at line 68 of file layout.h.

◆ addRightX()

int addRightX ( int  gap = GAP_SIZE)
inline

Computes the x coordinate of a widget to the right of the last added widget.

Definition at line 27 of file layout.h.

◆ addRightY()

int addRightY ( int  gap = GAP_SIZE)
inline

Computes the y coordinate of a widget to the right of the last added widget.

Definition at line 43 of file layout.h.

◆ checkGroupSize()

void checkGroupSize ( const char *  group_name)
inline

The size of the current group must be set before adding all children, especially resizable ones.

This function can be used to check if the size of the group has been set correctly. A warning is printed if this is not the case.

Definition at line 88 of file layout.h.



rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56