#include <scim_attributes.h>
Public Member Functions | |
Attribute (unsigned int start=0, unsigned int length=0, AttributeType type=SCIM_ATTR_NONE) | |
Constructor. | |
AttributeType | get_type () const |
Get the type of this attribute. | |
unsigned int | get_start () const |
Get the start position of this attribute. | |
unsigned int | get_length () const |
Get the length of this attribute. | |
unsigned int | get_end () const |
Get the end position of this attribute. | |
void | set_type (AttributeType type) |
Set the type of this attribute. | |
void | set_start (unsigned int start) |
Set the start position of this attribute. | |
void | set_length (unsigned int length) |
Set the length of this attribute. |
The string attributes control the effect of the string drawn by FrontEnds. There are currently four valid effects. Please refer to scim::AttributeType for effect details.
Definition at line 68 of file scim_attributes.h.
|
Constructor.
Definition at line 82 of file scim_attributes.h. |
|
Get the type of this attribute.
Definition at line 92 of file scim_attributes.h. References scim::AttributeType. |
|
Get the start position of this attribute.
Definition at line 98 of file scim_attributes.h. |
|
Get the length of this attribute.
Definition at line 104 of file scim_attributes.h. |
|
Get the end position of this attribute.
Definition at line 110 of file scim_attributes.h. |
|
Set the type of this attribute.
Definition at line 116 of file scim_attributes.h. |
|
Set the start position of this attribute.
Definition at line 122 of file scim_attributes.h. |
|
Set the length of this attribute.
Definition at line 130 of file scim_attributes.h. |