TextMate is a graphical text editor for OS X 10.7+
Revision | 9d99e1c617b620c9599b53f699c97bd8f392edd3 (tree) |
---|---|
Time | 2012-08-19 05:27:06 |
Author | Allan Odgaard <git@abet...> |
Commiter | Allan Odgaard |
fixup! Represent font size using a CGFloat
@@ -11,7 +11,7 @@ static void get_key_path (plist::dictionary_t const& plist, std::string const& s | ||
11 | 11 | color = read_color(temp_str); |
12 | 12 | } |
13 | 13 | |
14 | -static void get_key_path(plist::dictionary_t const& plist, std::string const& setting, CGFloat &font_size) | |
14 | +static void get_key_path (plist::dictionary_t const& plist, std::string const& setting, CGFloat& font_size) | |
15 | 15 | { |
16 | 16 | std::string temp_str = NULL_STR; |
17 | 17 | plist::get_key_path(plist, setting, temp_str); |
@@ -55,7 +55,7 @@ private: | ||
55 | 55 | |
56 | 56 | struct decomposed_style_t |
57 | 57 | { |
58 | - decomposed_style_t (scope::selector_t const& scopeSelector = scope::selector_t(), std::string const& fontName = NULL_STR, CGFloat fontSize = 0) : scope_selector(scopeSelector), font_name(fontName), bold(bool_unset), italic(bool_unset), underlined(bool_unset), misspelled(bool_unset), absolute_font_size(fontSize) { } | |
58 | + decomposed_style_t (scope::selector_t const& scopeSelector = scope::selector_t(), std::string const& fontName = NULL_STR, CGFloat fontSize = -1) : scope_selector(scopeSelector), font_name(fontName), bold(bool_unset), italic(bool_unset), underlined(bool_unset), misspelled(bool_unset), absolute_font_size(fontSize) { } | |
59 | 59 | decomposed_style_t& operator+= (decomposed_style_t const& rhs); |
60 | 60 | |
61 | 61 | scope::selector_t scope_selector; |