Jazz2/Editor/Shell/ShellPanels.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.
namespace Jazz2
Root namespace of Jazz² Resurrection.
namespace Jazz2::Editor

Classes

class Jazz2::Editor::LayersPanel
List of the layers of the level, with their visibility and lock.
class Jazz2::Editor::InspectorPanel
Properties of the layer being edited.
class Jazz2::Editor::TileGrid
Tiles of a tile set to pick the stamp from.
class Jazz2::Editor::TilePickerPanel
Panel with the tile grid and its controls.
class Jazz2::Editor::StampPreview
The stamp of the brush, drawn small.
class Jazz2::Editor::StatusBar
Status bar at the bottom of the window.

Functions

void AddPickerPanelTabs(Element* header, IEditorContext& session)
Adds the tabs that switch what the panel with the tiles and the events shows.
auto GetAutoLayerName(const LevelDocument& document, std::int32_t index) -> String
Returns a name for a layer that has none, by what it is.
auto GetLayerTitle(const LevelDocument& document, std::int32_t index) -> String
Returns the name of a layer, or the name it gets by what it is if it has none.

Function documentation

String GetAutoLayerName(const LevelDocument& document, std::int32_t index)

Returns a name for a layer that has none, by what it is.

The renderer tells a textured background, effects or a masked layer. A layer that moves with the sprite layer is known by its number, others are a foreground or a background by whether they're drawn in front of the sprite layer or behind it. index is the index of the layer in document.