yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
dungeon_workbench_layout.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_DUNGEON_WORKSPACE_DUNGEON_WORKBENCH_LAYOUT_H
2
#define YAZE_APP_EDITOR_DUNGEON_WORKSPACE_DUNGEON_WORKBENCH_LAYOUT_H
3
4
#include "imgui/imgui.h"
5
6
namespace
yaze::editor
{
7
8
// Draw a workbench-standard vertical splitter that mutates pane_width.
9
// Returns true when the drag moves past collapse_threshold.
10
bool
DrawDungeonWorkbenchVerticalSplitter
(
const
char
*
id
,
float
height,
11
float
* pane_width,
float
min_width,
12
float
max_width,
13
bool
resize_from_left_edge,
14
float
collapse_threshold = 100.0f);
15
16
}
// namespace yaze::editor
17
18
#endif
// YAZE_APP_EDITOR_DUNGEON_WORKSPACE_DUNGEON_WORKBENCH_LAYOUT_H
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
yaze::editor::DrawDungeonWorkbenchVerticalSplitter
bool DrawDungeonWorkbenchVerticalSplitter(const char *id, float height, float *pane_width, float min_width, float max_width, bool resize_from_left_edge, float collapse_threshold)
Definition
dungeon_workbench_layout.cc:20
src
app
editor
dungeon
workspace
dungeon_workbench_layout.h
Generated by
1.10.0