aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/static.cpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-11-23 20:49:40 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-18 19:34:21 +0100
commit72eee6ca4f1a5271c0185b0d98df4b1ca5204f0c (patch)
tree55df1b3c1389478b3dbec945ef5f99a7576e4ddd /src/menu/static.cpp
parentf12ecf7f9de6eb140e662f16483893689aa776b0 (diff)
downloadusdx-72eee6ca4f1a5271c0185b0d98df4b1ca5204f0c.tar.gz
usdx-72eee6ca4f1a5271c0185b0d98df4b1ca5204f0c.tar.xz
usdx-72eee6ca4f1a5271c0185b0d98df4b1ca5204f0c.zip
menu/static: add getter for vertices_count
Diffstat (limited to '')
-rw-r--r--src/menu/static.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/menu/static.cpp b/src/menu/static.cpp
index 452ce055..3ac74267 100644
--- a/src/menu/static.cpp
+++ b/src/menu/static.cpp
@@ -131,6 +131,11 @@ namespace usdx
}
}
+ size_t Static::get_vertices_count(void) const
+ {
+ return vertices_count;
+ }
+
void Static::set_stroke(const RgbColor& stroke)
{
this->stroke = stroke;