bsnes/hiro/windows/widget/tab-frame.hpp

28 lines
607 B
C++

#if defined(Hiro_TabFrame)
namespace hiro {
struct pTabFrame : pWidget {
Declare(TabFrame, Widget)
auto append(sTabFrameItem item) -> void;
auto remove(sTabFrameItem item) -> void;
auto setEdge(Edge edge) -> void;
auto setEnabled(bool enabled) -> void override;
auto setGeometry(Geometry geometry) -> void override;
auto setVisible(bool visible) -> void override;
auto onChange() -> void;
auto onDrawItem(LPARAM lparam) -> void;
auto _buildImageList() -> void;
auto _synchronizeLayout() -> void;
WindowProc windowProc = nullptr;
HIMAGELIST imageList = nullptr;
};
}
#endif