Commit Graph

4 Commits

Author SHA1 Message Date
Christian Kreibich 811247cb78 Esnprintf is in the house now :)
SVN revision: 1242
1999-11-10 23:37:53 +00:00
Michael Jennings 607ee975fe Tue Oct 26 16:06:43 PDT 1999
(KainX)

Okay, don't kill me.  I had to change the API again because it was broken.
Epplet_load_config() now takes no parameters.  I also renamed some functions,
which the following command should help you do:

perl -p -i.bak -e \
	's/config_data_with_def/config_def/g; s/_config_data/_config/g;' \
	<files>

That all goes on a single line, BTW.  And replace <files> with the names of
your .c files.  You must now specify any defaults by calling
Epplet_query_config_def() instead and passing the default to that function.

I also added the ability to right-justify label text by specifying a negative
x coordinate.  See E-Time for a sample.


SVN revision: 989
1999-10-26 15:48:35 +00:00
Michael Jennings 94eac0fea1 Tue Oct 26 13:42:53 PDT 1999
(KainX)

First off, I removed some unneeded variables from E-MemWatch.  I also fixed a
reporting bug in E-Disk.

But most importantly, I fixed Epplet_change_label() to avoid changing a label
to the exact same string.  This is the best place to handle this situation,
because it saves resources (we already have both strings to compare) and, due
to the nature of epplets, the probability is very high that this function
would only (or at least primarily) be called from a timer callback.  So it
simplifies client code this way too.


SVN revision: 983
1999-10-26 13:26:21 +00:00
Michael Jennings 02e42b0669 Helps if you actually commit the C file. =P
SVN revision: 970
1999-10-25 23:18:49 +00:00