From 7ccb819f867493f8ec202ea3b39c94c198c64584 Mon Sep 17 00:00:00 2001 From: JustSomePwner Date: Thu, 30 Aug 2018 14:01:54 +0200 Subject: first --- loader/ui_dropdown_item.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 loader/ui_dropdown_item.h (limited to 'loader/ui_dropdown_item.h') 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 -- cgit v1.2.3