Cthulhu  0.2.10
Cthulhu compiler collection
draw.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace draw
4 {
5  struct config_t
6  {
7  const wchar_t *title = L"draw";
8  bool hwaccel = true;
9  };
10 
11  bool create(const config_t& config);
12  void destroy();
13  void close();
14 
15  bool begin_frame();
16  void end_frame();
17 }
Definition: draw.hpp:4
bool create(const config_t &config)
Definition: draw.cpp:310
void end_frame()
Definition: draw.cpp:433
void close()
Definition: draw.cpp:428
bool begin_frame()
Definition: draw.cpp:404
void destroy()
Definition: draw.cpp:389
const wchar_t * title
Definition: draw.hpp:7
bool hwaccel
Definition: draw.hpp:8