• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TextMate is a graphical text editor for OS X 10.7+


Commit MetaInfo

Revision9d99e1c617b620c9599b53f699c97bd8f392edd3 (tree)
Time2012-08-19 05:27:06
AuthorAllan Odgaard <git@abet...>
CommiterAllan Odgaard

Log Message

fixup! Represent font size using a CGFloat

Change Summary

Incremental Difference

--- a/Frameworks/theme/src/theme.cc
+++ b/Frameworks/theme/src/theme.cc
@@ -11,7 +11,7 @@ static void get_key_path (plist::dictionary_t const& plist, std::string const& s
1111 color = read_color(temp_str);
1212 }
1313
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)
1515 {
1616 std::string temp_str = NULL_STR;
1717 plist::get_key_path(plist, setting, temp_str);
--- a/Frameworks/theme/src/theme.h
+++ b/Frameworks/theme/src/theme.h
@@ -55,7 +55,7 @@ private:
5555
5656 struct decomposed_style_t
5757 {
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) { }
5959 decomposed_style_t& operator+= (decomposed_style_t const& rhs);
6060
6161 scope::selector_t scope_selector;