view 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 source

#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"));
}