mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 02:23:52 +00:00
feat(editor): select all, recent zones, minimap selection highlights
- Ctrl+A selects all placed objects, context menu has Select All item - selectAll() added to ObjectPlacer, works with multi-select transforms - Recent Zones submenu in File menu (last 8 loaded zones, deduplicated) - Minimap: selected objects shown as white dots with gold ring outline vs yellow dots for unselected objects - Help panel updated with Ctrl+A and Ctrl+Shift+Click documentation
This commit is contained in:
parent
ddf97e9b8a
commit
533c218983
5 changed files with 49 additions and 3 deletions
|
|
@ -138,12 +138,17 @@ private:
|
|||
bool autoSaveEnabled_ = true;
|
||||
bool showQuitConfirm_ = false;
|
||||
|
||||
// Recent zones
|
||||
struct RecentZone { std::string mapName; int tileX; int tileY; };
|
||||
std::vector<RecentZone> recentZones_;
|
||||
|
||||
// Toast notifications
|
||||
struct Toast { std::string msg; float timer; };
|
||||
std::vector<Toast> toasts_;
|
||||
public:
|
||||
void showToast(const std::string& msg, float duration = 3.0f);
|
||||
const std::vector<Toast>& getToasts() const { return toasts_; }
|
||||
const std::vector<RecentZone>& getRecentZones() const { return recentZones_; }
|
||||
void updateToasts(float dt);
|
||||
private:
|
||||
size_t lastObjCount_ = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue