mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -12,7 +12,7 @@ class WSWindowFrame;
|
|||
|
||||
class WSButton : public Weakable<WSButton> {
|
||||
public:
|
||||
WSButton(WSWindowFrame&, Retained<CharacterBitmap>&&, Function<void(WSButton&)>&& on_click_handler);
|
||||
WSButton(WSWindowFrame&, NonnullRefPtr<CharacterBitmap>&&, Function<void(WSButton&)>&& on_click_handler);
|
||||
~WSButton();
|
||||
|
||||
Rect relative_rect() const { return m_relative_rect; }
|
||||
|
@ -34,7 +34,7 @@ public:
|
|||
private:
|
||||
WSWindowFrame& m_frame;
|
||||
Rect m_relative_rect;
|
||||
Retained<CharacterBitmap> m_bitmap;
|
||||
NonnullRefPtr<CharacterBitmap> m_bitmap;
|
||||
bool m_pressed { false };
|
||||
bool m_visible { true };
|
||||
bool m_hovered { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue