16 #ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
46 class debug_layout_graph
55 explicit debug_layout_graph(
const window* window);
60 static const unsigned MANUAL = 0 << 0;
65 static const unsigned SHOW = 1 << 0;
69 static const unsigned LAYOUT = 1 << 1;
80 static void set_level(
const std::string&
level);
88 static void set_domain(
const std::string& domain);
98 void generate_dot_file(
const std::string&
generator,
const unsigned domain);
102 const window* window_;
105 unsigned sequence_number_;
108 std::string filename_base_;
121 void widget_generate_info(std::ostream& out,
122 const widget* widget,
123 const std::string&
id,
124 const bool embedded =
false)
const;
132 void widget_generate_basic_info(std::ostream& out,
133 const widget* widget)
const;
141 void widget_generate_state_info(std::ostream& out,
142 const widget* widget)
const;
150 void widget_generate_size_info(std::ostream& out,
151 const widget* widget)
const;
162 void grid_generate_info(std::ostream& out,
164 const std::string& parent_id)
const;
173 void child_generate_info(std::ostream& out,
175 const std::string&
id)
const;
192 std::string get_type(
const widget* widget)
const;
rng * generator
This generator is automatically synced during synced context.