X-Git-Url: http://git.maemo.org/git/?p=stockwidget;a=blobdiff_plain;f=lib-stock-home-widget.h;h=0a6935e2a5842a37a0431aca351f842fe4d04660;hp=1f481942bd135efb49bfd7fcca012a58cc4ae207;hb=0a7576b8a8d2fc462bf80f2e3baaee0b08c9fea5;hpb=1cc1919c45f938fb16928d7e1e1fb9acf6c3567c diff --git a/lib-stock-home-widget.h b/lib-stock-home-widget.h index 1f48194..0a6935e 100644 --- a/lib-stock-home-widget.h +++ b/lib-stock-home-widget.h @@ -9,6 +9,7 @@ /* Standard includes */ #include #include +#include /* Custom includes */ #include "stockgetter.h" @@ -35,9 +36,16 @@ typedef struct _StockPluginContext { /* Used for updating when stock price changes */ GtkWidget *psLabel; + GtkWidget *psArrow; GtkWidget *psEventBox; GtkWidget *psParent; + /* Arrow active */ + gboolean bArrowActive; + + /* PixBuf of stock images */ + GdkPixbuf *asStockImage[2]; + /* Stock Getter Handle */ SGHandle hSG; @@ -64,6 +72,9 @@ GType stock_home_plugin_get_type(void); G_END_DECLS +#define STOCK_IMAGE_INCREASE 0 +#define STOCK_IMAGE_DECREASE 1 + #define DEBUG /* Debug print only */