[nostalgia/core] Cleanup
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "assetmanager.hpp"
|
||||
#include "event.hpp"
|
||||
#include "input.hpp"
|
||||
|
||||
namespace nostalgia::common {
|
||||
class Size;
|
||||
@@ -16,13 +17,7 @@ class Size;
|
||||
namespace nostalgia::core {
|
||||
|
||||
class Context;
|
||||
|
||||
class Drawer {
|
||||
public:
|
||||
virtual ~Drawer() = default;
|
||||
|
||||
virtual void draw(Context*) noexcept = 0;
|
||||
};
|
||||
class Drawer;
|
||||
|
||||
// User Input Output
|
||||
class Context {
|
||||
@@ -31,6 +26,7 @@ class Context {
|
||||
friend constexpr T *applicationData(Context *ctx) noexcept;
|
||||
friend constexpr void setConstantRefresh(Context *ctx, bool) noexcept;
|
||||
friend bool bgStatus(Context *ctx, unsigned bg) noexcept;
|
||||
friend bool buttonDown(Context *ctx, Key) noexcept;
|
||||
friend common::Size getScreenSize(Context *ctx) noexcept;
|
||||
friend int getScreenHeight(Context *ctx) noexcept;
|
||||
friend int getScreenWidth(Context *ctx) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user