mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
Add sequences for simple common menu properties
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "CommonItemDef.h"
|
||||
#include "CommonMenuTypes.h"
|
||||
|
||||
namespace menu
|
||||
{
|
||||
@ -11,9 +12,35 @@ namespace menu
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
CommonRect m_rect;
|
||||
int m_style;
|
||||
int m_border;
|
||||
double m_border_size;
|
||||
CommonColor m_back_color;
|
||||
CommonColor m_fore_color;
|
||||
CommonColor m_border_color;
|
||||
CommonColor m_focus_color;
|
||||
std::string m_background;
|
||||
int m_owner_draw;
|
||||
int m_owner_draw_flags;
|
||||
std::string m_sound_loop;
|
||||
double m_fade_clamp;
|
||||
int m_fade_cycle;
|
||||
double m_fade_amount;
|
||||
double m_fade_in_amount;
|
||||
double m_blur_radius;
|
||||
std::string m_allowed_binding;
|
||||
|
||||
bool m_full_screen;
|
||||
bool m_screen_space;
|
||||
bool m_decoration;
|
||||
bool m_out_of_bounds_click;
|
||||
bool m_popup;
|
||||
bool m_legacy_split_screen_scale;
|
||||
bool m_hidden_during_scope;
|
||||
bool m_hidden_during_flashbang;
|
||||
bool m_hidden_during_ui;
|
||||
bool m_text_only_focus;
|
||||
|
||||
std::vector<std::unique_ptr<CommonItemDef>> m_items;
|
||||
};
|
||||
|
@ -13,4 +13,14 @@ namespace menu
|
||||
};
|
||||
double array[4];
|
||||
};
|
||||
|
||||
struct CommonRect
|
||||
{
|
||||
double x;
|
||||
double y;
|
||||
double w;
|
||||
double h;
|
||||
int horizontalAlign;
|
||||
int verticalAlign;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user