diff options
-rw-r--r-- | src/menu/static.cpp | 5 | ||||
-rw-r--r-- | src/menu/static.hpp | 1 |
2 files changed, 6 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; diff --git a/src/menu/static.hpp b/src/menu/static.hpp index 596e3b57..6f5ce59a 100644 --- a/src/menu/static.hpp +++ b/src/menu/static.hpp @@ -50,6 +50,7 @@ namespace usdx virtual void draw_stroke(void) = 0; virtual void draw_fill(void) = 0; void register_vertices(const float *vertices, const size_t count); + size_t get_vertices_count(void) const; public: Static(const RgbColor& stroke); |