summaryrefslogtreecommitdiff
path: root/testing/toxic/windows.h
blob: 2e082ca9049513377983c3c878a0e9447f9cb680 (plain)
1
2
3
4
5
6
7
8
9
10
typedef struct ToxWindow_ ToxWindow;

struct ToxWindow_ {
  void(*onKey)(ToxWindow*, int);
  void(*onDraw)(ToxWindow*);
  void(*onInit)(ToxWindow*);
  char title[256];

  WINDOW* window;
};