[nostalgia/core/studio] Add PaletteEditorImGui::itemDisplayName()
This commit is contained in:
parent
3fd25782c0
commit
83ad1623d3
@ -170,6 +170,10 @@ ox::Result<PaletteEditorImGui*> PaletteEditorImGui::make(Context *ctx, const ox:
|
||||
}
|
||||
|
||||
const ox::String &PaletteEditorImGui::itemName() const {
|
||||
return m_itemPath;
|
||||
}
|
||||
|
||||
const ox::String &PaletteEditorImGui::itemDisplayName() const noexcept {
|
||||
return m_itemName;
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,8 @@ class PaletteEditorImGui: public studio::Editor {
|
||||
*/
|
||||
const ox::String &itemName() const override;
|
||||
|
||||
const ox::String &itemDisplayName() const noexcept override;
|
||||
|
||||
void draw(core::Context*) noexcept override;
|
||||
|
||||
studio::UndoStack *undoStack() noexcept final;
|
||||
|
Loading…
Reference in New Issue
Block a user