Background

Background of View.

Categoryrefcounted
Typehime_background_t
Inheritshime_object_t

Constructors

hime_background_t hime_background_create_solid(color)

Create a background that fills the canvas in the specified color.

Parameters

Return

hime_background_t

hime_background_t hime_background_create_themed_solid(color_id)

Same with CreateSolid except it uses the color specified by the views's ColorProvider and the given color identifier.

Parameters

Return

hime_background_t

hime_background_t hime_background_create_rounded_rect(color, border, radius)

Create a background that fills the canvas with rounded corners.

If using a rounded rect border as well, pass its radius as radius and its thickness as border. This will inset the background properly so it doesn't bleed through the border.

Parameters

Return

hime_background_t

hime_background_t hime_background_create_themed_rounded_rect(color_id, border, radius)

Same with CreateThemedSolid except it uses the color specified by the views's ColorProvider and the given color identifier.

Parameters

Return

hime_background_t