projects
/
stockwidget
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a graphical image representing increase/decrease in price.
[stockwidget]
/
lib-stock-home-widget.h
diff --git
a/lib-stock-home-widget.h
b/lib-stock-home-widget.h
index
1f48194
..
0a6935e
100644
(file)
--- a/
lib-stock-home-widget.h
+++ b/
lib-stock-home-widget.h
@@
-9,6
+9,7
@@
/* Standard includes */
#include <glib-object.h>
#include <libhildondesktop/libhildondesktop.h>
/* Standard includes */
#include <glib-object.h>
#include <libhildondesktop/libhildondesktop.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
/* Custom includes */
#include "stockgetter.h"
/* Custom includes */
#include "stockgetter.h"
@@
-35,9
+36,16
@@
typedef struct _StockPluginContext
{
/* Used for updating when stock price changes */
GtkWidget *psLabel;
{
/* Used for updating when stock price changes */
GtkWidget *psLabel;
+ GtkWidget *psArrow;
GtkWidget *psEventBox;
GtkWidget *psParent;
GtkWidget *psEventBox;
GtkWidget *psParent;
+ /* Arrow active */
+ gboolean bArrowActive;
+
+ /* PixBuf of stock images */
+ GdkPixbuf *asStockImage[2];
+
/* Stock Getter Handle */
SGHandle hSG;
/* Stock Getter Handle */
SGHandle hSG;
@@
-64,6
+72,9
@@
GType stock_home_plugin_get_type(void);
G_END_DECLS
G_END_DECLS
+#define STOCK_IMAGE_INCREASE 0
+#define STOCK_IMAGE_DECREASE 1
+
#define DEBUG
/* Debug print only */
#define DEBUG
/* Debug print only */