mirror of
https://github.com/Clortox/dashboard.git
synced 2026-03-18 07:27:58 +00:00
Add main loop
This commit is contained in:
@@ -233,7 +233,7 @@ SDL_Renderer* board::getRenderer(){
|
||||
// Constructors ///////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
board::board(const bool init = true){
|
||||
board::board(const bool init){
|
||||
_window = nullptr;
|
||||
_renderer = nullptr;
|
||||
|
||||
@@ -316,8 +316,9 @@ int board::init(){
|
||||
// This is where most of the logic lives
|
||||
void board::start(){
|
||||
|
||||
for(;;){
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ int main(int argc, char** argv){
|
||||
|
||||
dashboard::board _board;
|
||||
|
||||
_board.start();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user