#include "dungeon_canvas_viewer.h"#include "util/i18n/tr.h"#include <algorithm>#include <cmath>#include <string>#include <vector>#include "absl/strings/str_format.h"#include "app/editor/dungeon/dungeon_proposal_overlay.h"#include "app/editor/dungeon/ui_constants.h"#include "app/gfx/resource/arena.h"#include "imgui/imgui.h"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::anonymous_namespace{dungeon_canvas_proposal_preview.cc} |
Functions | |
| ImU32 | yaze::editor::anonymous_namespace{dungeon_canvas_proposal_preview.cc}::ToImColor (uint32_t rgba, float alpha_scale=1.0f) |
| void | yaze::editor::anonymous_namespace{dungeon_canvas_proposal_preview.cc}::DrawOutlinedText (ImDrawList *draw_list, ImVec2 pos, ImU32 color, const std::string &text) |
| void | yaze::editor::anonymous_namespace{dungeon_canvas_proposal_preview.cc}::DrawProposalShape (ImDrawList *draw_list, const ProposalShape &shape, const ProposalLayer &layer, ImVec2 room_origin, float scale) |
Variables | |
| constexpr float | yaze::editor::anonymous_namespace{dungeon_canvas_proposal_preview.cc}::kProposalRoomGap = 24.0f |
| constexpr float | yaze::editor::anonymous_namespace{dungeon_canvas_proposal_preview.cc}::kProposalLabelHeight = 22.0f |