Jump to content

Acnologia

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Acnologia

  1. GUI* gui = GUI::Create(context); Widget* base = gui->GetBase(); base->SetScript("Scripts/GUI/Panel.lua"); Widget* button = Widget::Button("Spawn", 20, 20, 100, 40, base); button->SetScript("Scripts/GUI/Button.lua"); Image* img = new Image(); std::cout << img->Initialize(L"Materials/Developer/bluegrid.tex") << std::endl; button->SetImage(img); I used standard lua scripts.
×
×
  • Create New...