FuncDoodle
Loading...
Searching...
No Matches
PopupRegistry.h File Reference

Central registry for UI popup state management. More...

#include <map>
#include <string_view>

Go to the source code of this file.

Classes

class  FuncDoodle::PopupRegistry
 Stores all popups used in FuncDoodle. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Central registry for UI popup state management.

This file defines the PopupRegistry class, which manages the open/close state of UI popups within FuncDoodle.

Responsibilities include:

  • Registering popup identifiers
  • Opening and closing individual popups
  • Querying popup visibility state
  • Bulk closing operations (all or all except one)

Popups are stored in a map keyed by string_view identifiers.

Note
Popup state is stored as simple boolean flags.
Warning
string_view keys must reference stable string storage elsewhere.