All Classes |Grouped Classes |Index

Class CL_SpanLayout

Span layout class. More...

Derived from:

None

Derived by:

None

Group:

2D (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_SpanLayout


Operations:

clear

Clear.

add_text

Add text.

add_image

Add image.

add_component

Add component.

layout

Layout.

set_position

Set position.

get_size

Get Size.

get_rect_by_id

Get Rect By Id.

hit_test

Hit test.

draw_layout

Draw layout.

draw_layout_ellipsis

Draw layout generating ellipsis for clipped text.

set_component_geometry

Set component geometry.

find_preferred_size

Find preferred size.

set_selection_range

Set selection range.

set_selection_colors

Set selection colors.

show_cursor

Shows the cursor caret.

hide_cursor

Hides the cursor caret.

set_cursor_pos

Sets the cursor position.

set_cursor_overwrite_mode

Toggles whether the cursor caret is shown as a solid box or a line.

set_cursor_color

Sets the cursor color.

get_combined_text

Get Combined text.

set_align

Sets the text alignment.

get_first_baseline_offset

Returns the baseline offset for the first baseline.

get_last_baseline_offset

Returns the baseline offset for the last baseline.