Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-19 13:45:07 +0000
committerStijn Buys <ingar@osirion.org>2008-10-19 13:45:07 +0000
commit56cdfd3822d2800abdd2f912ab7f76a5764793a7 (patch)
tree2656c7ef694117e0554ae4a47bb09629c78ed8af /src/ui/paint.h
parente6f1fad441a7737549f463ebac1c9de062b5173d (diff)
scrollpane widget, updated chatbox
Diffstat (limited to 'src/ui/paint.h')
-rw-r--r--src/ui/paint.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/ui/paint.h b/src/ui/paint.h
index c90f1b5..95f1c62 100644
--- a/src/ui/paint.h
+++ b/src/ui/paint.h
@@ -25,20 +25,22 @@ void color(math::Color const & color);
void color_code(const char c);
/// draw a border
-void border(math::Vector2f const &location, math::Vector2f const &size);
+void border(const math::Vector2f &location, const math::Vector2f &size);
/// draw a rectangle
-void rectangle(math::Vector2f const &location, math::Vector2f const &size);
+void rectangle(const math::Vector2f &location, const math::Vector2f &size);
/// draw a rectangular bitmap
-void bitmap(math::Vector2f const &location, math::Vector2f const &size, std::string const &texture);
+void bitmap(const math::Vector2f &location, const math::Vector2f &size, std::string const &texture);
-/// draw one line of text from a string
-void text(math::Vector2f const &location, math::Vector2f const &size, Font const *font,
- std::string const &text, unsigned int align = AlignCenter);
+/// draw aligned text
+void label(const math::Vector2f &location, const math::Vector2f &size, const Font *font, const std::string &text, unsigned int align = AlignCenter);
-/// draw unaligned text from a stringstream
-void text(math::Vector2f const &location, Font const *font, std::stringstream & textstream);
+/// draw unaligned text
+void text(const math::Vector2f &location, const math::Vector2f &size, const Font *font, const std::string &text);
+
+/// draw unaligned text
+void text(const math::Vector2f &location, const math::Vector2f &size, const Font *font, std::stringstream & textstream);
}