2016 ソフトウェア設計及び演習用の班Wiki

16::g03::test.h

#ifndef TEST_H
#define TEST_H




typedef struct Fielddata{
  GtkWidget *vbox;
  GtkWidget *window;
  GtkWidget *layout;
  GtkWidget *image;
  GtkWidget *Itembox;
  int men;
  int itemnumber[4];
  gchar *imagefile[4];
  gulong handle;
  int keypress;
  int itemclick;
  int mouseclick;
} Fielddata;



typedef struct Itemdata{
  GtkWidget *button;
  int f_off;
  int I_on;
  int clicked;
  int x1;
  int x2;
  int y1;
  int y2;
  gulong handle1;
  gulong handle2;
  gchar *itemname;
  gchar *text;
  gchar *image;
} Itemdata;

typedef struct Movebutton{
  GtkWidget *button;
  int h;
  int v;
  int x;
  int y;
  gulong handle;
} Movebutton;



int g_main(GtkWidget *,GList *);
int men_func(GList *);
int buttot_connect_cb(GList *);
int button_disconnect_cb(GList *);
GList * make_list();
int make_Field(Fielddata *);
int make_Move(Movebutton *);
int make_Item(GList *);
int make_ItemBox(GList *);
int event_select(GList *,int);
void Item_display(GList *,int,int);
void test_sample_1ninsyou (GtkWidget *window);

#endif


最終更新日:2016/08/05 09:02:47