Creates a generic popup with the specified text and title.
Creates a generic popup with the specified text and title.
1 number width
the width of the popup. Most common sizes are 500 and 600. Unscaled. string-title-the title of the popup. string-text-the text to display on the popup.
2 string titleFont
the font to use for the title.
3 string textFont
the font to use for the text.
4 bool skipButton
optional, whether button creation should be skipped.
5 string popupClass
optional, the popup class to use. If none is specified, will use the Popup class.
an instance of the specified popup class.