0
|
1 #include "wx/utils.h"
|
|
2 #include "wx/string.h"
|
|
3
|
|
4 bool IsBlack( int r, int g, int b )
|
|
5 {
|
|
6 if ( r == 255 && g == 255 && b == 255 ) {
|
|
7 return true;
|
|
8 }
|
|
9 return false;
|
|
10 }
|
|
11
|
|
12 int GuessHhs( wxString &file )
|
|
13 {
|
|
14 //open image file
|
|
15
|
|
16 int xoffset = 0;
|
|
17 int yoffset = 0;
|
|
18 int dx = 10;
|
|
19 int dy = 10;
|
|
20
|
|
21 for ( int i=0; i<10; i++ ) {
|
|
22 for ( int j=0; j<10; j++ ) {
|
|
23 }
|
|
24 }
|
|
25 return 1;
|
|
26 }
|
|
27
|
|
28 int main( int argc, char **argv )
|
|
29 {
|
|
30 wxString file;
|
|
31 GuessHhs( file );
|
|
32
|
|
33 wxPuts(wxT("program end"));
|
|
34 }
|
|
35
|