yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_widgets.cc File Reference
#include "app/editor/layout_designer/yaze_widgets.h"
#include "absl/strings/str_format.h"
#include "app/gui/core/icons.h"
Include dependency graph for yaze_widgets.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::layout_designer
 

Functions

const char * yaze::editor::layout_designer::GetYazeWidgetTypeName (YazeWidgetType type)
 Get human-readable name for yaze widget type.
 
const char * yaze::editor::layout_designer::GetYazeWidgetTypeIcon (YazeWidgetType type)
 Get icon for yaze widget type.
 
std::string yaze::editor::layout_designer::GenerateYazeWidgetCode (YazeWidgetType yaze_type, const WidgetDefinition &widget, int indent_level=0)
 Generate code for yaze widget (uses yaze abstractions)
 
std::vector< std::string > yaze::editor::layout_designer::GetRequiredIncludes (YazeWidgetType type)
 Check if yaze widget requires specific includes.
 
std::vector< WidgetPropertyyaze::editor::layout_designer::GetYazeDefaultProperties (YazeWidgetType type)
 Get default properties for yaze widget type.