Project Alice
Loading...
Searching...
No Matches
gui_deserialize.hpp File Reference
#include <vector>
#include <string>
#include <string_view>
#include "stools.hpp"
#include "gui/gui_graphics.hpp"
#include "text/text.hpp"
#include "unordered_dense.h"
#include "simple_fs.hpp"
Include dependency graph for gui_deserialize.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  aui_window_data
 
struct  ogl::color4f
 
struct  table_display_column
 
struct  aui_element_data
 

Namespaces

namespace  ogl
 

Enumerations

enum class  aui_background_type : uint8_t { none , texture , bordered_texture , existing_gfx }
 
enum class  aui_text_type : uint8_t { body , header }
 
enum class  aui_container_type : uint8_t { none , list , grid }
 
enum class  aui_property : uint8_t {
  texture = 1 , tooltip_text_key = 2 , text_key = 3 , rectangle_color = 4 ,
  text_color = 5 , background = 6 , no_grid = 7 , text_align = 8 ,
  dynamic_element = 9 , dynamic_tooltip = 10 , can_disable = 11 , can_hide = 12 ,
  left_click_action = 13 , right_click_action = 14 , shift_click_action = 15 , dynamic_text = 16 ,
  border_size = 17 , text_scale = 18 , text_type = 19 , container_type = 20 ,
  child_window = 21 , list_content = 22 , data_member = 23 , has_alternate_bg = 24 ,
  alternate_bg = 25 , ignore_rtl = 25 , draggable = 26 , table_highlight_color = 27 ,
  ascending_sort_icon = 28 , descending_sort_icon = 29 , row_background_a = 30 , row_background_b = 31 ,
  row_height = 32 , table_insert = 33 , table_display_column_data = 34 , table_internal_column_data = 35 ,
  table_divider_color = 36 , table_has_per_section_headers = 37 , animation_type = 38 , datapoints = 39 ,
  other_color = 40
}
 

Functions

void bytes_to_windows (char const *bytes, size_t size, std::string const &project_name, ankerl::unordered_dense::map< std::string, sys::aui_pending_bytes > &map)
 
aui_window_data read_window_bytes (char const *bytes, size_t size, std::vector< sys::aui_pending_bytes > &children_out)
 
aui_element_data read_child_bytes (char const *bytes, size_t size)
 

Enumeration Type Documentation

◆ aui_background_type

enum class aui_background_type : uint8_t
strong
Enumerator
none 
texture 
bordered_texture 
existing_gfx 

Definition at line 11 of file gui_deserialize.hpp.

◆ aui_container_type

enum class aui_container_type : uint8_t
strong
Enumerator
none 
list 
grid 

Definition at line 18 of file gui_deserialize.hpp.

◆ aui_property

enum class aui_property : uint8_t
strong
Enumerator
texture 
tooltip_text_key 
text_key 
rectangle_color 
text_color 
background 
no_grid 
text_align 
dynamic_element 
dynamic_tooltip 
can_disable 
can_hide 
left_click_action 
right_click_action 
shift_click_action 
dynamic_text 
border_size 
text_scale 
text_type 
container_type 
child_window 
list_content 
data_member 
has_alternate_bg 
alternate_bg 
ignore_rtl 
draggable 
table_highlight_color 
ascending_sort_icon 
descending_sort_icon 
row_background_a 
row_background_b 
row_height 
table_insert 
table_display_column_data 
table_internal_column_data 
table_divider_color 
table_has_per_section_headers 
animation_type 
datapoints 
other_color 

Definition at line 24 of file gui_deserialize.hpp.

◆ aui_text_type

enum class aui_text_type : uint8_t
strong
Enumerator
body 
header 

Definition at line 14 of file gui_deserialize.hpp.

Function Documentation

◆ bytes_to_windows()

void bytes_to_windows ( char const *  bytes,
size_t  size,
std::string const &  project_name,
ankerl::unordered_dense::map< std::string, sys::aui_pending_bytes > &  map 
)
inline

Definition at line 68 of file gui_deserialize.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_child_bytes()

aui_element_data read_child_bytes ( char const *  bytes,
size_t  size 
)
inline

Definition at line 192 of file gui_deserialize.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_window_bytes()

aui_window_data read_window_bytes ( char const *  bytes,
size_t  size,
std::vector< sys::aui_pending_bytes > &  children_out 
)
inline

Definition at line 152 of file gui_deserialize.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: