tlac: move drawing to utilities as its own class (rather than littering the components namespace), simplify menu coordinates management of pause

This commit is contained in:
somewhatlurker
2019-10-25 23:04:28 +11:00
parent eab8f0bfc0
commit eb885c97b3
8 changed files with 526 additions and 448 deletions
@@ -3,6 +3,7 @@
#include "EmulatorComponent.h"
#include "PlayerData.h"
#include "GameState.h"
#include "../Utilities/Drawing.h"
#include "Input/InputState.h"
#include "Input/TouchSliderState.h"
#include <string>
@@ -123,5 +124,7 @@ namespace TLAC::Components
static void setMenuPos(menusets set, int pos);
static float getMenuAnimPos();
static TLAC::Utilities::Drawing::Point getMenuItemCoord(menusets set, int pos);
};
}