#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <list>
#include "callbacks.h"
#include "interface.h"
#include "../../svm.h"
Go to the source code of this file.
|
void | clear_all () |
|
void | draw_all_points () |
|
void | draw_point (const point &p) |
|
void | on_button_change_clicked (GtkButton *button, gpointer user_data) |
|
void | on_button_clear_clicked (GtkButton *button, gpointer user_data) |
|
void | on_button_load_clicked (GtkButton *button, gpointer user_data) |
|
void | on_button_run_clicked (GtkButton *button, gpointer user_data) |
|
void | on_button_save_clicked (GtkButton *button, gpointer user_data) |
|
gboolean | on_draw_main_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data) |
|
gboolean | on_draw_main_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) |
|
void | on_filesel_cancel_clicked (GtkButton *button, gpointer user_data) |
|
void | on_filesel_ok_clicked (GtkButton *button, gpointer user_data) |
|
void | on_fileselection_destroy (GtkObject *object, gpointer user_data) |
|
void | on_window1_destroy (GtkObject *object, gpointer user_data) |
|
void | redraw_area (GtkWidget *widget, int x, int y, int w, int h) |
|
void | show_fileselection () |
|
void | svm_toy_initialize () |
|
#define DEFAULT_PARAM "-t 2 -c 100" |
void draw_point |
( |
const point & |
p | ) |
|
void on_button_change_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_button_clear_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_button_load_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_button_run_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_button_save_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
gboolean on_draw_main_button_press_event |
( |
GtkWidget * |
widget, |
|
|
GdkEventButton * |
event, |
|
|
gpointer |
user_data |
|
) |
| |
gboolean on_draw_main_expose_event |
( |
GtkWidget * |
widget, |
|
|
GdkEventExpose * |
event, |
|
|
gpointer |
user_data |
|
) |
| |
void on_filesel_cancel_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_filesel_ok_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
void on_fileselection_destroy |
( |
GtkObject * |
object, |
|
|
gpointer |
user_data |
|
) |
| |
void on_window1_destroy |
( |
GtkObject * |
object, |
|
|
gpointer |
user_data |
|
) |
| |
void redraw_area |
( |
GtkWidget * |
widget, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
void show_fileselection |
( |
| ) |
|
void svm_toy_initialize |
( |
| ) |
|
Initial value:=
{
{0,0,0,0},
{0,0,120<<8,120<<8},
{0,120<<8,120<<8,0},
{0,120<<8,0,120<<8},
{0,0,200<<8,200<<8},
{0,200<<8,200<<8,0},
{0,200<<8,0,200<<8},
}
Definition at line 16 of file callbacks.cpp.
enum { ... } fileselection_flag |