yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::dungeon_ui Namespace Reference

Functions

constexpr bool ShouldShowConnectedSidePanel (float viewport_width, bool currently_visible)
 

Variables

constexpr float kDungeonRoomPixelSize = 512.0f
 
constexpr float kConnectedRoomGap = 48.0f
 
constexpr float kConnectedCanvasDefaultScale = 0.18f
 
constexpr float kConnectedCanvasMinScale = 0.12f
 
constexpr float kConnectedCanvasMaxScale = 0.60f
 
constexpr float kConnectedSidePanelGap = 12.0f
 
constexpr float kConnectedSidePanelApproxMinWidth = 196.0f
 
constexpr float kConnectedSidePanelHideHysteresis = 40.0f
 
constexpr float kConnectedControlsApproxHeight = 62.0f
 
constexpr float kConnectedOverviewApproxHeight = 168.0f
 
constexpr float kConnectedPreviewApproxHeight = 212.0f
 
constexpr float kConnectedOverviewMaxWidth = 196.0f
 
constexpr float kConnectedOverviewMaxHeight = 152.0f
 
constexpr float kConnectedCurrentRoomPreviewWidth = 160.0f
 
constexpr float kConnectedCurrentRoomPreviewPadding = 12.0f
 
constexpr float kConnectedRoomLabelPadding = 10.0f
 
constexpr float kConnectedRoomLabelHeight = 28.0f
 
constexpr float kConnectedRoomHighlightThickness = 3.0f
 
constexpr float kConnectedRoomOutlineThickness = 1.5f
 

Function Documentation

◆ ShouldShowConnectedSidePanel()

constexpr bool yaze::editor::dungeon_ui::ShouldShowConnectedSidePanel ( float viewport_width,
bool currently_visible )
constexpr

Variable Documentation

◆ kDungeonRoomPixelSize

◆ kConnectedRoomGap

◆ kConnectedCanvasDefaultScale

constexpr float yaze::editor::dungeon_ui::kConnectedCanvasDefaultScale = 0.18f
inlineconstexpr

Definition at line 24 of file ui_constants.h.

◆ kConnectedCanvasMinScale

constexpr float yaze::editor::dungeon_ui::kConnectedCanvasMinScale = 0.12f
inlineconstexpr

◆ kConnectedCanvasMaxScale

constexpr float yaze::editor::dungeon_ui::kConnectedCanvasMaxScale = 0.60f
inlineconstexpr

◆ kConnectedSidePanelGap

constexpr float yaze::editor::dungeon_ui::kConnectedSidePanelGap = 12.0f
inlineconstexpr

Definition at line 29 of file ui_constants.h.

◆ kConnectedSidePanelApproxMinWidth

constexpr float yaze::editor::dungeon_ui::kConnectedSidePanelApproxMinWidth = 196.0f
inlineconstexpr

Definition at line 30 of file ui_constants.h.

Referenced by ShouldShowConnectedSidePanel().

◆ kConnectedSidePanelHideHysteresis

constexpr float yaze::editor::dungeon_ui::kConnectedSidePanelHideHysteresis = 40.0f
inlineconstexpr

Definition at line 35 of file ui_constants.h.

Referenced by ShouldShowConnectedSidePanel().

◆ kConnectedControlsApproxHeight

constexpr float yaze::editor::dungeon_ui::kConnectedControlsApproxHeight = 62.0f
inlineconstexpr

Definition at line 36 of file ui_constants.h.

◆ kConnectedOverviewApproxHeight

constexpr float yaze::editor::dungeon_ui::kConnectedOverviewApproxHeight = 168.0f
inlineconstexpr

Definition at line 37 of file ui_constants.h.

◆ kConnectedPreviewApproxHeight

constexpr float yaze::editor::dungeon_ui::kConnectedPreviewApproxHeight = 212.0f
inlineconstexpr

Definition at line 38 of file ui_constants.h.

◆ kConnectedOverviewMaxWidth

constexpr float yaze::editor::dungeon_ui::kConnectedOverviewMaxWidth = 196.0f
inlineconstexpr

◆ kConnectedOverviewMaxHeight

constexpr float yaze::editor::dungeon_ui::kConnectedOverviewMaxHeight = 152.0f
inlineconstexpr

◆ kConnectedCurrentRoomPreviewWidth

constexpr float yaze::editor::dungeon_ui::kConnectedCurrentRoomPreviewWidth = 160.0f
inlineconstexpr

Definition at line 45 of file ui_constants.h.

◆ kConnectedCurrentRoomPreviewPadding

constexpr float yaze::editor::dungeon_ui::kConnectedCurrentRoomPreviewPadding = 12.0f
inlineconstexpr

Definition at line 46 of file ui_constants.h.

◆ kConnectedRoomLabelPadding

constexpr float yaze::editor::dungeon_ui::kConnectedRoomLabelPadding = 10.0f
inlineconstexpr

Definition at line 49 of file ui_constants.h.

◆ kConnectedRoomLabelHeight

constexpr float yaze::editor::dungeon_ui::kConnectedRoomLabelHeight = 28.0f
inlineconstexpr

Definition at line 50 of file ui_constants.h.

◆ kConnectedRoomHighlightThickness

constexpr float yaze::editor::dungeon_ui::kConnectedRoomHighlightThickness = 3.0f
inlineconstexpr

Definition at line 51 of file ui_constants.h.

◆ kConnectedRoomOutlineThickness

constexpr float yaze::editor::dungeon_ui::kConnectedRoomOutlineThickness = 1.5f
inlineconstexpr

Definition at line 52 of file ui_constants.h.