Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.17-2x_redled.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-2x_redled.patch of Package bidwatcher
--- bidwatcher-1.3.17/bidwatcher.cpp.orig 2008-11-06 12:44:00.000000000 +0100 +++ bidwatcher-1.3.17/bidwatcher.cpp 2008-11-10 16:17:25.000000000 +0100 @@ -71,6 +71,8 @@ #include "pixmaps/stop.xpm" #include "pixmaps/plus.xpm" #include "pixmaps/redled.xpm" +#include "pixmaps/reddarkled.xpm" +#include "pixmaps/redlightled.xpm" #include "pixmaps/blueled.xpm" #include "pixmaps/blackled.xpm" #include "pixmaps/greenled.xpm" @@ -150,10 +152,12 @@ int currentauc; GtkWidget *window, *userconfigMenu, *statuslabel=NULL, *statusbox; GtkWidget *userPMW, *plusPMW, *clockPMW, *updatePMW, *helpPMW, *exitPMW, *stopPMW, *userBut, *plusBut, *clockBut, *updateBut, *helpBut, - *exitBut, *stopBut, *redled, *blueled, *greenled, *blackled, - *errorbox, *errorstat, *addentry; -GdkPixmap *redledPM, *redledmask, *blueledPM, *blueledmask, *greenledPM, - *greenledmask, *blackledPM, *blackledmask, *arrowPM, *arrowmask; + *exitBut, *stopBut, *redled, *reddarkled, *redlightled, *blueled, + *greenled, *blackled, *errorbox, *errorstat, *addentry; +GdkPixmap *redledPM, *redledmask, *reddarkledPM, *reddarkledmask, + *redlightledPM, *redlightledmask, *blueledPM, *blueledmask, + *greenledPM, *greenledmask, *blackledPM, *blackledmask, *arrowPM, + *arrowmask; int aucIdx; volatile bool updateInProgress; @@ -356,6 +360,14 @@ void redLED(void) { gtk_pixmap_set(GTK_PIXMAP(blackled), redledPM, redledmask); } +void reddarkLED(void) { + gtk_pixmap_set(GTK_PIXMAP(blackled), reddarkledPM, reddarkledmask); +} + +void redlightLED(void) { + gtk_pixmap_set(GTK_PIXMAP(blackled), redlightledPM, redlightledmask); +} + void blueLED(void) { gtk_pixmap_set(GTK_PIXMAP(blackled), blueledPM, blueledmask); } @@ -2648,6 +2660,14 @@ void init() &style->bg[GTK_STATE_NORMAL], redled_xpm); + reddarkledPM=gdk_pixmap_create_from_xpm_d(window->window,&reddarkledmask, + &style->bg[GTK_STATE_NORMAL], + reddarkled_xpm); + + redlightledPM=gdk_pixmap_create_from_xpm_d(window->window,&redlightledmask, + &style->bg[GTK_STATE_NORMAL], + redlightled_xpm); + blueledPM=gdk_pixmap_create_from_xpm_d(window->window,&blueledmask, &style->bg[GTK_STATE_NORMAL], blueled_xpm); @@ -4556,9 +4576,9 @@ int auctioninfo::getinfo() if (strstr(HtmlBuff, "<title>eBay: ") || strstr(HtmlBuff, "#vi-container")) { notparseable = 1; if (i%2==0) - redLED(); + reddarkLED(); else - blueLED(); + redlightLED(); //#if defined(DEBUGGING) && DEBUGGING>DMED // { --- bidwatcher-1.3.17/pixmaps/reddarkled.xpm.orig 2008-11-10 17:52:34.000000000 +0100 +++ bidwatcher-1.3.17/pixmaps/reddarkled.xpm 2008-11-10 16:16:27.000000000 +0100 @@ -0,0 +1,16 @@ +/* XPM */ +static char *reddarkled_xpm[]={ +"12 11 2 1", +". c None", +"# c #c00000", +"............", +"............", +"....####....", +"...#.####...", +"...######...", +"...######...", +"...######...", +"....####....", +"............", +"............", +"............"}; --- bidwatcher-1.3.17/pixmaps/redlightled.xpm.orig 2008-11-10 17:52:44.000000000 +0100 +++ bidwatcher-1.3.17/pixmaps/redlightled.xpm 2008-11-10 16:16:35.000000000 +0100 @@ -0,0 +1,16 @@ +/* XPM */ +static char *redlightled_xpm[]={ +"12 11 2 1", +". c None", +"# c #ff0000", +"............", +"............", +"....####....", +"...#.####...", +"...######...", +"...######...", +"...######...", +"....####....", +"............", +"............", +"............"};
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor