Skip to content
João Cardoso edited this page Dec 5, 2019 · 24 revisions

This is a list of all Sushi classes, divided into categories exactly as they are in the classes directory. Keep in mind that all classes inherit the methods from their frame types and parent classes, unless overwritten. Classes are implemented using Poncho-2.0, so they also inherit the methods provided by the library.

⚠️ Documentation for multiple classes originally written for Sushi-3.0. Might not be up to date.

Core

These are the simplest base abstract classes, which cannot be initialized and simply exist to be inherited by others.

Class Abstract Inherits
Callable ✔️ Base
Labeled ✔️ Tipped
Tipped ✔️ Callable

Buttons

Here are listed classes that exist for the sole purpose of creating simple clickable buttons.

Class Abstract Inherits
Clickable ✔️ Tipped
GrayButton RedButton
Header Clickable
Help Clickable
RedButton TextedClickable
TextedClickable ✔️ Clickable

CheckButtons

Here are listed classes that implement more complex buttons, with a checkable behavior.

Class Abstract Inherits
Check TextedClickable
ColorPicker TextedClickable
ExpandCheck Check
IconCheck Check

Dropdowns

Here are listed classes that implement or make use of dropdown menus. They are extremely useful to avoid generating taint from using the default UIDropDownMenu API.

Class Abstract Inherits
DropButton Clickable
DropChoice Labeled
Dropdown Group

Editboxes

Here are listed classes that implement regions of user-editable text.

Class Abstract Inherits
Editable ✔️ Labeled
BoxEdit Editable
DarkEdit Editable

Groups

Here are listed classes that implement containers for other frames. They manage the creation, release and layout of their children automatically.

Class Abstract Inherits
CreditsGroup OptionsGroup
FauxScrollGroup Group
Group Callable
OptionsGroup Group

Miscellaneous

Here are listed classes that do not fit the previous categories.

Class Abstract Inherits
Glowbox Callable
Popup Base
Slider Labeled