forked from Green-Sky/tomato
screen concept
This commit is contained in:
10
src/screen.hpp
Normal file
10
src/screen.hpp
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
struct Screen {
|
||||
virtual ~Screen(void) = default;
|
||||
|
||||
// return nullptr if not next
|
||||
// sets bool quit to true if exit
|
||||
virtual Screen* poll(bool& quit) = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user