#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 () |
|
◆ DEFAULT_PARAM
#define DEFAULT_PARAM "-t 2 -c 100" |
◆ XLEN
◆ YLEN
◆ anonymous enum
◆ clear_all()
◆ draw_all_points()
◆ draw_point()
void draw_point |
( |
const point & |
p | ) |
|
◆ on_button_change_clicked()
void on_button_change_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_button_clear_clicked()
void on_button_clear_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_button_load_clicked()
void on_button_load_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_button_run_clicked()
void on_button_run_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_button_save_clicked()
void on_button_save_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_draw_main_button_press_event()
gboolean on_draw_main_button_press_event |
( |
GtkWidget * |
widget, |
|
|
GdkEventButton * |
event, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_draw_main_expose_event()
gboolean on_draw_main_expose_event |
( |
GtkWidget * |
widget, |
|
|
GdkEventExpose * |
event, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_filesel_cancel_clicked()
void on_filesel_cancel_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_filesel_ok_clicked()
void on_filesel_ok_clicked |
( |
GtkButton * |
button, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_fileselection_destroy()
void on_fileselection_destroy |
( |
GtkObject * |
object, |
|
|
gpointer |
user_data |
|
) |
| |
◆ on_window1_destroy()
void on_window1_destroy |
( |
GtkObject * |
object, |
|
|
gpointer |
user_data |
|
) |
| |
◆ redraw_area()
void redraw_area |
( |
GtkWidget * |
widget, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
◆ show_fileselection()
void show_fileselection |
( |
| ) |
|
◆ svm_toy_initialize()
void svm_toy_initialize |
( |
| ) |
|
◆ colors
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.
◆ current_value
◆ draw_main
◆ entry_option
◆ fileselection
◆ fileselection_flag
enum { ... } fileselection_flag |
◆ gc
◆ pixmap
◆ point_list