ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge File Reference

#include "backends/platform/sdl/macosx/appmenu_osx.h"
#include "common/translation.h"
#include "backends/platform/sdl/macosx/macosx-compat.h"
#include <Cocoa/Cocoa.h>
#include <AppKit/NSWorkspace.h>
Include dependency graph for

Go to the source code of this file.


class  NSApplication(MissingFunction)
class  ScummVMMenuHandler




static void openFromBundle (NSString *file)
NSString * constructNSStringFromCString (const char *rawCString, CFStringEncoding stringEncoding)
static NSMenu * addMenu (const char *title, CFStringEncoding encoding, NSString *key, SEL setAs)
static void addMenuItem (const char *title, CFStringEncoding encoding, id target, SEL selector, NSString *key, NSMenu *parent, NSEventModifierFlags flags=0)
void releaseMenu ()
void replaceApplicationMenuItems ()


static ScummVMMenuHandlerdelegate = nullptr

Define Documentation


Definition at line 24 of file

Function Documentation

static NSMenu* addMenu ( const char *  title,
CFStringEncoding  encoding,
NSString *  key,
SEL  setAs 
) [static]

Definition at line 123 of file

static void addMenuItem ( const char *  title,
CFStringEncoding  encoding,
id  target,
SEL  selector,
NSString *  key,
NSMenu *  parent,
NSEventModifierFlags  flags = 0 
) [static]

Definition at line 141 of file

NSString* constructNSStringFromCString ( const char *  rawCString,
CFStringEncoding  stringEncoding 

Definition at line 119 of file

static void openFromBundle ( NSString *  file  )  [static]

Definition at line 62 of file

void releaseMenu (  ) 

Definition at line 159 of file

void replaceApplicationMenuItems (  ) 

Definition at line 164 of file

Variable Documentation

Definition at line 87 of file

ScummVMMenuHandler* delegate = nullptr [static]

Definition at line 157 of file

Generated on Sat Apr 20 2019 05:04:47 for ResidualVM by doxygen 1.7.1
curved edge   curved edge