Enum cursive::theme::ColorStyle [] [src]

pub enum ColorStyle {
    Background,
    Shadow,
    Primary,
    Secondary,
    Tertiary,
    TitlePrimary,
    TitleSecondary,
    Highlight,
    HighlightInactive,
}

Possible color style for a cell.

Represents a color pair role to use when printing something.

The current theme will assign each role a foreground and background color.

Variants

Application background, where no view is present.

Color used by view shadows. Only background matters.

Main text with default background.

Secondary text color, with default background.

Tertiary text color, with default background.

Title text color with default background.

Alternative color for a title.

Alternate text with highlight background.

Highlight color for inactive views (not in focus).

Methods

impl ColorStyle
[src]

Returns the ncurses pair ID associated with this color pair.

Trait Implementations

impl Clone for ColorStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ColorStyle
[src]