mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
22 lines
418 B
C++
22 lines
418 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "game/game_handler.hpp"
|
||
|
|
#include <imgui.h>
|
||
|
|
|
||
|
|
namespace wowee { namespace ui {
|
||
|
|
|
||
|
|
class QuestLogScreen {
|
||
|
|
public:
|
||
|
|
void render(game::GameHandler& gameHandler);
|
||
|
|
bool isOpen() const { return open; }
|
||
|
|
void toggle() { open = !open; }
|
||
|
|
void setOpen(bool o) { open = o; }
|
||
|
|
|
||
|
|
private:
|
||
|
|
bool open = false;
|
||
|
|
bool lKeyWasDown = false;
|
||
|
|
int selectedIndex = -1;
|
||
|
|
};
|
||
|
|
|
||
|
|
}} // namespace wowee::ui
|