mirror of https://github.com/bsnes-emu/bsnes.git
28 lines
704 B
C++
28 lines
704 B
C++
#if defined(Hiro_Object)
|
|
|
|
namespace hiro {
|
|
|
|
struct pObject : mLock {
|
|
pObject(mObject& reference) : reference(reference) {}
|
|
virtual ~pObject() = default;
|
|
virtual auto construct() -> void;
|
|
virtual auto destruct() -> void;
|
|
virtual auto reconstruct() -> void;
|
|
|
|
virtual auto focused() const -> bool;
|
|
virtual auto remove() -> void;
|
|
virtual auto reset() -> void;
|
|
virtual auto setEnabled(bool enabled) -> void;
|
|
virtual auto setFocused() -> void;
|
|
virtual auto setFont(const Font& font) -> void;
|
|
virtual auto setGroup(sGroup group) -> void;
|
|
virtual auto setParent(mObject* parent, int offset) -> void;
|
|
virtual auto setVisible(bool visible) -> void;
|
|
|
|
mObject& reference;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|