Cross-platform C SDK logo
EspañolEnglish
Cross-platform C SDK

Line

❮ Back
Next ❯

#Header

#include <gui/line.h>


#Functions

Line*line_horizontal (void)
Line*line_vertical (void)
voidline_length (...)

Horizontal or vertical separation lines. They are simple decorative controls (Figure 1).

❮ Back
Next ❯

#line_horizontal ()

Create a horizontal separator.

Line*
line_horizontal(void);

Return

The separator.


#line_vertical ()

Create a vertical separator.

Line*
line_vertical(void);

Return

The separator.


#line_length ()

Sets the natural length of the line. By default 100px.

void
line_length(Line *line,
            const real32_t length);
line

The separator.

length

Length (horizontal or vertical).

❮ Back
Next ❯