- Renderer now vould use more screen Objects - Register default Top and Bottom Screens (for Overlays and UI7) - Make ToHex an Inline header func - Add GetCompilerVersion - Add Library Compile And Version Info to common - Remove z of vertex object and shader in position - Add Container base and SubContainers to UI7 - Add abillity to Join Multiple Objects in Same Line and Center them - Fix LayerOrder Bug for updating texts in DrawList
12 lines
321 B
C++
12 lines
321 B
C++
#include <pd/ui7/container/label.hpp>
|
|
|
|
namespace PD {
|
|
namespace UI7 {
|
|
void Label::Draw() {
|
|
Assert(ren.get() && list.get() && linked_theme,
|
|
"Did you run Container::Init correctly?");
|
|
ren->OnScreen(screen);
|
|
list->AddText(pos, label, linked_theme->Get(UI7Color_Text));
|
|
}
|
|
} // namespace UI7
|
|
} // namespace PD
|