summaryrefslogtreecommitdiff
path: root/loader/ui_dropdown_item.h
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
commit7ccb819f867493f8ec202ea3b39c94c198c64584 (patch)
tree94622e61af0ff359e3d6689cf274d74f60b2492a /loader/ui_dropdown_item.h
parent564d979b79e8a5aaa5014eba0ecd36c61575934f (diff)
first
Diffstat (limited to 'loader/ui_dropdown_item.h')
-rw-r--r--loader/ui_dropdown_item.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/loader/ui_dropdown_item.h b/loader/ui_dropdown_item.h
new file mode 100644
index 0000000..9ffa60d
--- /dev/null
+++ b/loader/ui_dropdown_item.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "ui_base_item.h"
+
+namespace ui
+{
+ namespace dropdowns
+ {
+ template < typename t = int >
+ struct dropdown_item_t {
+ const char* m_name;
+ t m_value;
+ };
+
+ std::vector< dropdown_item_t< > > games = {
+ { xors( "csgo" ), 1 },
+ { xors( "csgo (beta)" ), 3 },
+ { xors( "tf2" ), 2 },
+ { xors( "gmod (beta)" ), 4 }
+ };
+ }
+} \ No newline at end of file