
Public Types | |
| typedef std::pair< int, subset_id > | block_t |
| typedef std::map< int, block_t > | cbmap_t |
Public Member Functions | |
| char_block_map () | |
| void | insert (int first, int last, subset_id id) |
| Associates not-associated parts of a range with a new font. | |
| void | compress () |
| Compresses map by merging consecutive ranges with the same font, even if there is some unassociated ranges inbetween. | |
| subset_id | get_id (int ch) |
Public Attributes | |
| cbmap_t | cbmap |
Definition at line 97 of file font.cpp.
| typedef std::pair<int, subset_id> char_block_map::block_t |
| typedef std::map<int, block_t> char_block_map::cbmap_t |
| void char_block_map::compress | ( | ) | [inline] |
Compresses map by merging consecutive ranges with the same font, even if there is some unassociated ranges inbetween.
Definition at line 133 of file font.cpp.
Referenced by font::set_font_list().

| subset_id char_block_map::get_id | ( | int | ch | ) | [inline] |
Definition at line 149 of file font.cpp.
References cbmap.
Referenced by split_text().

| void char_block_map::insert | ( | int | first, | |
| int | last, | |||
| subset_id | id | |||
| ) | [inline] |
Associates not-associated parts of a range with a new font.
Definition at line 108 of file font.cpp.
References cbmap.
Referenced by font::set_font_list().

Definition at line 106 of file font.cpp.
Referenced by clear_fonts(), compress(), get_id(), and insert().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:44 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |