diff src/testtune.cpp @ 0:2344703d786b

start now.
author pyon@macmini
date Wed, 28 Sep 2011 07:41:15 +0900
parents
children 214f2908b8e4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/testtune.cpp	Wed Sep 28 07:41:15 2011 +0900
@@ -0,0 +1,35 @@
+#include "wx/utils.h"
+#include "wx/string.h"
+
+bool IsBlack( int r, int g, int b ) 
+{
+    if ( r == 255 && g == 255 && b == 255 ) {
+        return true;
+    }
+    return false;
+}
+
+int GuessHhs( wxString &file ) 
+{
+    //open image file
+
+    int xoffset = 0;
+    int yoffset = 0;
+    int dx = 10;
+    int dy = 10;
+
+    for ( int i=0; i<10; i++ ) {
+        for ( int j=0; j<10; j++ ) {
+        }
+    }
+    return 1;
+}
+
+int main( int argc, char **argv ) 
+{
+    wxString file;
+    GuessHhs( file );
+
+    wxPuts(wxT("program end"));
+}
+