Swanium::Frontend::MacosMenu
AppKit submenus used where libui-ng exposes only flat menu items.
Constants
ABOUT = 41
CLEAR_RECENT = 310
FULLSCREEN = 20
LOAD_STATE_BASE = 200
OPEN_ROM = 1
PAUSE = 4
QUIT = 43
RECENT_BASE = 300
RENDER_LINEAR = 32
RENDER_NEAREST = 31
RESET = 5
SAVE_STATE_BASE = 100
SCALE_1 = 11
SCALE_2 = 12
SCALE_3 = 13
SCALE_4 = 14
SETTINGS = 42
Class methods
attach_status(window : Pointer(Void)) : Nil
Sourcedetach_status
Sourceinstall
Sourceopen_rom
Sourcerecent_rom(index : Int32) : String | Nil
Sourcereserved_status_height(window : Pointer(Void)) : Int32
Sourceset_recent_roms(paths : Array(String)) : Nil
Sourceset_state_slots(labels : Array(String), slots : Array(Bool)) : Nil
Sourceshow_about
Sourceshow_error(message : String) : Nil
Sourceshow_settings
Sourcesync_settings(keyboard : Array(String), buttons : Array(String), directions : Array(Int32)) : Nil
Sourcetake_action
Sourceupdate_status(text : String) : Nil
Sourcevolume
Sourcevolume=(value : Int32) : Nil
Source