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

17::g04::発表::ヘッダーファイル::bg

//bg.h
# include <stdio.h>
# include <stdlib.h>
# include <gtk/gtk.h>
# include <glib/gprintf.h>
# include <gtk_lib.h>
# include <anime.h>
# include <event.h>

extern mySprite *s_bg;

//わーるど座標に使ってる
typedef struct{
  gint x;
  gint y;
}Coordinate;

Coordinate World;
gint x;

gint my_scroll_r(gpointer me);
gint my_scroll_l(gpointer me);
gint stop_scroll(gpointer me);


mySprite *s_bg_new(myAnimeArea *area);
void s_bg_move(mySprite *sprite);
void s_bg_init(mySprite *sprite);
//gint s_bg_reset(myAnimeArea *area);
//mySprite *s_bg_of(myAnimeArea *area);


最終更新日:2017/08/04 11:51:29