MCPcopy Create free account
hub / github.com/dfranx/SHADERed / ObjectPreviewUI

Method ObjectPreviewUI

src/SHADERed/UI/ObjectPreviewUI.h:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 class ObjectPreviewUI : public UIView {
11 public:
12 ObjectPreviewUI(GUIManager* ui, ed::InterfaceManager* objects, const std::string& name = "", bool visible = true)
13 : UIView(ui, objects, name, visible)
14 {
15 m_cubePrev.Init(256, 192);
16 m_tex3DPrev.Init();
17 m_curHoveredItem = -1;
18 m_initRowSize = false;
19 m_saveObject = nullptr;
20 }
21 ~ObjectPreviewUI() { }
22
23 virtual void OnEvent(const SDL_Event& e);

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected