X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2Faweather-view.h;h=c67c8d82b3bac9b14b2fe23872ab585a4da9336e;hp=7fc964b8d1f28be78da0a654db0a2990d1d91adc;hb=aba05890085cec97c631b5b8a25fd04c960ec203;hpb=4dc81f2eda865c9d457b9a8c0db910cc7aedb240 diff --git a/src/aweather-view.h b/src/aweather-view.h index 7fc964b..c67c8d8 100644 --- a/src/aweather-view.h +++ b/src/aweather-view.h @@ -38,6 +38,7 @@ struct _AWeatherView { gchar *time; gchar *site; gdouble location[3]; + gdouble rotation[3]; gboolean offline; }; @@ -60,6 +61,10 @@ void aweather_view_get_location(AWeatherView *view, gdouble *x, gdouble *y, gdou void aweather_view_pan (AWeatherView *view, gdouble x, gdouble y, gdouble z); void aweather_view_zoom (AWeatherView *view, gdouble scale); +void aweather_view_set_rotation(AWeatherView *view, gdouble x, gdouble y, gdouble z); +void aweather_view_get_rotation(AWeatherView *view, gdouble *x, gdouble *y, gdouble *z); +void aweather_view_rotate (AWeatherView *view, gdouble x, gdouble y, gdouble z); + void aweather_view_refresh(AWeatherView *view); void aweather_view_set_offline(AWeatherView *view, gboolean offline);