Changeset 2070 for libcaca/trunk/cxx
- Timestamp:
- Nov 25, 2007, 9:23:03 PM (13 years ago)
- Location:
- libcaca/trunk/cxx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cxx/caca++.h
r2050 r2070 29 29 #include <cucul++.h> 30 30 31 class Event 31 #if !defined(_DOXYGEN_SKIP_ME) 32 # undef __class 33 # if defined(_WIN32) && defined(__LIBCACA_PP__) 34 # define __class class __declspec(dllexport) 35 # else 36 # define __class class 37 # endif 38 #endif 39 40 __class Event 32 41 { 33 42 friend class Caca; … … 51 60 }; 52 61 53 class Caca62 __class Caca 54 63 { 55 64 public: -
libcaca/trunk/cxx/cucul++.h
r1959 r2070 27 27 #include <cucul.h> 28 28 29 #if !defined(_DOXYGEN_SKIP_ME) 30 # undef __class 31 # if defined(_WIN32) && defined(__LIBCUCUL_PP__) 32 # define __class class __declspec(dllexport) 33 # else 34 # define __class class 35 # endif 36 #endif 37 29 38 class Cucul; 30 39 31 class Charset40 __class Charset 32 41 { 33 42 public: … … 39 48 40 49 /* Ugly, I know */ 41 class Font50 __class Font 42 51 { 43 52 public: … … 55 64 }; 56 65 57 class Dither66 __class Dither 58 67 { 59 68 public: … … 81 90 }; 82 91 83 class Cucul92 __class Cucul 84 93 { 85 94 friend class Caca; -
libcaca/trunk/cxx/cxxtest.cpp
r2050 r2070 76 76 kk->setDisplayTime(20000); 77 77 78 while(!kk->getEvent(Event::CACA_EVENT_KEY_PRESS, NULL, 0)) {79 78 while(!kk->getEvent(Event::CACA_EVENT_KEY_PRESS, NULL, 0)) 79 { 80 80 81 81 /* In case of resize ...*/ … … 84 84 if((y + pig->getHeight())-1 >= qq->getHeight() || y < 0 ) 85 85 y = 0; 86 87 88 89 86 90 87 qq->Clear();
Note: See TracChangeset
for help on using the changeset viewer.