Init with AnchorLayout and the content size of m_buttonMenu and m_bgSprite being tied to the size of m_mainLayer (rather than being the size of the window)
Class Popup
#include <Geode/ui/Popup.hpp>classPopup:publicFLAlertLayer{ ... }
No description provided
Examples0
Public static methods0
Public member functions0
Fields0
Protected member functions9
virtualvoidregisterWithTouchDispatcher()
No description provided
boolinit(floatwidth,floatheight,,cocos2d::CCRectbgRect)
boolinit(cocos2d::CCSizesize,,cocos2d::CCRectbgRect)
No description provided
virtualvoidkeyBackClicked()
No description provided
virtualvoidonClose()
No description provided
voidsetTitle(geode::ZStringViewtitle,charconst*font,floatscale,floatoffset)
No description provided
geode::Popup::CloseEventlistenForClose()
Returns an event filter that listens for when this popup is closed
Protected fields4
cocos2d::CCSizem_size;
No description provided
geode::NineSlice*m_bgSprite;
No description provided
cocos2d::CCLabelBMFont*m_title;
No description provided
CCMenuItemSpriteExtra*m_closeBtn;
No description provided