mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:27:35 +00:00
Add basic GUI API for creating labels and buttons.
This commit is contained in:
parent
17c7bf01a5
commit
b2d86b7597
7 changed files with 99 additions and 8 deletions
|
@ -11,6 +11,12 @@ public:
|
|||
WeakPtr() { }
|
||||
WeakPtr(std::nullptr_t) { }
|
||||
|
||||
template<typename U>
|
||||
WeakPtr(WeakPtr<U>&& other)
|
||||
: m_link(reinterpret_cast<WeakLink<T>*>(other.leakLink()))
|
||||
{
|
||||
}
|
||||
|
||||
template<typename U>
|
||||
WeakPtr& operator=(WeakPtr<U>&& other)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue