wmymail: Add version 0.3 to repository.
From http://distro.ibiblio.org/amigolinux/download/DockApps/wmymail-0.3/wmymail-0.3.tar.bz2
This commit is contained in:
parent
4eadda20b1
commit
ce47d9a7c2
49
wmymail/ChangeLog
Normal file
49
wmymail/ChangeLog
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
ChangeLog for wmymail
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
2004-06-11 Joshua Swink <yathster@yahoo.com>
|
||||||
|
|
||||||
|
* Version 0.3
|
||||||
|
|
||||||
|
* Documentation (code comments, README, LSM file)
|
||||||
|
|
||||||
|
2002-08-28 Thomas Nemeth <tnemeth@free.fr>
|
||||||
|
|
||||||
|
* Added -m/--mailbox option for specifying mailbox when no $MAIL
|
||||||
|
variable is available
|
||||||
|
|
||||||
|
* Corrected the misbehavior about zombie child process
|
||||||
|
|
||||||
|
2002-03-27 Joshua Swink <jswink@pacbell.net>
|
||||||
|
|
||||||
|
* Change error message about unset MAIL variable
|
||||||
|
|
||||||
|
2001-07-26 Joshua Swink <jswink@pacbell.net>
|
||||||
|
|
||||||
|
* Version 0.2
|
||||||
|
|
||||||
|
* Changed -f (for fetchmail) to -F
|
||||||
|
|
||||||
|
* Added -n/--newcommand option for something to run when new mail
|
||||||
|
is received
|
||||||
|
|
||||||
|
* Added -c/--command option for something to run when clicked
|
||||||
|
|
||||||
|
* Reduced xpm file sizes by reducing their colors in the Gimp
|
||||||
|
|
||||||
|
* checkfetchmail() - use mkstemp()
|
||||||
|
|
||||||
|
* Add -Wall to Makefile's CFLAGS (and fix resulting warnings)
|
||||||
|
|
||||||
|
* Remove code that futzes with the mail file's access time
|
||||||
|
|
||||||
|
* parseMailFile() - less likely to misinterpret a message with long lines
|
||||||
|
|
||||||
|
2001-06-06 Joshua Swink <jswink@pacbell.net>
|
||||||
|
|
||||||
|
* Version 0.1
|
||||||
|
|
||||||
|
* Change lots of stuff
|
||||||
|
|
||||||
|
* Fork from wmail
|
||||||
|
|
50
wmymail/Makefile
Normal file
50
wmymail/Makefile
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
#
|
||||||
|
# Makefile for wmymail
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
PROGRAM=wmymail
|
||||||
|
|
||||||
|
VERSION=$(shell cat VERSION)
|
||||||
|
DISTDIR=$(PROGRAM)-$(VERSION)
|
||||||
|
TARBALL=$(PROGRAM)-$(VERSION).tar.gz
|
||||||
|
LSM=$(PROGRAM)-$(VERSION).lsm
|
||||||
|
|
||||||
|
CC = cc
|
||||||
|
LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext -ldockapp
|
||||||
|
CFLAGS = -O2 -I/usr/X11R6/include -Wall
|
||||||
|
XPMS = xpm/main.xpm xpm/mbox_1.xpm xpm/mbox_2.xpm xpm/mbox_3.xpm \
|
||||||
|
xpm/numbers.xpm xpm/unumbers.xpm
|
||||||
|
DISTFILES = Makefile README README.old ChangeLog wmymail.c \
|
||||||
|
raw-envelope.jpg lsm.in VERSION
|
||||||
|
|
||||||
|
default all target: wmymail
|
||||||
|
|
||||||
|
wmymail: wmymail.o
|
||||||
|
$(CC) $< $(CFLAGS) $(LIBS) -o $@
|
||||||
|
|
||||||
|
wmymail.o: wmymail.c $(XPMS)
|
||||||
|
$(CC) $(CFLAGS) $(MY_INCS) -o $@ -c $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f wmymail wmymail.o $(LSM) $(TARBALL)
|
||||||
|
rm -fr $(DISTDIR)
|
||||||
|
|
||||||
|
dist: $(TARBALL)
|
||||||
|
|
||||||
|
lsm: $(LSM)
|
||||||
|
|
||||||
|
$(LSM):
|
||||||
|
make-lsm
|
||||||
|
|
||||||
|
$(TARBALL): $(DISTFILES) $(LSM)
|
||||||
|
rm -fr $(DISTDIR)
|
||||||
|
mkdir -p $(DISTDIR)/xpm
|
||||||
|
cp $(DISTFILES) $(DISTDIR)
|
||||||
|
cp $(XPMS) wmymail-$(VERSION)/xpm
|
||||||
|
rm -f wmymail-$(VERSION).tar.gz
|
||||||
|
tar -c $(DISTDIR) | gzip > $(TARBALL)
|
||||||
|
make-lsm
|
||||||
|
cp $(LSM) $(DISTDIR)
|
||||||
|
tar -c $(DISTDIR) | gzip > $(TARBALL)
|
||||||
|
|
75
wmymail/README
Normal file
75
wmymail/README
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
|
||||||
|
readme for wmymail - mail checker dock application
|
||||||
|
|
||||||
|
wmymail is a dock application that shows how many messages are in your
|
||||||
|
mailbox, and how many of them are unread. When there are new messages,
|
||||||
|
it displays one or more brightly colored envelopes. Otherwise, it
|
||||||
|
displays a dull, gray envelope.
|
||||||
|
|
||||||
|
|
||||||
|
BEHAVIOR
|
||||||
|
========
|
||||||
|
|
||||||
|
mbox (local mail file) (default)
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
By default, it will check your mailbox file about once per second to
|
||||||
|
see if it has changed. If it has changed, wmymail reads it to see how
|
||||||
|
many messages are inside, and how many have been read, and displays
|
||||||
|
the current counts.
|
||||||
|
|
||||||
|
* It looks at the filename specified in the $MAIL environment
|
||||||
|
variable.
|
||||||
|
|
||||||
|
* You can tell it to look in a different file by using the -m
|
||||||
|
option, e.g. "wmymail -m /var/foo/mail/username"
|
||||||
|
|
||||||
|
* You can make it check less frequently with the -i option, which
|
||||||
|
changes the interval between mailbox checks:
|
||||||
|
"wmymail -i 60" will make it check once per minute.
|
||||||
|
|
||||||
|
IMAP
|
||||||
|
----
|
||||||
|
|
||||||
|
If you are using IMAP for your email, you will need to use the -F
|
||||||
|
option. This option makes wmymail run fetchmail to determine how
|
||||||
|
many messages you have.
|
||||||
|
|
||||||
|
Since running fetchmail takes considerably longer than checking
|
||||||
|
a local file, wmymail checks once per minute when -F is used.
|
||||||
|
Furthermore, the -i option now specifies the number of minutes:
|
||||||
|
"wmymail -F -i 5" would make it check every five minutes.
|
||||||
|
|
||||||
|
The command that wmymail runs is: "fetchmail -c"
|
||||||
|
Therefore, you will need to have fetchmail set up and working prior
|
||||||
|
to using wmymail.
|
||||||
|
|
||||||
|
|
||||||
|
HISTORY
|
||||||
|
=======
|
||||||
|
|
||||||
|
The current maintainer is Joshua Swink, <yathster@yahoo.com>.
|
||||||
|
|
||||||
|
This program forked from version 1.1 of wmail, a similar dock app with
|
||||||
|
different goals.
|
||||||
|
|
||||||
|
wmail may be found here:
|
||||||
|
http://dockapps.org/file.php/id/70
|
||||||
|
|
||||||
|
And here is its old homepage (no longer exists):
|
||||||
|
http://www.informatik.uni-jena.de/~topical/sveng/wmail.html
|
||||||
|
|
||||||
|
|
||||||
|
INSTALLATION
|
||||||
|
============
|
||||||
|
|
||||||
|
You will need libdockapp, which can probably be found here:
|
||||||
|
|
||||||
|
ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
|
||||||
|
|
||||||
|
Then, run "make", and "strip wmymail" if desired, and finally
|
||||||
|
copy wmymail to a directory in your path.
|
||||||
|
|
||||||
|
Making it show up on your dock or wharf or pier varies greatly
|
||||||
|
according to your window manager, and won't be explained here.
|
||||||
|
|
66
wmymail/README.old
Normal file
66
wmymail/README.old
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
name : wmail (Window Maker DockApp email flag)
|
||||||
|
current version : 1.1
|
||||||
|
last update : Oct 13 2000
|
||||||
|
|
||||||
|
description :
|
||||||
|
|
||||||
|
This is wmail - a little dockable application watching your email-file
|
||||||
|
and signaling changes. It works quite similar to xbiff
|
||||||
|
but provides a more informative, more interactive and yes, more colorful nice
|
||||||
|
little gui displaying some useful pieces of state-informations about that
|
||||||
|
file.
|
||||||
|
It uses the $MAIL environment-variable to locate the email-file you are using,
|
||||||
|
other mailing mechanisms like POP or IMAP are currently not supported.
|
||||||
|
|
||||||
|
It shows the following:
|
||||||
|
|
||||||
|
- a mail-icon in the upper-left if the file contains some mails
|
||||||
|
- a frequently blinking mail-text in the upper-right if there are unread mails
|
||||||
|
- a ticker displaying eighter the complete mail-adress, it's name-part or the
|
||||||
|
full sender name
|
||||||
|
- the number of emails stored in the file
|
||||||
|
|
||||||
|
In addition, the button labeled `Client' allowes you to quickly run your
|
||||||
|
preferred email-client.
|
||||||
|
|
||||||
|
Last, there are some attributes you can customize via the command-line.
|
||||||
|
So it's possible to set the interval-time between the updates, the
|
||||||
|
shell-command to run the client, what the ticker has to show and what colors
|
||||||
|
should be used. Custom coloring is what every dockapp should support, but
|
||||||
|
unfortunatly most didn't came with this nice and useful feature :(
|
||||||
|
|
||||||
|
Bugs: be sure there are! Since many time and motivation is needed to clean
|
||||||
|
even such a little app properly there are good chances this friendly toy
|
||||||
|
will change into an aggressive animal ready to cause irreversible damage -
|
||||||
|
thus, keep in mind this code comes with absolutly no warran...blablabla
|
||||||
|
>>Please let me know, if something works wrong<<
|
||||||
|
|
||||||
|
requirements :
|
||||||
|
|
||||||
|
this application needs libdockapp v0.2 or newer
|
||||||
|
|
||||||
|
compile :
|
||||||
|
|
||||||
|
this code is known to work under linux v2.10 and osf v3.2 (tested)
|
||||||
|
together with Window Maker v0.60.0 and docklib v0.2. I've provided a simple
|
||||||
|
Makefile you can use to build the binary - edit that file to suit your needs.
|
||||||
|
|
||||||
|
run :
|
||||||
|
|
||||||
|
try wmail -h to see a list of options.
|
||||||
|
|
||||||
|
download :
|
||||||
|
|
||||||
|
www.crosswinds.net/~sveniboy/wmail.html
|
||||||
|
|
||||||
|
maintainer :
|
||||||
|
|
||||||
|
Sven Geisenhainer <sveng@informatik.uni-jena.de>
|
||||||
|
|
||||||
|
final words :
|
||||||
|
|
||||||
|
Thanx to all the GNUstep and Window Maker people who've provided us
|
||||||
|
with such a great user environment!
|
||||||
|
|
||||||
|
Hope you will enjoy!
|
||||||
|
Sven.
|
1
wmymail/VERSION
Normal file
1
wmymail/VERSION
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0.3
|
12
wmymail/lsm.in
Normal file
12
wmymail/lsm.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Begin4
|
||||||
|
Title: wmymail
|
||||||
|
Version: 0.3
|
||||||
|
Entered-date: 2004-01-01
|
||||||
|
Description: wmymail is a mail-checking dock app.
|
||||||
|
Keywords: X11, email, dockapp
|
||||||
|
Author: yathster@yahoo.com (Joshua Swink)
|
||||||
|
Maintained-by: yathster@yahoo.com (Joshua Swink)
|
||||||
|
Primary-site: http://yath.mine.nu/wmymail/
|
||||||
|
Platforms: X11
|
||||||
|
Copying-policy: public domain
|
||||||
|
End
|
BIN
wmymail/raw-envelope.jpg
Normal file
BIN
wmymail/raw-envelope.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
13
wmymail/wmymail-0.3.lsm
Normal file
13
wmymail/wmymail-0.3.lsm
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Begin4
|
||||||
|
Title: wmymail
|
||||||
|
Version: 0.3
|
||||||
|
Entered-date: 2004-11-06
|
||||||
|
Description: wmymail is a mail-checking dock app.
|
||||||
|
Keywords: X11, email, dockapp
|
||||||
|
Author: yathster@yahoo.com (Joshua Swink)
|
||||||
|
Maintained-by: yathster@yahoo.com (Joshua Swink)
|
||||||
|
Primary-site: http://yath.mine.nu/wmymail/
|
||||||
|
56.2kb wmymail-0.3.tar.gz
|
||||||
|
Platforms: X11
|
||||||
|
Copying-policy: public domain
|
||||||
|
End
|
545
wmymail/wmymail.c
Normal file
545
wmymail/wmymail.c
Normal file
|
@ -0,0 +1,545 @@
|
||||||
|
/* wmymail.c - mail checking dockapp */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <utime.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#include <dockapp.h>
|
||||||
|
|
||||||
|
#include "xpm/main.xpm"
|
||||||
|
#include "xpm/numbers.xpm"
|
||||||
|
#include "xpm/unumbers.xpm"
|
||||||
|
#include "xpm/mbox_1.xpm"
|
||||||
|
#include "xpm/mbox_2.xpm"
|
||||||
|
#include "xpm/mbox_3.xpm"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Some definitions required by libdockapp
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define NAME "wmymail"
|
||||||
|
#define VERSION "wmymail v0.3 November 6, 2004"
|
||||||
|
|
||||||
|
// default mail check interval, in seconds (default) or minutes (with -F)
|
||||||
|
#define CHECKINTERVAL 1
|
||||||
|
|
||||||
|
// global data
|
||||||
|
|
||||||
|
char *displayName = "";
|
||||||
|
char *mailPath = NULL;
|
||||||
|
char *fontColor = "";
|
||||||
|
char *background = "";
|
||||||
|
char *clickcommand = "";
|
||||||
|
char *newcommand = "";
|
||||||
|
int numMessages = 0;
|
||||||
|
int lastnumMessages = 0;
|
||||||
|
int numRead = 0;
|
||||||
|
int numUnread = 0;
|
||||||
|
int lastnumUnread = 0;
|
||||||
|
int buttonpressed = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* usefetchmail means to run "fetchmail -c" and parse the output, rather
|
||||||
|
* than counting up messages in an mbox file.
|
||||||
|
|
||||||
|
* It will change the interval from seconds to minutes.
|
||||||
|
*/
|
||||||
|
|
||||||
|
int usefetchmail = 0;
|
||||||
|
int flip = 1;
|
||||||
|
int checkInterval = CHECKINTERVAL;
|
||||||
|
time_t lastModifySeconds = 0;
|
||||||
|
off_t lastSize = 0;
|
||||||
|
|
||||||
|
Pixmap mainPixmap;
|
||||||
|
Pixmap numbersPixmap;
|
||||||
|
Pixmap unumbersPixmap;
|
||||||
|
Pixmap mboxonePixmap;
|
||||||
|
Pixmap mboxtwoPixmap;
|
||||||
|
Pixmap mboxthreePixmap;
|
||||||
|
Pixmap outPixmap1;
|
||||||
|
Pixmap outPixmap2;
|
||||||
|
GC defaultGC;
|
||||||
|
|
||||||
|
static DAProgramOption options[] = {
|
||||||
|
|
||||||
|
{"-display", NULL, "display to use",
|
||||||
|
DOString, False, {&displayName}},
|
||||||
|
|
||||||
|
{"-i", "--interval", "seconds between mailbox checks (default 1)",
|
||||||
|
DONatural, False, {&checkInterval} },
|
||||||
|
|
||||||
|
{"-fc", "--fontcolor", "custom font color",
|
||||||
|
DOString, False, {&fontColor} },
|
||||||
|
|
||||||
|
{"-bg", "--background", "custom background color for non-shaped window",
|
||||||
|
DOString, False, {&background} },
|
||||||
|
|
||||||
|
{"-ns", "--noshape", "make the dock app non-shaped (windowed)",
|
||||||
|
DONone, False, {NULL} },
|
||||||
|
|
||||||
|
{"-F", "--fetchmail", "check with fetchmail -c instead of the mbox",
|
||||||
|
DONone, False, {NULL} },
|
||||||
|
|
||||||
|
{"-c", "--command", "command to run when clicked",
|
||||||
|
DOString, False, {&clickcommand} },
|
||||||
|
|
||||||
|
{"-n", "--newcommand", "command to run when new mail is received",
|
||||||
|
DOString, False, {&newcommand} },
|
||||||
|
|
||||||
|
{"-m", "--mailbox", "mailbox to use when $MAIL is not set",
|
||||||
|
DOString, False, {&mailPath} }
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
// prototypes
|
||||||
|
|
||||||
|
void checkForNewMail(int dummy);
|
||||||
|
void updatePixmap(void);
|
||||||
|
void parseMailFile( struct stat *fileStat );
|
||||||
|
char *getHexColorString( char *colorName );
|
||||||
|
void putnumber (int number, Pixmap pixmap, Pixmap numbers,
|
||||||
|
int destx, int desty);
|
||||||
|
void buttonpress(int button, int state, int x, int y);
|
||||||
|
void buttonrelease(int button, int state, int x, int y);
|
||||||
|
void checkfetchmail (void);
|
||||||
|
void checkmbox (void);
|
||||||
|
void launch (const char *command);
|
||||||
|
|
||||||
|
// functions
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
Pixmap mainPixmap_mask;
|
||||||
|
|
||||||
|
unsigned width, height;
|
||||||
|
|
||||||
|
DACallbacks callbacks = { NULL, &buttonpress, &buttonrelease,
|
||||||
|
NULL, NULL, NULL, NULL };
|
||||||
|
|
||||||
|
struct sigaction sa;
|
||||||
|
|
||||||
|
sa.sa_handler = SIG_IGN;
|
||||||
|
#ifdef SA_NOCLDWAIT
|
||||||
|
sa.sa_flags = SA_NOCLDWAIT;
|
||||||
|
#else
|
||||||
|
sa.sa_flags = 0;
|
||||||
|
#endif
|
||||||
|
sigemptyset(&sa.sa_mask);
|
||||||
|
sigaction(SIGCHLD, &sa, NULL);
|
||||||
|
|
||||||
|
|
||||||
|
DAParseArguments(argc, argv, options,
|
||||||
|
sizeof(options) / sizeof(DAProgramOption),
|
||||||
|
NAME, VERSION);
|
||||||
|
|
||||||
|
DAInitialize(displayName, "wmymail", 64, 64, argc, argv);
|
||||||
|
|
||||||
|
// simple recoloring of the raw xpms befor creating Pixmaps of them
|
||||||
|
// this works as long as you don't "touch" the images...
|
||||||
|
|
||||||
|
if (options[2].used) { // custom font color ?
|
||||||
|
char *colorLine = strdup("+ c #");
|
||||||
|
|
||||||
|
strcat(colorLine, getHexColorString(fontColor));
|
||||||
|
|
||||||
|
colorLine = strdup("+ c #");
|
||||||
|
strcat(colorLine, getHexColorString(fontColor));
|
||||||
|
numbers_xpm[3] = colorLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (options[3].used && options[8].used) { // custom window background ?
|
||||||
|
char *colorLine = strdup(" c #");
|
||||||
|
|
||||||
|
strcat(colorLine, getHexColorString(background));
|
||||||
|
main_xpm[1] = colorLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
DAMakePixmapFromData(main_xpm, &mainPixmap, &mainPixmap_mask, &width, &height);
|
||||||
|
DAMakePixmapFromData(numbers_xpm, &numbersPixmap, NULL, &width, &height);
|
||||||
|
DAMakePixmapFromData(unumbers_xpm, &unumbersPixmap, NULL, &width, &height);
|
||||||
|
|
||||||
|
DAMakePixmapFromData(mbox_1_xpm, &mboxonePixmap, NULL, &width, &height);
|
||||||
|
DAMakePixmapFromData(mbox_2_xpm, &mboxtwoPixmap, NULL, &width, &height);
|
||||||
|
DAMakePixmapFromData(mbox_3_xpm, &mboxthreePixmap, NULL, &width, &height);
|
||||||
|
|
||||||
|
if (!options[4].used) // no shape to install
|
||||||
|
DASetShape(mainPixmap_mask);
|
||||||
|
|
||||||
|
if (options[5].used) // use fetchmail
|
||||||
|
usefetchmail = 1;
|
||||||
|
else if (mailPath == NULL) {
|
||||||
|
if ((mailPath = getenv("MAIL")) == NULL) {
|
||||||
|
perror("Please define your MAIL environment variable!\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
DASetCallbacks( &callbacks );
|
||||||
|
DASetTimeout(-1);
|
||||||
|
|
||||||
|
outPixmap1 = DAMakePixmap();
|
||||||
|
outPixmap2 = DAMakePixmap();
|
||||||
|
defaultGC = XDefaultGC(DADisplay, 0);
|
||||||
|
|
||||||
|
signal(SIGALRM, checkForNewMail);
|
||||||
|
|
||||||
|
updatePixmap();
|
||||||
|
|
||||||
|
DAShow();
|
||||||
|
|
||||||
|
checkForNewMail(0);
|
||||||
|
|
||||||
|
DAEventLoop();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
char *getHexColorString(char *colorName) {
|
||||||
|
XColor color;
|
||||||
|
char *hexColorString;
|
||||||
|
|
||||||
|
if (!XParseColor(DADisplay,
|
||||||
|
DefaultColormap(DADisplay, DefaultScreen( DADisplay)),
|
||||||
|
colorName, &color))
|
||||||
|
{
|
||||||
|
printf("unknown colorname: \"%s\"\n", colorName);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
hexColorString = (char *)malloc(7);
|
||||||
|
sprintf(hexColorString, "%02X%02X%02X", color.red>>8, color.green>>8,
|
||||||
|
color.blue>>8);
|
||||||
|
|
||||||
|
return hexColorString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* checkForNewMail
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
void checkForNewMail(int dummy) {
|
||||||
|
struct itimerval timerVal;
|
||||||
|
|
||||||
|
if (usefetchmail) {
|
||||||
|
checkfetchmail();
|
||||||
|
} else {
|
||||||
|
checkmbox();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (numMessages != lastnumMessages ||
|
||||||
|
numUnread != lastnumUnread) {
|
||||||
|
updatePixmap();
|
||||||
|
if (numUnread > lastnumUnread && strlen(newcommand) > 0)
|
||||||
|
launch(newcommand);
|
||||||
|
lastnumMessages = numMessages;
|
||||||
|
lastnumUnread = numUnread;
|
||||||
|
}
|
||||||
|
|
||||||
|
memset(&timerVal, 0, sizeof(timerVal));
|
||||||
|
|
||||||
|
if (usefetchmail) {
|
||||||
|
timerVal.it_value.tv_sec = checkInterval * 60;
|
||||||
|
} else {
|
||||||
|
timerVal.it_value.tv_sec = checkInterval;
|
||||||
|
}
|
||||||
|
|
||||||
|
setitimer(ITIMER_REAL, &timerVal, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* checkfetchmail
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
void checkfetchmail (void) {
|
||||||
|
int msgtotal = 0;
|
||||||
|
int msgseen = 0;
|
||||||
|
int snpret;
|
||||||
|
char tmpfile[20] = "wmymail.XXXXXX";
|
||||||
|
char syscmd[120];
|
||||||
|
char line[1024];
|
||||||
|
char *s, *t;
|
||||||
|
int fd;
|
||||||
|
FILE *f;
|
||||||
|
|
||||||
|
|
||||||
|
fd = mkstemp(tmpfile);
|
||||||
|
if (fd == -1) {
|
||||||
|
perror("wmymail: cannot get a temporay file");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
snpret = snprintf(syscmd, 120, "fetchmail -c > %s", tmpfile);
|
||||||
|
if (snpret < 0) {
|
||||||
|
perror("wmymail: error in snprintf() call (should not happen)");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (system(syscmd) < 0) {
|
||||||
|
perror("wmymail: error when using system() to run fetchmail -c");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
f = fdopen(fd, "r");
|
||||||
|
if (f == NULL) {
|
||||||
|
perror("wmymail: can't reread tempfile\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* FIXME: this assumes that fetchmail will never print a line over
|
||||||
|
* 1024 characters long, which is fairly safe but you never know */
|
||||||
|
while (fgets(line, 1024, f) != NULL) {
|
||||||
|
|
||||||
|
/* Every line beginning with a number is assumed to be a number of
|
||||||
|
* messages on the server:
|
||||||
|
*
|
||||||
|
* "1 message for userfoo at mail.bar.org."
|
||||||
|
* "3 messages for userfoo at mail.bar.org." */
|
||||||
|
if (line[0] >= '0' && line[0] <= '9') {
|
||||||
|
|
||||||
|
/* The first number on the line may be added to the total */
|
||||||
|
msgtotal += atoi(line);
|
||||||
|
|
||||||
|
/* Fetchmail may also indicate that some of the messages on the
|
||||||
|
* server have already been read:
|
||||||
|
*
|
||||||
|
* "5 messages (3 seen) for userfoo at mail.bar.org." */
|
||||||
|
|
||||||
|
/* To get the number seen, locate the first space */
|
||||||
|
s = (char *)strstr(line, " ");
|
||||||
|
if (s != NULL) {
|
||||||
|
|
||||||
|
/* Skip over one character */
|
||||||
|
s++;
|
||||||
|
|
||||||
|
/* And locate the second space */
|
||||||
|
t = (char *)strstr(s, " ");
|
||||||
|
|
||||||
|
/* If this second space is followed by '(' and a digit, it's
|
||||||
|
* a number of seen messages */
|
||||||
|
if (t != NULL && t[1] == '(' && t[2] >= '0' && t[2] <= '9') {
|
||||||
|
|
||||||
|
/* Position string t on the number seen */
|
||||||
|
t += 2;
|
||||||
|
|
||||||
|
/* And get the number */
|
||||||
|
msgseen += atoi(t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fclose(f);
|
||||||
|
remove(tmpfile);
|
||||||
|
|
||||||
|
/* Now that that's been gotten through without major errors,
|
||||||
|
move the values to the global variables */
|
||||||
|
|
||||||
|
numMessages = msgtotal;
|
||||||
|
numUnread = msgtotal - msgseen;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* checkmbox
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
void checkmbox (void) {
|
||||||
|
struct stat fileStat;
|
||||||
|
|
||||||
|
if (stat(mailPath, &fileStat) == -1 || fileStat.st_size == 0) {
|
||||||
|
numMessages = 0;
|
||||||
|
numUnread = 0;
|
||||||
|
} else if (lastModifySeconds != fileStat.st_mtime ||
|
||||||
|
lastSize != fileStat.st_size) {
|
||||||
|
|
||||||
|
parseMailFile(&fileStat);
|
||||||
|
|
||||||
|
lastModifySeconds = fileStat.st_mtime;
|
||||||
|
lastSize = fileStat.st_size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* updatePixmap
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
void updatePixmap(void) {
|
||||||
|
Pixmap outPixmap = flip ? outPixmap1 : outPixmap2;
|
||||||
|
|
||||||
|
flip = !flip;
|
||||||
|
|
||||||
|
XCopyArea(DADisplay, mainPixmap, outPixmap, defaultGC,
|
||||||
|
0, 0, 64, 64, 0, 0);
|
||||||
|
|
||||||
|
if (numMessages > 998) {
|
||||||
|
putnumber(999, outPixmap, numbersPixmap, 40, 49);
|
||||||
|
} else {
|
||||||
|
putnumber(numMessages, outPixmap, numbersPixmap, 40, 49);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (numUnread > 998) {
|
||||||
|
putnumber(999, outPixmap, unumbersPixmap, 6, 49);
|
||||||
|
} else if (!numUnread) {
|
||||||
|
putnumber(0, outPixmap, numbersPixmap, 6, 49);
|
||||||
|
} else {
|
||||||
|
putnumber(numUnread, outPixmap, unumbersPixmap, 6, 49);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (numUnread == 0) {
|
||||||
|
// do nothing.
|
||||||
|
} else if (numUnread == 1) {
|
||||||
|
XCopyArea(DADisplay, mboxonePixmap, outPixmap, defaultGC,
|
||||||
|
0, 0, 40, 34, 14, 6);
|
||||||
|
} else if (numUnread == 2) {
|
||||||
|
XCopyArea(DADisplay, mboxtwoPixmap, outPixmap, defaultGC,
|
||||||
|
0, 0, 40, 34, 14, 6);
|
||||||
|
} else {
|
||||||
|
XCopyArea(DADisplay, mboxthreePixmap, outPixmap, defaultGC,
|
||||||
|
0, 0, 40, 34, 14, 6);
|
||||||
|
}
|
||||||
|
|
||||||
|
DASetPixmap(outPixmap);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* putnumber -- draw a number
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
void putnumber (
|
||||||
|
int number, /* what value should be displayed */
|
||||||
|
Pixmap pixmap, /* pixmap to draw upon */
|
||||||
|
Pixmap numbers, /* pixmap with digit images to use */
|
||||||
|
int destx, int desty /* upper-left corner of rectangle to draw in */
|
||||||
|
) {
|
||||||
|
|
||||||
|
int digit1, digit2, digit3;
|
||||||
|
|
||||||
|
/* Determine the digits */
|
||||||
|
digit1 = number / 100;
|
||||||
|
digit2 = (number % 100) / 10;
|
||||||
|
digit3 = number % 10;
|
||||||
|
|
||||||
|
/* The 100s and 10s digits will only be displayed if the number
|
||||||
|
is >99 and >9, respectively */
|
||||||
|
|
||||||
|
if (digit1) XCopyArea(DADisplay, numbers, pixmap, defaultGC,
|
||||||
|
digit1 * 5, 0, 5, 9, destx, desty);
|
||||||
|
|
||||||
|
if (digit2 || digit1) XCopyArea(DADisplay, numbers, pixmap, defaultGC,
|
||||||
|
digit2 * 5, 0, 5, 9, destx + 6, desty);
|
||||||
|
|
||||||
|
XCopyArea(DADisplay, numbers, pixmap, defaultGC,
|
||||||
|
digit3 * 5, 0, 5, 9, destx + 12, desty);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* parseMailFile -- reads the mail file and sets the global variables:
|
||||||
|
*
|
||||||
|
* numMessages -- total number of messages (displayed on the right)
|
||||||
|
* numRead -- messages that have been read
|
||||||
|
* numUnread -- message not yet read (displayed on the left)
|
||||||
|
*/
|
||||||
|
|
||||||
|
void parseMailFile(struct stat *fileStat) {
|
||||||
|
char buf[1024];
|
||||||
|
int inHeader = 0;
|
||||||
|
int statusRead = 0;
|
||||||
|
int longline = 0;
|
||||||
|
FILE *f = fopen(mailPath, "r"); /* FIXME check for failure to open */
|
||||||
|
|
||||||
|
numMessages = 0;
|
||||||
|
numRead = 0;
|
||||||
|
|
||||||
|
while (fgets(buf, 1024, f) != NULL) {
|
||||||
|
|
||||||
|
/* Keep discarding data if a line over 1024 characters long was found */
|
||||||
|
if (longline) {
|
||||||
|
longline = index(buf, '\n') != NULL;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
/* The "From" line is the marker of an individual message */
|
||||||
|
if(!strncmp(buf, "From ", 5)) {
|
||||||
|
inHeader = 1;
|
||||||
|
numMessages++;
|
||||||
|
|
||||||
|
/* Once inside a header, it only remains to
|
||||||
|
* 1) Take note, if the message appears to have been read
|
||||||
|
* 2) Locate the end of the header */
|
||||||
|
} else if (inHeader) {
|
||||||
|
|
||||||
|
/* A blank line indicates the end of the header */
|
||||||
|
if (!strcmp(buf, "\n")) {
|
||||||
|
inHeader = 0;
|
||||||
|
if (statusRead) {
|
||||||
|
numRead++;
|
||||||
|
statusRead = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The "Status" line indicates that the message has been read,
|
||||||
|
* if it has a "R". But since we don't trust that there will
|
||||||
|
* be only one "Status" line, statusRead will be set to 1,
|
||||||
|
* but numRead will only be incremented after the header has
|
||||||
|
* been completely read. That way, multiple "Status" lines
|
||||||
|
* would only set statusRead to 1 multiple times (having no
|
||||||
|
* effect). */
|
||||||
|
} else if (!strncmp(buf, "Status: ", 8) && strchr(buf, 'R')) {
|
||||||
|
statusRead = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The 1024 byte buffer can easily be exceeded by long lines...
|
||||||
|
* when no newline is present, we must enter the state of "skipping
|
||||||
|
* over the rest of a very long line". Else a line inside the body
|
||||||
|
* of a message might be (starting at the 1025th character)
|
||||||
|
* "From <foo@bar.org>\n" thus fooling this program into parsing it
|
||||||
|
* incorrectly. */
|
||||||
|
longline = index(buf, '\n') == NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fclose(f);
|
||||||
|
numUnread = numMessages - numRead;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Take note of a mouse button being pressed inside the dock app */
|
||||||
|
void buttonpress (int button, int state, int x, int y) {
|
||||||
|
buttonpressed = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* A mouse button was pressed and released.
|
||||||
|
* See if it was released while the mouse was still in the bounds of
|
||||||
|
* the dock app (a 64x64 square). */
|
||||||
|
void buttonrelease (int button, int state, int x, int y) {
|
||||||
|
if (buttonpressed && x > 0 && x < 64 && y > 0 && y < 64 &&
|
||||||
|
strlen(clickcommand) > 0) {
|
||||||
|
launch(clickcommand);
|
||||||
|
}
|
||||||
|
buttonpressed = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Start another program */
|
||||||
|
void launch (const char *command) {
|
||||||
|
int cpid;
|
||||||
|
|
||||||
|
cpid = fork();
|
||||||
|
if (cpid == -1) {
|
||||||
|
perror("can't fork");
|
||||||
|
} else if (cpid == 0) {
|
||||||
|
system(command);
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
142
wmymail/xpm/main.xpm
Normal file
142
wmymail/xpm/main.xpm
Normal file
|
@ -0,0 +1,142 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * main_xpm[] = {
|
||||||
|
"64 64 75 1",
|
||||||
|
" c None",
|
||||||
|
". c #000000",
|
||||||
|
"+ c #282828",
|
||||||
|
"@ c #C0C4C0",
|
||||||
|
"# c #666666",
|
||||||
|
"$ c #555555",
|
||||||
|
"% c #5C5C5C",
|
||||||
|
"& c #595959",
|
||||||
|
"* c #616161",
|
||||||
|
"= c #5E5E5E",
|
||||||
|
"- c #5A5A5A",
|
||||||
|
"; c #626262",
|
||||||
|
"> c #606060",
|
||||||
|
", c #636363",
|
||||||
|
"' c #656565",
|
||||||
|
") c #585858",
|
||||||
|
"! c #4F4F4F",
|
||||||
|
"~ c #545454",
|
||||||
|
"{ c #434343",
|
||||||
|
"] c #4A4A4A",
|
||||||
|
"^ c #4D4D4D",
|
||||||
|
"/ c #4B4B4B",
|
||||||
|
"( c #464646",
|
||||||
|
"_ c #414141",
|
||||||
|
": c #525252",
|
||||||
|
"< c #5B5B5B",
|
||||||
|
"[ c #505050",
|
||||||
|
"} c #5D5D5D",
|
||||||
|
"| c #5F5F5F",
|
||||||
|
"1 c #646464",
|
||||||
|
"2 c #696969",
|
||||||
|
"3 c #686868",
|
||||||
|
"4 c #6A6A6A",
|
||||||
|
"5 c #6B6B6B",
|
||||||
|
"6 c #383838",
|
||||||
|
"7 c #4C4C4C",
|
||||||
|
"8 c #444444",
|
||||||
|
"9 c #373737",
|
||||||
|
"0 c #222222",
|
||||||
|
"a c #1C1C1C",
|
||||||
|
"b c #1F1F1F",
|
||||||
|
"c c #202020",
|
||||||
|
"d c #494949",
|
||||||
|
"e c #515151",
|
||||||
|
"f c #676767",
|
||||||
|
"g c #232323",
|
||||||
|
"h c #3B3B3B",
|
||||||
|
"i c #2A2A2A",
|
||||||
|
"j c #343434",
|
||||||
|
"k c #565656",
|
||||||
|
"l c #535353",
|
||||||
|
"m c #252525",
|
||||||
|
"n c #303030",
|
||||||
|
"o c #272727",
|
||||||
|
"p c #262626",
|
||||||
|
"q c #484848",
|
||||||
|
"r c #6D6D6D",
|
||||||
|
"s c #6C6C6C",
|
||||||
|
"t c #575757",
|
||||||
|
"u c #3F3F3F",
|
||||||
|
"v c #242424",
|
||||||
|
"w c #292929",
|
||||||
|
"x c #4E4E4E",
|
||||||
|
"y c #2B2B2B",
|
||||||
|
"z c #2E2E2E",
|
||||||
|
"A c #1A1A1A",
|
||||||
|
"B c #212121",
|
||||||
|
"C c #3D3D3D",
|
||||||
|
"D c #2F2F2F",
|
||||||
|
"E c #333333",
|
||||||
|
"F c #353535",
|
||||||
|
"G c #3A3A3A",
|
||||||
|
"H c #424242",
|
||||||
|
"I c #6E6E6E",
|
||||||
|
"J c #454545",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ....................................................... ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .+++++++++#$%%&*=-;>*;;;,,''';*>)!~${]!^/(_:<[+++++++++@ ",
|
||||||
|
" .+++++++++}'#|#1,22'23424555553!678)9_0abbcd<e+++++++++@ ",
|
||||||
|
" .+++++++++%2>f''54323'fff342f3*6-$%d-!ghij+]-k+++++++++@ ",
|
||||||
|
" .+++++++++|,3'f422112224425254){=}-]l/mngopq}&+++++++++@ ",
|
||||||
|
" .+++++++++>2'5442f,#;,324r5sr2;~==)t7uc9vww_%-+++++++++@ ",
|
||||||
|
" .+++++++++*24s!)3',1;1'f5rr5422~x^]:yzABcamC1t+++++++++@ ",
|
||||||
|
" .+++++++++12s;-#211',*,;#2r52231|[%}et6DyEFe'&+++++++++@ ",
|
||||||
|
" .+++++++++*452243!f#&>,,%32s211*=}'1,1)~~$~*'<+++++++++@ ",
|
||||||
|
" .+++++++++|424s5%7'1d~,:[*#f'**>;G#&H'3''f*'#}+++++++++@ ",
|
||||||
|
" .+++++++++-452'<^7s>~~-)$$-<]]7;=H7l|22*,;134}+++++++++@ ",
|
||||||
|
" .+++++++++>3542}l*4>-'&~k~e7]xe%:t(*32;|'';'2*+++++++++@ ",
|
||||||
|
" .+++++++++}4s4224s-*'2!<31%}]**;2=*322',#*|*'=+++++++++@ ",
|
||||||
|
" .+++++++++*25s24s}|-21l!kek7x~!!*3,7--&-1*|;;*+++++++++@ ",
|
||||||
|
" .+++++++++*52sr42;te4~%ee},~~]][8_e~}>1',;|*1>+++++++++@ ",
|
||||||
|
" .+++++++++*2rs2sI*254#t-);f)~1*'*~}<||>1''|*'}+++++++++@ ",
|
||||||
|
" .+++++++++=2444s52242#t:=#-^7$J7e<(:)}:|'*<|;%+++++++++@ ",
|
||||||
|
" .+++++++++=''##32''122~t-2*|*|t}<tt~q-*;;>>,}-+++++++++@ ",
|
||||||
|
" .+++++++++)'2f444f3f24552r5=1e!$~**-t=-}=>,=}<+++++++++@ ",
|
||||||
|
" .+++++++++-='%''#''''#324f#3}-le7~q7^]7$tx*|&t+++++++++@ ",
|
||||||
|
" .+++++++++-1}1;;3f3'1ss22f31>%:tkkk~!-t-<-}<k;+++++++++@ ",
|
||||||
|
" .+++++++++~tt$t%}-}%}&-}<<<&tk))&<tt$k~e!e!Jel+++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ..................... ..................... ",
|
||||||
|
" .++++++++++++++++++++@ .++++++++++++++++++++@ ",
|
||||||
|
" .++...+++...+++...+++@ .++...+++...+++...+++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .++...+++...+++...+++@ .++...+++...+++...+++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .+.+++.+.+++.+.+++.++@ .+.+++.+.+++.+.+++.++@ ",
|
||||||
|
" .++...+++...+++...+++@ .++...+++...+++...+++@ ",
|
||||||
|
" .++++++++++++++++++++@ .++++++++++++++++++++@ ",
|
||||||
|
" @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "};
|
182
wmymail/xpm/mbox_1.xpm
Normal file
182
wmymail/xpm/mbox_1.xpm
Normal file
|
@ -0,0 +1,182 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * mbox_1_xpm[] = {
|
||||||
|
"39 33 146 2",
|
||||||
|
" c None",
|
||||||
|
". c #2A2A2A",
|
||||||
|
"+ c #E2C696",
|
||||||
|
"@ c #DEBE92",
|
||||||
|
"# c #D2B28A",
|
||||||
|
"$ c #C27E52",
|
||||||
|
"% c #AA623E",
|
||||||
|
"& c #625A4A",
|
||||||
|
"* c #5E5646",
|
||||||
|
"= c #565246",
|
||||||
|
"- c #EAD2A6",
|
||||||
|
"; c #524A42",
|
||||||
|
"> c #F6E2B6",
|
||||||
|
", c #52423E",
|
||||||
|
"' c #BE8A66",
|
||||||
|
") c #4E463E",
|
||||||
|
"! c #7A6E5A",
|
||||||
|
"~ c #F2DEB2",
|
||||||
|
"{ c #42423E",
|
||||||
|
"] c #CA966E",
|
||||||
|
"^ c #B67E5A",
|
||||||
|
"/ c #F2DAAA",
|
||||||
|
"( c #E6CA9E",
|
||||||
|
"_ c #CAA276",
|
||||||
|
": c #9E6A4A",
|
||||||
|
"< c #3E3E3E",
|
||||||
|
"[ c #FAE6BE",
|
||||||
|
"} c #766A5A",
|
||||||
|
"| c #AA6E4A",
|
||||||
|
"1 c #D6A67E",
|
||||||
|
"2 c #DAB68A",
|
||||||
|
"3 c #EED6A6",
|
||||||
|
"4 c #363632",
|
||||||
|
"5 c #E6CE9E",
|
||||||
|
"6 c #827E76",
|
||||||
|
"7 c #BA724A",
|
||||||
|
"8 c #DEB686",
|
||||||
|
"9 c #DEC29A",
|
||||||
|
"0 c #F6DEB2",
|
||||||
|
"a c #BA8E6A",
|
||||||
|
"b c #B67A56",
|
||||||
|
"c c #EACEA2",
|
||||||
|
"d c #DEBA8E",
|
||||||
|
"e c #F6E2BA",
|
||||||
|
"f c #CEAA82",
|
||||||
|
"g c #A67656",
|
||||||
|
"h c #E6C69A",
|
||||||
|
"i c #564E46",
|
||||||
|
"j c #5A5652",
|
||||||
|
"k c #F2D6AA",
|
||||||
|
"l c #E6BE92",
|
||||||
|
"m c #B6764E",
|
||||||
|
"n c #EECEA2",
|
||||||
|
"o c #F2DAB2",
|
||||||
|
"p c #C69266",
|
||||||
|
"q c #5E5242",
|
||||||
|
"r c #D6AA7A",
|
||||||
|
"s c #4E423A",
|
||||||
|
"t c #E2C296",
|
||||||
|
"u c #EACA9A",
|
||||||
|
"v c #EED2A6",
|
||||||
|
"w c #DAB286",
|
||||||
|
"x c #C2865A",
|
||||||
|
"y c #CE9E76",
|
||||||
|
"z c #BA7A52",
|
||||||
|
"A c #F6DEB6",
|
||||||
|
"B c #62564A",
|
||||||
|
"C c #EAC69A",
|
||||||
|
"D c #FAE6C2",
|
||||||
|
"E c #AA724E",
|
||||||
|
"F c #DABA8E",
|
||||||
|
"G c #7A7262",
|
||||||
|
"H c #EED6AA",
|
||||||
|
"I c #E6C296",
|
||||||
|
"J c #E2BA8E",
|
||||||
|
"K c #FAE2BA",
|
||||||
|
"L c #DAAA7E",
|
||||||
|
"M c #5A524A",
|
||||||
|
"N c #5A564E",
|
||||||
|
"O c #EED6AE",
|
||||||
|
"P c #E2BE9A",
|
||||||
|
"Q c #EACEA6",
|
||||||
|
"R c #F6E2BE",
|
||||||
|
"S c #E2BE92",
|
||||||
|
"T c #CEA27A",
|
||||||
|
"U c #B26E4A",
|
||||||
|
"V c #DEAE82",
|
||||||
|
"W c #665E4E",
|
||||||
|
"X c #52463E",
|
||||||
|
"Y c #FAEAC2",
|
||||||
|
"Z c #EECEA6",
|
||||||
|
"` c #E2B68A",
|
||||||
|
" . c #CAA67E",
|
||||||
|
".. c #D6AE86",
|
||||||
|
"+. c #E2BE96",
|
||||||
|
"@. c #564A42",
|
||||||
|
"#. c #DEB68A",
|
||||||
|
"$. c #F2DEB6",
|
||||||
|
"%. c #E6C69E",
|
||||||
|
"&. c #DEB286",
|
||||||
|
"*. c #AE724E",
|
||||||
|
"=. c #E6CAA2",
|
||||||
|
"-. c #56524A",
|
||||||
|
";. c #F2DAAE",
|
||||||
|
">. c #625A4E",
|
||||||
|
",. c #D6BA96",
|
||||||
|
"'. c #564E4A",
|
||||||
|
"). c #E2BA92",
|
||||||
|
"!. c #A66646",
|
||||||
|
"~. c #A26E4A",
|
||||||
|
"{. c #F2D6AE",
|
||||||
|
"]. c #E6C29A",
|
||||||
|
"^. c #C6A27E",
|
||||||
|
"/. c #C6926E",
|
||||||
|
"(. c #EACAA2",
|
||||||
|
"_. c #EED2AA",
|
||||||
|
":. c #DAAE86",
|
||||||
|
"<. c #5E564A",
|
||||||
|
"[. c #524642",
|
||||||
|
"}. c #EAC69E",
|
||||||
|
"|. c #EECEAA",
|
||||||
|
"1. c #E6BE96",
|
||||||
|
"2. c #DEB68E",
|
||||||
|
"3. c #C28A62",
|
||||||
|
"4. c #AE6E4A",
|
||||||
|
"5. c #D2AA82",
|
||||||
|
"6. c #E2C29A",
|
||||||
|
"7. c #7A6E5E",
|
||||||
|
"8. c #F2DAB6",
|
||||||
|
"9. c #EACA9E",
|
||||||
|
"0. c #DABA92",
|
||||||
|
"a. c #56524E",
|
||||||
|
"b. c #524A46",
|
||||||
|
"c. c #DEBA92",
|
||||||
|
"d. c #EACEAA",
|
||||||
|
"e. c #E6CEA2",
|
||||||
|
"f. c #4E423E",
|
||||||
|
"g. c #E2C69A",
|
||||||
|
"h. c #DAB68E",
|
||||||
|
"i. c #DAB28A",
|
||||||
|
"j. c #FAE2BE",
|
||||||
|
"k. c #DEBE96",
|
||||||
|
"l. c #CAA27A",
|
||||||
|
"m. c #5A5656",
|
||||||
|
"n. c #5E5246",
|
||||||
|
"o. c #564A46",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . @.; i @.i @.; i i i M i i i i i i i i i ; ; ; ; ; ; ; ; X @.i @.. . . ",
|
||||||
|
". . . 6 5 / 3 3 0 / / > / > / 0 0 > [ [ [ > ~ u d S ( ^.r y y ] p _ 3 + ; . . ",
|
||||||
|
". . . } 3 ~ / ~ / 0 e > A ~ e > K e e e > K v a S S 8 2 2 | E *.| ^ v + ; . . ",
|
||||||
|
". . . } A O $.o e [ K o > [ 0 e > A e > K > F 2 - 3 d + w ~.x U 7 x - ( i . . ",
|
||||||
|
". . . } 0 A > [ e e > o ~ ~ > e [ [ [ [ [ [ 0.9.c Q c @ ..*.p % $ x - - i . . ",
|
||||||
|
". . . ! e > e 8.e.> ;./ ;.H ~ e [ D [ [ R A H 6.9.S k.y y % ^ m z 4.( 5 ; . . ",
|
||||||
|
". . . } R [ [ ,.$.j.~ o o {.;.H > [ D D e e > - F t e.f ^.E 4.!.b ' A - i . . ",
|
||||||
|
". . . G > D e e e $.%.> > c ;.;.;.8.[ [ > o ;._.H k ;.;.~ t :.w w S 0 - i . . ",
|
||||||
|
". . . ! ~ [ e R [ _.+.A Q i.H e.F _.~ e ~ ;./ / S +.H :.o e ~ $.~ ;.0 H i . . ",
|
||||||
|
". . . 7.O R R R d.` +.[ ( ).A ].%.g.e.Q ..@ 6.{.:.).+.c e A k ;./ ~ R ;.i . . ",
|
||||||
|
". . . } ~ e [ e _.P $.A H Q e c.(.}.6.0.h.k.t H }.1 {.A e ;.H A ;.;.0 $.i . . ",
|
||||||
|
". . . 7.o D R [ [ [ R Z O > (.}.A o - 9.&.;.v {.> _.0 o > ~ ;.~ v 3 ;./ i . . ",
|
||||||
|
". . . ! > [ [ R e D %._.Z > ( +.t ).9.&.).#.J ].;.o S (.c n n ~ / H O ;.= . . ",
|
||||||
|
". . . 7.$.[ R [ D [ o (.o 8.(.C }.v ~ Z C ).I I r r (.v k ~ ~ k o - ;./ i . . ",
|
||||||
|
". . . ! $.[ D R R D $.D R e o J I k ~ S n {.9.;._.n S 9.n h / ~ ~ - ;.- -.. . ",
|
||||||
|
". . . } ;.> > [ [ [ A A [ e C S ].o 9.I l ].` l J J S t - v o ;.- 3 ;.e.i . . ",
|
||||||
|
". . . ! O ~ ~ ~ A A > ~ ~ e j.[ e [ e _.~ I 9.( v 3 H (.c ;.v k H H H 5 -.. . ",
|
||||||
|
". . . } - ~ n 0 $.e o A A e e R [ j.e ~ k C ` I 9.1.` :.J &.( ( - H v g.'.. . ",
|
||||||
|
". . . } H ;.$.> ~ > > A o ~ e R [ $.A A Z n h t S t J S ( 5 - c C H ( 5 N . . ",
|
||||||
|
". . . } 2 =.( ( Q {.v H o O k / ;.{.o v - c 9.3 ;.3 3 - c 9.( ( 5 t + h a.. . ",
|
||||||
|
". . . 4 m.a.i -.i '.i i o.i b.b.; ; b.; ) ; X X [., X ; ; ) X s ) s s s 4 . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "};
|
254
wmymail/xpm/mbox_2.xpm
Normal file
254
wmymail/xpm/mbox_2.xpm
Normal file
|
@ -0,0 +1,254 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * mbox_2_xpm[] = {
|
||||||
|
"39 33 218 2",
|
||||||
|
" c None",
|
||||||
|
". c #2A2A2A",
|
||||||
|
"+ c #2E2E2A",
|
||||||
|
"@ c #625E4E",
|
||||||
|
"# c #8E7E66",
|
||||||
|
"$ c #C2A686",
|
||||||
|
"% c #DEC296",
|
||||||
|
"& c #E6CEA2",
|
||||||
|
"* c #EED6A6",
|
||||||
|
"= c #7E6A56",
|
||||||
|
"- c #3A3632",
|
||||||
|
"; c #F6E6BE",
|
||||||
|
"> c #866E56",
|
||||||
|
", c #A68E72",
|
||||||
|
"' c #F2DEAE",
|
||||||
|
") c #4E3E36",
|
||||||
|
"! c #AE926E",
|
||||||
|
"~ c #C6AE8A",
|
||||||
|
"{ c #9E6646",
|
||||||
|
"] c #564E46",
|
||||||
|
"^ c #CEB68E",
|
||||||
|
"/ c #B6926E",
|
||||||
|
"( c #AA6242",
|
||||||
|
"_ c #B27652",
|
||||||
|
": c #E6CA9A",
|
||||||
|
"< c #DEB68A",
|
||||||
|
"[ c #F6E2B6",
|
||||||
|
"} c #BA9E7E",
|
||||||
|
"| c #B27E5A",
|
||||||
|
"1 c #5E5646",
|
||||||
|
"2 c #EEDAAA",
|
||||||
|
"3 c #DEBA8E",
|
||||||
|
"4 c #CAAE82",
|
||||||
|
"5 c #AA6642",
|
||||||
|
"6 c #BA8666",
|
||||||
|
"7 c #A29276",
|
||||||
|
"8 c #EAD2A2",
|
||||||
|
"9 c #CEAE86",
|
||||||
|
"0 c #AA724E",
|
||||||
|
"a c #C2A27E",
|
||||||
|
"b c #CEA67E",
|
||||||
|
"c c #665E4E",
|
||||||
|
"d c #BA926E",
|
||||||
|
"e c #927A5E",
|
||||||
|
"f c #DAAE82",
|
||||||
|
"g c #E2C292",
|
||||||
|
"h c #C2865E",
|
||||||
|
"i c #46423A",
|
||||||
|
"j c #BE6E46",
|
||||||
|
"k c #E2C69A",
|
||||||
|
"l c #665646",
|
||||||
|
"m c #E2BA8A",
|
||||||
|
"n c #4E423A",
|
||||||
|
"o c #C2764E",
|
||||||
|
"p c #F6DEAE",
|
||||||
|
"q c #625A4A",
|
||||||
|
"r c #CA9A72",
|
||||||
|
"s c #C2926E",
|
||||||
|
"t c #725E4E",
|
||||||
|
"u c #E2BE8E",
|
||||||
|
"v c #DAA67A",
|
||||||
|
"w c #EECEA2",
|
||||||
|
"x c #B66A42",
|
||||||
|
"y c #F6E2BA",
|
||||||
|
"z c #C6A27A",
|
||||||
|
"A c #DAB68A",
|
||||||
|
"B c #96826A",
|
||||||
|
"C c #C68E5E",
|
||||||
|
"D c #FAE2BA",
|
||||||
|
"E c #DABE9A",
|
||||||
|
"F c #F2D6AA",
|
||||||
|
"G c #A66E4E",
|
||||||
|
"H c #AE6E4A",
|
||||||
|
"I c #F6DEB6",
|
||||||
|
"J c #766652",
|
||||||
|
"K c #EED2A2",
|
||||||
|
"L c #8E7A62",
|
||||||
|
"M c #F2DAB2",
|
||||||
|
"N c #BE7E56",
|
||||||
|
"O c #5E5242",
|
||||||
|
"P c #EACA9A",
|
||||||
|
"Q c #36322E",
|
||||||
|
"R c #CE9E76",
|
||||||
|
"S c #564A3E",
|
||||||
|
"T c #DEAE82",
|
||||||
|
"U c #463A36",
|
||||||
|
"V c #D2BA92",
|
||||||
|
"W c #EAC69A",
|
||||||
|
"X c #E6C296",
|
||||||
|
"Y c #BA764E",
|
||||||
|
"Z c #AA9A7A",
|
||||||
|
"` c #DEBE92",
|
||||||
|
" . c #BE8E6A",
|
||||||
|
".. c #EED6AA",
|
||||||
|
"+. c #CE926A",
|
||||||
|
"@. c #E6BE8E",
|
||||||
|
"#. c #EACE9E",
|
||||||
|
"$. c #FAE6C2",
|
||||||
|
"%. c #7E725E",
|
||||||
|
"&. c #D6BA92",
|
||||||
|
"*. c #56524A",
|
||||||
|
"=. c #CA865A",
|
||||||
|
"-. c #EED2AA",
|
||||||
|
";. c #DEAA7E",
|
||||||
|
">. c #EEDAAE",
|
||||||
|
",. c #E2B68A",
|
||||||
|
"'. c #D6B286",
|
||||||
|
"). c #B26A46",
|
||||||
|
"!. c #AE724E",
|
||||||
|
"~. c #EACEA2",
|
||||||
|
"{. c #9A866A",
|
||||||
|
"]. c #665A46",
|
||||||
|
"^. c #D2A272",
|
||||||
|
"/. c #DEB286",
|
||||||
|
"(. c #AE6A46",
|
||||||
|
"_. c #625646",
|
||||||
|
":. c #F2DEB2",
|
||||||
|
"<. c #F6E2BE",
|
||||||
|
"[. c #2E2A2A",
|
||||||
|
"}. c #FAE6BE",
|
||||||
|
"|. c #F2DAAE",
|
||||||
|
"1. c #FAEAC2",
|
||||||
|
"2. c #625A4E",
|
||||||
|
"3. c #7E6E5E",
|
||||||
|
"4. c #E2BA92",
|
||||||
|
"5. c #D6AA7E",
|
||||||
|
"6. c #766A56",
|
||||||
|
"7. c #5A4A3E",
|
||||||
|
"8. c #EAD2A6",
|
||||||
|
"9. c #DAB286",
|
||||||
|
"0. c #3E3A36",
|
||||||
|
"a. c #AE9672",
|
||||||
|
"b. c #B67A52",
|
||||||
|
"c. c #BA8A62",
|
||||||
|
"d. c #C68A5A",
|
||||||
|
"e. c #C27A4E",
|
||||||
|
"f. c #B66E46",
|
||||||
|
"g. c #BA7A52",
|
||||||
|
"h. c #CA966A",
|
||||||
|
"i. c #CA8A5E",
|
||||||
|
"j. c #322E2E",
|
||||||
|
"k. c #B2724A",
|
||||||
|
"l. c #D6B692",
|
||||||
|
"m. c #E6C29A",
|
||||||
|
"n. c #EED6AE",
|
||||||
|
"o. c #665A4A",
|
||||||
|
"p. c #CEA27A",
|
||||||
|
"q. c #F2DAAA",
|
||||||
|
"r. c #E6C696",
|
||||||
|
"s. c #A26A4A",
|
||||||
|
"t. c #CEB28E",
|
||||||
|
"u. c #C6966E",
|
||||||
|
"v. c #A6724E",
|
||||||
|
"w. c #EECEA6",
|
||||||
|
"x. c #DABA8E",
|
||||||
|
"y. c #5A5246",
|
||||||
|
"z. c #E6BA92",
|
||||||
|
"A. c #EAC29A",
|
||||||
|
"B. c #AE9276",
|
||||||
|
"C. c #A2927E",
|
||||||
|
"D. c #E2BE92",
|
||||||
|
"E. c #F6DEBA",
|
||||||
|
"F. c #EED2A6",
|
||||||
|
"G. c #EACAA2",
|
||||||
|
"H. c #E6BE96",
|
||||||
|
"I. c #EACEA6",
|
||||||
|
"J. c #E6C69A",
|
||||||
|
"K. c #5A4E42",
|
||||||
|
"L. c #D2A67E",
|
||||||
|
"M. c #B26E4A",
|
||||||
|
"N. c #7A6656",
|
||||||
|
"O. c #625246",
|
||||||
|
"P. c #9E866A",
|
||||||
|
"Q. c #DAB68E",
|
||||||
|
"R. c #6A5A4E",
|
||||||
|
"S. c #D2A276",
|
||||||
|
"T. c #5E564A",
|
||||||
|
"U. c #EAC69E",
|
||||||
|
"V. c #E2B68E",
|
||||||
|
"W. c #B67652",
|
||||||
|
"X. c #BE8662",
|
||||||
|
"Y. c #C6865A",
|
||||||
|
"Z. c #6A5646",
|
||||||
|
"`. c #CE9A6E",
|
||||||
|
" + c #C27E52",
|
||||||
|
".+ c #3A322E",
|
||||||
|
"++ c #D29E72",
|
||||||
|
"@+ c #BE7A52",
|
||||||
|
"#+ c #564A42",
|
||||||
|
"$+ c #E6CA9E",
|
||||||
|
"%+ c #E2BA8E",
|
||||||
|
"&+ c #F6DEB2",
|
||||||
|
"*+ c #FAE2BE",
|
||||||
|
"=+ c #F2D6AE",
|
||||||
|
"-+ c #EACA9E",
|
||||||
|
";+ c #E6BE92",
|
||||||
|
">+ c #F2DEB6",
|
||||||
|
",+ c #EAD2AA",
|
||||||
|
"'+ c #DABA92",
|
||||||
|
")+ c #E2C296",
|
||||||
|
"!+ c #DEBE96",
|
||||||
|
"~+ c #DEB28A",
|
||||||
|
"{+ c #DAB28A",
|
||||||
|
"]+ c #DEC29A",
|
||||||
|
"^+ c #AE7252",
|
||||||
|
"/+ c #62564A",
|
||||||
|
"(+ c #D6AA82",
|
||||||
|
"_+ c #5A524A",
|
||||||
|
":+ c #2E2E2E",
|
||||||
|
"<+ c #CEA682",
|
||||||
|
"[+ c #B66A46",
|
||||||
|
"}+ c #766656",
|
||||||
|
"|+ c #5E5246",
|
||||||
|
"1+ c #D6B28A",
|
||||||
|
"2+ c #7E6E62",
|
||||||
|
"3+ c #CA966E",
|
||||||
|
"4+ c #B2724E",
|
||||||
|
"5+ c #665A4E",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . - {.R.S ] ] S ] ] ] y.*.] ] ] ] ] ] ] ] S S S S S S S S n S ] S [.. . ",
|
||||||
|
". . . . E ,+* 2 & 8 8 * * [ q.p p [ ; }.}.[ p K &.` k 4 b R R r r r F & O.. . ",
|
||||||
|
". . . n & F I ..|.p |.q.M 2 |.:.[ D y y y y >. .< k f x.x._ G !.H v.#.: l . . ",
|
||||||
|
". . . S 8.:.M I ' M [ *+[ I y I |.>.' |.|.>+D.'.* F.)+` x.G C H o W.8 & _.. . ",
|
||||||
|
". . . ] * [ &+y [ <.; [ &+y ' D D <.}.}.D y ..$+$+$+~.3 l.!.h.5 o @+8 K _.. . ",
|
||||||
|
". . . K...y y *+}.D y I >.I D >+I I E.; $.y <.I 4.` % k < c.h g.k.5 J.8.K.. . ",
|
||||||
|
". . . *.:.y }.]+E M &+M :.>.p ; }.; D y [ I [ b R ;+;.: d 5.L.'.z d F.* _.. . ",
|
||||||
|
". . . }+I $.y I [ D &+|.|.q.M &+y }.; }.$.}.=+++q.8 & ` < h.(.5 ).N 9.K ~ . . ",
|
||||||
|
". . . B &+}.; y ; M W &+I q.>.|.I $.1.; ; y n.$+w -+K 5.P b.C W.Y.(.(+~.a . . ",
|
||||||
|
". . . ~ y <.y E.=+,.A.I w X q.q.:.y ; *+D y I < -+D.: A '.b.d.[+j x : #.B . . ",
|
||||||
|
". . . 8.; *+; }.(+V.y I D.4.|.X 4.I <.; [ [ :...3 D.X 6 6 ( h ).e.o 8 * J . . ",
|
||||||
|
". . ] 2 *+; D y D M $...W w U.$+W |.p E.F |.q...F =+..8 A s.M.{ k.M.& J.T.. . ",
|
||||||
|
". . 3.[ D ; D <.y y G.|.&+I H.J.m.A < ` < ~.F * S.&+-.F.F./.+.=.Y.T >+~./+. . ",
|
||||||
|
". . a.I ; *+$.*+y -+F -.I ~.;+I &+M -+%+< L.q./.,.J.< -+y :.I I F.n.q.8 1 . . ",
|
||||||
|
". . V ; $.; ; 1.}.w.U.M F -+z.J.X X X 3 |.' |.w.v w |.D [ q.|.&+|.I M 8./+. . ",
|
||||||
|
". - ,+&+[ }.D *+<.<.; y M ~.: W K K ;.X ,.W -.[ -.&+D E.|...p ..q.; M ~.1 . . ",
|
||||||
|
". |+~.:.&+>+[ y &+I y ; :.m.g ~.:.:.#.,.,./.T ..M ,...F.|.:.&+|.|.[ :.8._.. . ",
|
||||||
|
". # 8.|.I.&+<.}.>+[ &+D -.;+H.=+=+;+X &+..p ~.^.r.J...F -+|...* F |.8.$+S . . ",
|
||||||
|
". ! F * I I M &+M >+E.D }.; y [ |.-+X X ;.X w F.;+F.|.|.&+|.|.8.|.|.& & ] . . ",
|
||||||
|
". 2+B.l.)+* ' [ [ &+|.[ I D }.$.y * |.r.* w D.< %+W ~.X -.&+' F.p |.$+P n . . ",
|
||||||
|
". . . . i Z.B $ G...>+y ; [ y I I y W X u r.* ..* 3 8 2 :.|...8.|.* = n . . . ",
|
||||||
|
". . . . . . . . :+#+= , l.w.M [ &+|...~.X ,.A.m D.r.8...F.=+8.F ..$+Q . . . . ",
|
||||||
|
". . . . . . . . . . . . . - O.L } E : W P : : D.,.z.%+,.#.* |...* t.. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . [.n t P.9 U.* 8 : $+8 ~.u F * $+7 . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . Q 7.= a.l.k $+8 8.$+& 3.. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . U Z.e / 9.g i . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [.#+. . . . . . "};
|
292
wmymail/xpm/mbox_3.xpm
Normal file
292
wmymail/xpm/mbox_3.xpm
Normal file
|
@ -0,0 +1,292 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * mbox_3_xpm[] = {
|
||||||
|
"39 33 256 2",
|
||||||
|
" c None",
|
||||||
|
". c #2A2A2A",
|
||||||
|
"+ c #2E2E2A",
|
||||||
|
"@ c #7E7266",
|
||||||
|
"# c #AA9676",
|
||||||
|
"$ c #D6BA8E",
|
||||||
|
"% c #E6CA9E",
|
||||||
|
"& c #AE623E",
|
||||||
|
"* c #866E56",
|
||||||
|
"= c #EED6A6",
|
||||||
|
"- c #5A5A56",
|
||||||
|
"; c #AA724E",
|
||||||
|
"> c #FAE6BE",
|
||||||
|
", c #BAA27E",
|
||||||
|
"' c #967E66",
|
||||||
|
") c #F2DAAA",
|
||||||
|
"! c #AA8662",
|
||||||
|
"~ c #524A3E",
|
||||||
|
"{ c #C2A67E",
|
||||||
|
"] c #F6E2B6",
|
||||||
|
"^ c #CAAA82",
|
||||||
|
"/ c #E2C696",
|
||||||
|
"( c #BE9672",
|
||||||
|
"_ c #4E423A",
|
||||||
|
": c #D2AA82",
|
||||||
|
"< c #E6CE9E",
|
||||||
|
"[ c #AA9272",
|
||||||
|
"} c #5E5A52",
|
||||||
|
"| c #AA6242",
|
||||||
|
"1 c #DAC296",
|
||||||
|
"2 c #766A56",
|
||||||
|
"3 c #4A423E",
|
||||||
|
"4 c #D6B286",
|
||||||
|
"5 c #F2DEAE",
|
||||||
|
"6 c #BA8E6A",
|
||||||
|
"7 c #9E8666",
|
||||||
|
"8 c #BA724A",
|
||||||
|
"9 c #DABA8E",
|
||||||
|
"0 c #BA825A",
|
||||||
|
"a c #CAA67E",
|
||||||
|
"b c #EAD2A2",
|
||||||
|
"c c #6E5E4E",
|
||||||
|
"d c #3E3632",
|
||||||
|
"e c #AE6642",
|
||||||
|
"f c #C69A72",
|
||||||
|
"g c #DEB286",
|
||||||
|
"h c #E2BA8A",
|
||||||
|
"i c #665646",
|
||||||
|
"j c #BE8A62",
|
||||||
|
"k c #CA8E5E",
|
||||||
|
"l c #927A62",
|
||||||
|
"m c #C27E52",
|
||||||
|
"n c #A28E72",
|
||||||
|
"o c #BA6E46",
|
||||||
|
"p c #CEB28A",
|
||||||
|
"q c #E2BE92",
|
||||||
|
"r c #EECEA2",
|
||||||
|
"s c #F6DEAE",
|
||||||
|
"t c #5A4E42",
|
||||||
|
"u c #E6C696",
|
||||||
|
"v c #AE6A46",
|
||||||
|
"w c #EED2A2",
|
||||||
|
"x c #F2D6A6",
|
||||||
|
"y c #BEAE8E",
|
||||||
|
"z c #E2C292",
|
||||||
|
"A c #B6724A",
|
||||||
|
"B c #CE966E",
|
||||||
|
"C c #D2A276",
|
||||||
|
"D c #F6E2BA",
|
||||||
|
"E c #C2825A",
|
||||||
|
"F c #363632",
|
||||||
|
"G c #A26A46",
|
||||||
|
"H c #EEDAAE",
|
||||||
|
"I c #B29E7E",
|
||||||
|
"J c #DEAE82",
|
||||||
|
"K c #565652",
|
||||||
|
"L c #826E56",
|
||||||
|
"M c #CA9A72",
|
||||||
|
"N c #F6DEB2",
|
||||||
|
"O c #DEB686",
|
||||||
|
"P c #AE9A7A",
|
||||||
|
"Q c #C67A4E",
|
||||||
|
"R c #E6C292",
|
||||||
|
"S c #D2B68E",
|
||||||
|
"T c #F6DEB6",
|
||||||
|
"U c #6A5A4A",
|
||||||
|
"V c #DABE96",
|
||||||
|
"W c #EACA9A",
|
||||||
|
"X c #CE9266",
|
||||||
|
"Y c #76624E",
|
||||||
|
"Z c #FAE2BA",
|
||||||
|
"` c #D29A72",
|
||||||
|
" . c #B6A682",
|
||||||
|
".. c #FAE6C2",
|
||||||
|
"+. c #BE7A52",
|
||||||
|
"@. c #36322E",
|
||||||
|
"#. c #DAA276",
|
||||||
|
"$. c #82725E",
|
||||||
|
"%. c #D2AE82",
|
||||||
|
"&. c #B67A56",
|
||||||
|
"*. c #C68A5E",
|
||||||
|
"=. c #E6BE92",
|
||||||
|
"-. c #EAD6AA",
|
||||||
|
";. c #E6D2B2",
|
||||||
|
">. c #EACE9E",
|
||||||
|
",. c #EAC69A",
|
||||||
|
"'. c #F2DAAE",
|
||||||
|
"). c #AA6E4A",
|
||||||
|
"!. c #564236",
|
||||||
|
"~. c #B66E4A",
|
||||||
|
"{. c #E2B686",
|
||||||
|
"]. c #CA8E66",
|
||||||
|
"^. c #F2DAB2",
|
||||||
|
"/. c #D6B68E",
|
||||||
|
"(. c #A69272",
|
||||||
|
"_. c #D2A67A",
|
||||||
|
":. c #D6AE82",
|
||||||
|
"<. c #F6E2BE",
|
||||||
|
"[. c #AA6642",
|
||||||
|
"}. c #B69672",
|
||||||
|
"|. c #AE724A",
|
||||||
|
"1. c #4E463A",
|
||||||
|
"2. c #CA9E76",
|
||||||
|
"3. c #EACAA2",
|
||||||
|
"4. c #C2865A",
|
||||||
|
"5. c #BA764E",
|
||||||
|
"6. c #AE6E4A",
|
||||||
|
"7. c #AE7652",
|
||||||
|
"8. c #C6AE86",
|
||||||
|
"9. c #5A5246",
|
||||||
|
"0. c #867662",
|
||||||
|
"a. c #F2D6AA",
|
||||||
|
"b. c #EED2AA",
|
||||||
|
"c. c #2E2A2A",
|
||||||
|
"d. c #5E564E",
|
||||||
|
"e. c #BEAA8A",
|
||||||
|
"f. c #76664E",
|
||||||
|
"g. c #FAEAC6",
|
||||||
|
"h. c #E2C296",
|
||||||
|
"i. c #E6C29A",
|
||||||
|
"j. c #EACEA2",
|
||||||
|
"k. c #B29A7E",
|
||||||
|
"l. c #3E3A36",
|
||||||
|
"m. c #C69266",
|
||||||
|
"n. c #DEBA8A",
|
||||||
|
"o. c #DAB282",
|
||||||
|
"p. c #32322E",
|
||||||
|
"q. c #7A6E5E",
|
||||||
|
"r. c #CAB68E",
|
||||||
|
"s. c #AA6A46",
|
||||||
|
"t. c #EAD2A6",
|
||||||
|
"u. c #D6BE96",
|
||||||
|
"v. c #96826A",
|
||||||
|
"w. c #A28A6A",
|
||||||
|
"x. c #B68662",
|
||||||
|
"y. c #6A5E4E",
|
||||||
|
"z. c #D29E6E",
|
||||||
|
"A. c #E2C69A",
|
||||||
|
"B. c #F2D6AE",
|
||||||
|
"C. c #423A32",
|
||||||
|
"D. c #EACA9E",
|
||||||
|
"E. c #F2DEB2",
|
||||||
|
"F. c #E2BA8E",
|
||||||
|
"G. c #EED6AE",
|
||||||
|
"H. c #E2B68A",
|
||||||
|
"I. c #E6CEA6",
|
||||||
|
"J. c #D6AA7E",
|
||||||
|
"K. c #EED6AA",
|
||||||
|
"L. c #D6A67A",
|
||||||
|
"M. c #B26E4A",
|
||||||
|
"N. c #E6BA8E",
|
||||||
|
"O. c #CAB292",
|
||||||
|
"P. c #BE9A76",
|
||||||
|
"Q. c #4A463E",
|
||||||
|
"R. c #DAA67A",
|
||||||
|
"S. c #DEBE92",
|
||||||
|
"T. c #BAA686",
|
||||||
|
"U. c #DAB68A",
|
||||||
|
"V. c #C6865A",
|
||||||
|
"W. c #EECEA6",
|
||||||
|
"X. c #DAAE86",
|
||||||
|
"Y. c #B2724E",
|
||||||
|
"Z. c #BE764E",
|
||||||
|
"`. c #D2BA96",
|
||||||
|
" + c #BAA286",
|
||||||
|
".+ c #CAAA86",
|
||||||
|
"++ c #EED2A6",
|
||||||
|
"@+ c #DEB68E",
|
||||||
|
"#+ c #C6926E",
|
||||||
|
"$+ c #DAB28A",
|
||||||
|
"%+ c #D29E76",
|
||||||
|
"&+ c #322E2C",
|
||||||
|
"*+ c #524236",
|
||||||
|
"=+ c #7A6A56",
|
||||||
|
"-+ c #B26642",
|
||||||
|
";+ c #A68E6E",
|
||||||
|
">+ c #5E4E3E",
|
||||||
|
",+ c #D6A276",
|
||||||
|
"'+ c #3A3632",
|
||||||
|
")+ c #B69E7C",
|
||||||
|
"!+ c #CE9A72",
|
||||||
|
"~+ c #E6C296",
|
||||||
|
"{+ c #3A322E",
|
||||||
|
"]+ c #86725C",
|
||||||
|
"^+ c #CA8A62",
|
||||||
|
"/+ c #52463A",
|
||||||
|
"(+ c #CE9E74",
|
||||||
|
"_+ c #B69A7A",
|
||||||
|
":+ c #E6C69A",
|
||||||
|
"<+ c #E2C29A",
|
||||||
|
"[+ c #FAE2BE",
|
||||||
|
"}+ c #EAC69E",
|
||||||
|
"|+ c #E2B68E",
|
||||||
|
"1+ c #DEB28A",
|
||||||
|
"2+ c #B2623E",
|
||||||
|
"3+ c #CEAA7E",
|
||||||
|
"4+ c #6A5646",
|
||||||
|
"5+ c #C28A62",
|
||||||
|
"6+ c #C68256",
|
||||||
|
"7+ c #7A6252",
|
||||||
|
"8+ c #CAAE8A",
|
||||||
|
"9+ c #5E5246",
|
||||||
|
"0+ c #8A7662",
|
||||||
|
"a+ c #7A6652",
|
||||||
|
"b+ c #9A826A",
|
||||||
|
"c+ c #BA8662",
|
||||||
|
"d+ c #E6CEA2",
|
||||||
|
"e+ c #E6CAA2",
|
||||||
|
"f+ c #A69276",
|
||||||
|
"g+ c #EACEA6",
|
||||||
|
"h+ c #F2DEB6",
|
||||||
|
"i+ c #E2BA92",
|
||||||
|
"j+ c #DAB68E",
|
||||||
|
"k+ c #DEBA8E",
|
||||||
|
"l+ c #DEB68A",
|
||||||
|
"m+ c #E2C69E",
|
||||||
|
"n+ c #DAB286",
|
||||||
|
"o+ c #EEDAB2",
|
||||||
|
"p+ c #C6926A",
|
||||||
|
"q+ c #BAA68A",
|
||||||
|
"r+ c #D2AE86",
|
||||||
|
"s+ c #D6AE86",
|
||||||
|
"t+ c #AE724E",
|
||||||
|
"u+ c #BA7652",
|
||||||
|
"v+ c #AA6A4A",
|
||||||
|
"w+ c #423A36",
|
||||||
|
"x+ c #AA7252",
|
||||||
|
"y+ c #C2A682",
|
||||||
|
"z+ c #B6724E",
|
||||||
|
"A+ c #826E5A",
|
||||||
|
"B+ c #363232",
|
||||||
|
"C+ c #D2A67E",
|
||||||
|
"D+ c #4E463E",
|
||||||
|
"E+ c #AE7656",
|
||||||
|
"F+ c #A28A6E",
|
||||||
|
"G+ c #D6A67E",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . c._ Y n 8+L . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . {+i 0+, %.C 5+k+j.}.. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . c.~ L (.S z ( L.s.[.).v z.b 4 . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . d Y F+r.'.^.n.X.L.u :.L.M.*.A o X t.d+d . . . . ",
|
||||||
|
". . . . . . . . . . &+d.0+T.I.] ..> <.D D.#+% K.$+,.U.M.V.& m 8 % >.>+. . . . ",
|
||||||
|
". . . Q.f.n a+Y 7 8+>.) ) '.h+E.h+] ^.^.q k+t.>.A.l+:.4.!+V.*.0 n.a.n 3 . . . ",
|
||||||
|
". . 4+;.-.t.5 = < = ++b K.5 N E.D D > > D D s S.k+1 A.P.J.2.!+!+p+S.w # . . . ",
|
||||||
|
". . <+g+t.D ^.^.N 5 '.T T K.^.E.T D <.> D D s+a ~+4 :+%.].x+|.7.).%.>.k.. . . ",
|
||||||
|
". {+d+G.B.^.E.'.E.T D D h+D ] T E.E.5 H '.B.( a.W.W.s+d+x.0 ).Q M.1+>.I . . . ",
|
||||||
|
". . V H K.T N Z D [+D N ] T E.T D <.> ..> D '.-.h.j.@+% 0 0 &.o +.n+++, . . . ",
|
||||||
|
". . I t.h+<.> <.> D D '.^.] D D D T D <.<.Z D D.4 9 / A.4 p+m.6.5.f -.P . . . ",
|
||||||
|
". . 0.K.> <.> 8+% T '.'.^.a.T Z > <.> ] ] ] ++#+l+:+J.S.6 C _.4 a U.-.e.. . . ",
|
||||||
|
". . >+H D > D Z D D ) s N ) E.h+> > <.....[+i+q = ++i.S.F.5.s.e | Y.W >.' . . ",
|
||||||
|
". . B+j.> D D > > 3.W.] '.) ) '.D g.g.> > D i.b.++j.:+k+@+v+k +.E A r % a+. . ",
|
||||||
|
". . 1.G.D > D D ~+H.b.^.i+++'.) N D > > T D '.k+h.z q : (+Y.E & o k b % =+. . ",
|
||||||
|
". . f.E.<.> D B.J i+> ++F.D.++S.~+h+D > E.E.a.++i+~+:+7.E+v 6+2+Q B t.>.;+. . ",
|
||||||
|
". . n h+> <.<.<.<.> D K.N.T F.D.D.) E.'.) ) H = = a.K.) : t+s.G z+M = ~+, . . ",
|
||||||
|
". . O.> ] > D > <.B.W.H ] K.=.D.i+@+$+C+q D.a.q k+N h.5 r 1+` ^+X g+E.d+% c.. ",
|
||||||
|
". + t.D ..> ..D ] }+}+T T =.j.T E.K.++h.H.q = R.|+i+N.^.] 5 D N ++N = j.% *+. ",
|
||||||
|
". t H > ..> <.g.h+b.3.> <+W.g =.,.>.#.t.) '.b.j.g K.] T ^.K.5 E.'.N t.O.!.. . ",
|
||||||
|
". @ '.5 h+D > > Z > <.D ^.3.:+t.= :+g =.l+=.N T 5 Z Z ] K.'.^.a.N <.++T.. . . ",
|
||||||
|
". ;+K.N ] T T D E.N D T ) q ~+) N ++u =.N.H.g 3.D.i+b.r ) ] ) K.N D b.T.. . . ",
|
||||||
|
". $ K.T j.E.<.D T N N > }+=.}+h+}+H.j.a.= E.z O D.r a.'.r ) ) K.) E.% I . . . ",
|
||||||
|
"l.l+H K.T N N h+E.h+D Z > > Z > H r j.F.g ~+j.W q w N 5 ^.a.) t.) 5 d+e.. . . ",
|
||||||
|
"B+q.7 q u K.E.] T N '.] D > <.> '.K.r =.a.r u g ~+% % =.N E.'.++^.b.I.I . . . ",
|
||||||
|
". . . K K 7+l _+<+b.E.D <.> E.D ] '.% =.z ~+H H ++S.t.N s B.t.= 5 1 _ 3 . . . ",
|
||||||
|
". . . . . . . . . 3 U ' .+3.G.] ^.b.D.% ~+R =.H.O D.t.b ++H = ) t.# . . . . . ",
|
||||||
|
". . . . . . . . . . . . . &+~ * [ /.u D.D.,.% =.q h H.% W a.'.K.++]+. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . w+4+l y+R b >.d+% j.d+~+t.++1 9.. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . c.*+7+w.8+q < b j.A.t.p.. . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . {+>+* ! $+y+. . . . . . ",
|
||||||
|
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '+. . . . . . "};
|
16
wmymail/xpm/numbers.xpm
Normal file
16
wmymail/xpm/numbers.xpm
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * numbers_xpm[] = {
|
||||||
|
"55 9 4 1",
|
||||||
|
" c None",
|
||||||
|
". c #282828",
|
||||||
|
"+ c #D3D3D3",
|
||||||
|
"@ c #000000",
|
||||||
|
".+++..@@@..+++..+++..@@@..+++..+++..+++..+++..+++......",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+++...",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+.++..",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+..++.",
|
||||||
|
".@@@..@@@..+++..+++..+++..+++..+++..@@@..+++..+++....++",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+..++.",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+.++..",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+++...",
|
||||||
|
".+++..@@@..+++..+++..@@@..+++..+++..@@@..+++..+++......"};
|
16
wmymail/xpm/unumbers.xpm
Normal file
16
wmymail/xpm/unumbers.xpm
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * unumbers_xpm[] = {
|
||||||
|
"55 9 4 1",
|
||||||
|
" c None",
|
||||||
|
". c #282828",
|
||||||
|
"+ c #7FFFD4",
|
||||||
|
"@ c #000000",
|
||||||
|
".+++..@@@..+++..+++..@@@..+++..+++..+++..+++..+++......",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+++...",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+.++..",
|
||||||
|
"+...+@...+@...+@...++...++...@+...@@...++...++...+..++.",
|
||||||
|
".@@@..@@@..+++..+++..+++..+++..+++..@@@..+++..+++....++",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+..++.",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+.++..",
|
||||||
|
"+...+@...++...@@...+@...+@...++...+@...++...+@...+++...",
|
||||||
|
".+++..@@@..+++..+++..@@@..+++..+++..@@@..+++..+++......"};
|
Loading…
Reference in a new issue