1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 20:38:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
mfrasca
056bdadb6b 1642056: pywmwet.py
adding the file pywmwet.py to cvs.
also removing an unnecessary parameter in a call to wmdocklib.initPixmap.
2007-01-28 11:33:50 +00:00
mfrasca
3c127f9849 1584740: colours messed up
modified the fonts: they start from background colour (None or Black) and go
to full intensity, which ought to be gray100 or white.

the initialization procedure will spread all colour differences between the
requested background and foreground proportionally to the intensity of the
gray char pixel.

most colour code clashes are resolved at initialization stage.  there are
only a few things you should not reuse, such as the space for transparency.
just try out the result and make use of the 'debug' parameter which will
cause the function to print the the generated xpm.
2006-10-26 08:41:00 +00:00
mfrasca
6b33e26ed2 removed setting the colour palette for symbols in the font: it happens
in the initialization of the pixmap.
2006-10-25 06:01:20 +00:00
mfrasca
8ad2c1dfa0 correzioni sparse riguardanti i font...
l'intenzione sarebbe di riservare i caratteri non alfanumerici ai colori dei font (invece che i soli [ $]).
invece i caratteri alfanumerici ai pattern utente.

magari me ne faccio bastare -diciamo- quattro, di caratteri non alfanumerici per i colori dei font...
tipo
  c None (trasparente)
. c grey quasi background
" c grey intermedio
* c grey quasi foreground
$ c foreground

e anzi, a seconda del foreground e del background, potrei sfumare corrispondentemente...
2006-10-24 21:01:33 +00:00
mfrasca
504b2419f8 1580293: initialization of pixmask - drawing areas
this again is a radical modification...  more or less as requested in pr.
2006-10-20 20:01:54 +00:00
mfrasca
cf651f617d 1578113: trailing black in text line
a few simple corrections in the defaults and options reading code.
2006-10-16 14:01:30 +00:00
mfrasca
40e45c56ba 1578113: trailing black in text line
rewritten the _scrollAndDisplay method.
2006-10-16 13:12:13 +00:00
mfrasca
f469f22b59 1577063: fonts are hard coded
added -F, --font option to some examples.
2006-10-15 12:49:19 +00:00
mfrasca
9d1bae6ae6 updated and (more or less) tested. 2006-10-14 20:28:47 +00:00
mfrasca
1d33c72f47 1293224: char font
just preparing for a bigger change...
extended the global font (just one), it has lower and upper case.
2006-10-06 14:33:39 +00:00
mfrasca
0bf5b49746 1293224: char font
just preparing for a bigger change...
introduced a global font (just one), it is lower case per default.

I intend to modify the function for registering the default xpm to something
accepting the 64x64 bitmap (application dependent) and insert it into the
global pixmap.  an other function could be used to register the alfabet
pixmap and correspondently setting the variables indicating the position of
each character.  we would only support monospace alfabets.

the 'printing' functions would also be simpler (less arguments), since it
would be the library knowing which is the alfabet in use.
2006-10-06 12:37:39 +00:00
mfrasca
d1c1618277 1569327 release 1.1 is broken
finalizing cleaning up things.

all example scripts include and use wmdocklib (was pywmhelpers from pywmdockapps)
2006-10-03 08:10:30 +00:00
mfrasca
9c81d722a7 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:21 +00:00