Orcus
|
#include <import_interface_styles.hpp>
Public Member Functions | |
virtual void | set_style (border_direction_t dir, border_style_t style)=0 |
virtual void | set_color (border_direction_t dir, color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual void | set_width (border_direction_t dir, double width, orcus::length_unit_t unit)=0 |
virtual size_t | commit ()=0 |
Interface for importing border style items.
|
pure virtual |
Commit the border style in the current buffer.
|
pure virtual |
Set the color of a border.
dir | position of a border to set the color to. |
alpha | alpha element of the color. |
red | red element of the color. |
green | green element of the color. |
blue | blue element of the color. |
|
pure virtual |
Set the border style to a specified border position.
dir | position of a border to set the style to. |
style | border style to set. |
|
pure virtual |
Set the width of a border.
dir | position of a border. |
width | width of a border. |
unit | unit of measurement to use in the border width. |