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

19 Commits

Author SHA1 Message Date
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
6c71547b58 1580293: initialization of pixmask - drawing areas
more cleaning up...
2006-10-21 07:44:45 +00:00
mfrasca
c89b35ff1e 1580293: initialization of pixmask - drawing areas
marginal corrections...
2006-10-20 20:39:01 +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
111d3f4ed9 modified computation of right hand side area size.
it is now 60% of available width.
right hand side text is now right aligned.
2006-10-16 11:45:45 +00:00
mfrasca
b8afcee3ae behaviour with different character font sizes... 2006-10-16 07:29:49 +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
70f3fdf6a2 1577063: fonts are hard coded
cleaning up and preparing the field.
2006-10-14 20:55:00 +00:00
mfrasca
c729720b01 1577060: colour choice at command line is lost
palette is now built using the options passed at command line.
2006-10-14 07:51:13 +00:00
mfrasca
0390c834a7 moved mouse region definition into object constructor. 2006-10-13 15:28:36 +00:00
mfrasca
db4f53d257 1575762: initialization of pixmask
removed the definition of defaultRGBFiles from the examples: it is now
hosted in the library.

removed function parseColors from examples.  this is done during initPixmap.

added wmdocklib.defaultRGBFileList

removed wmdocklib.setColor (superseded by wmdocklib.initPixmap)

extended wmdocklib.initPixmap:
 basic 16 colour palette [basic_colours] from rgb.txt (not hard coded)
 alter_palette to (re)define an indexed colour in the xpm.
 bg/fg can be a single character or a number [0..15]
 ' ' as transparent colour.
 some debugging 'if 0:' code.

extended wmdocklib.getColorCode:
 it reads either the given rgb file or the first accessible file from
 defaultRGBFileList

corrected url in setup.py: it used to point to ibo!
2006-10-13 11:58:17 +00:00
mfrasca
651b44127d 1575762: of pixmask
hard coded 3 pixels margin.  it should actually be configurable, but better this than nothing.
2006-10-12 19:14:50 +00:00
mfrasca
70a5bc50ed 1575762: initialization of pixmask
made some mess about borders: the whole tile is now used up by the
application.  colour 0 seems to be reserved for transparency.
2006-10-12 18:27:08 +00:00
mfrasca
ed4b557ab0 1575762: initialization of pixmask
this is an important modification.  I hope it won't break too many programs
based on this library, or at least not in such a way that will make you
upset with me and my work...

well: the library offers now three charsets and a 16 colours palette.
but: you must use them.

there is no support yet for named colours.

the only working examples are pywmdatetime and pywmhdmon.
2006-10-12 17:29:17 +00:00
mfrasca
d26e4815fe 1293224 char font
recalculating the height of the lines.
2006-10-06 16:27:03 +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
0811241501 1293220: better format for action
finalmente ho deciso di levare la flessibilità e permettere solo
mount/umount/eject.  questo semplifica molto il file di configurazione,
ovviamente.
2006-10-05 14:34:44 +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