I have some code to draw a background, it's inside an inherited class from a base class and the function is called by the base class. I call it like this:
Code: Select all
IMainMenu mainMenu;
mainMenu.loadMainMenu();
Code: Select all
IMainMenu mainMenu;
mainMenu.loadMainMenu();
Code: Select all
IMainMenu *mainMenu = new IMainMenu();
mainMenu->loadMainMenu();