diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-12-01 21:29:53 +0100 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-12-01 21:29:53 +0100 |
commit | ac18b3132059b5e7d5f00ccf2b56e543cf0da84b (patch) | |
tree | 490654385bf6aa87f160f79006a12289c20322e6 /library.cpp | |
parent | dcaa318d677a1a6881ccc87640ae75c0fc578bfb (diff) |
DAT GAME
Diffstat (limited to 'library.cpp')
-rw-r--r-- | library.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/library.cpp b/library.cpp index 5cfb68f..f59d542 100644 --- a/library.cpp +++ b/library.cpp @@ -1,8 +1,15 @@ #include <iostream> #include "library.h" +#include "main.h" using namespace std; +extern Fl_Window_draw *window; + void draw_text(int x,int y,const char *s){ - cerr<<"draw_text: x="<<x<<" y="<<y<<" s="<<s<<endl; + fl_draw(s,x,y); +} + +void log(const char *s){ + cerr<<"[LOG] "<<s<<endl; } |