Skip to content
Browse files

move font declarations to font.hpp

  • Loading branch information...
1 parent 1856484 commit a93f062f5097f46f6ed418a3536642ee12455972 @jhasse committed Nov 14, 2012
Showing with 14 additions and 14 deletions.
  1. +0 −14 src/jngl/all.hpp
  2. +14 −0 src/jngl/font.hpp
View
14 src/jngl/all.hpp
@@ -57,20 +57,6 @@ namespace jngl {
unsigned char green,
unsigned char blue);
- void print(const std::string& text,
- int xposition,
- int yposition);
-
- int getFontSize();
-
- void setFontSize(int size);
-
- std::string getFont();
-
- void setFont(const std::string& filename);
-
- void setFontByName(const std::string& name);
-
void sleep(int milliseconds);
double getFPS();
View
14 src/jngl/font.hpp
@@ -23,6 +23,20 @@ namespace jngl {
boost::shared_ptr<FontImpl> impl;
};
+ void print(const std::string& text,
+ int xposition,
+ int yposition);
+
+ int getFontSize();
+
+ void setFontSize(int size);
+
+ std::string getFont();
+
+ void setFont(const std::string& filename);
+
+ void setFontByName(const std::string& name);
+
void setFontColor(unsigned char red,
unsigned char green,
unsigned char blue,

0 comments on commit a93f062

Please sign in to comment.
Something went wrong with that request. Please try again.