- Text now requires a font and is able to take an individual scale - Container requires &ref for Elements to make sure they always exist - SetViewport now sets the canvas as well - SetBaseViewport Sets the Virtual Canvas Size - Layout Now requires a Drawlist reference in Render function - main.cpp: updated the template
17 lines
313 B
C++
17 lines
313 B
C++
#pragma once
|
|
|
|
#include <pd/ultra/canvas.hpp>
|
|
#include <pd/ultra/container.hpp>
|
|
#include <pd/ultra/elems/element.hpp>
|
|
|
|
namespace PD {
|
|
namespace Ultra {
|
|
class PD_API Layout : public Container {
|
|
public:
|
|
Layout() {}
|
|
~Layout() {}
|
|
|
|
void Render(PD::Li::Drawlist& list);
|
|
};
|
|
} // namespace Ultra
|
|
} // namespace PD
|