1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2026-04-24 00:31:24 +02:00
Commit Graph

94 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 b3d8cfa4af other font, taken from my hp41cv 2006-10-24 20:35:32 +00:00
mfrasca 1ce078f658 one more example for the web site... 6x12, four lines 2006-10-23 12:03:21 +00:00
mfrasca 1acb63f338 this is the default font for my linux xterm... 2006-10-22 18:58:55 +00:00
mfrasca af661e95e3 this is what my desktop looks like... 2006-10-22 18:58:34 +00:00
mfrasca 1c0177acb5 1580293: initialization of pixmask - drawing areas
modified the width of the two areas.
2006-10-22 18:57:33 +00:00
mfrasca 68990e9da4 1580293: initialization of pixmask - drawing areas 2006-10-22 08:15:44 +00:00
mfrasca c8a3c124ac *** empty log message *** 2006-10-21 10:41:48 +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 ba503e2da9 upper and lower case were swapped...
then {|} and [\] had to be swapped, too.
2006-10-20 20:37:34 +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 ee27c27f3b one more font from the linux xterm 2006-10-20 19:41:11 +00:00
mfrasca 5e7b3c5df4 not necessary: it has been implemented directly in python (pywmhdmon) 2006-10-19 17:37:16 +00:00
mfrasca 3679d9099f correction in the font (a few characters were still at 6x8).
small readability correction in pywmhelpers.py.
2006-10-19 12:39:42 +00:00
mfrasca 86e2767ec1 added option -a --antialiased for the top -time- string in pywmdatetime.py 2006-10-18 17:47:10 +00:00
mfrasca 8dcf5f4742 1579871: offer antialiasing as option
as required
2006-10-18 17:45:01 +00:00
mfrasca b3c5d60a76 added "condensed" 5x8 font to the suite,
cleaned up the code of pywmdatetime.
2006-10-18 15:02:50 +00:00
mfrasca f9b0ccd2f5 added condensed 5x8 font.
added 7x10 antialiased digits font to pywmdatetime.py (*ONLY* to this one).
various cleanup actions.
2006-10-18 14:48:20 +00:00
mfrasca ad25a18c51 added "condensed" 5x8 font to the suite,
cleaned up the code of pywmdatetime.
2006-10-18 14:46:21 +00:00
mfrasca 92f172da49 1579522: antialiased fonts for digits
just a nice border around the top time string
2006-10-18 12:46:06 +00:00
mfrasca 0065f12b75 1579522: antialiased fonts for digits
I took one of the font definitions from a running wmCalClock and put it in
the 'background' pixelmask.  this works quite good.  the name of the
parameter is rather confusing, it's not a background actually but a
collection of templates...  but that's an other problem.
2006-10-18 09:31:52 +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 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 dd13e8ad21 sorry: order of import is relevant.
importing * from pywmhelpers hides the previous imports from pywmgeneral.
2006-10-16 08:24:32 +00:00
mfrasca 092c3a4def corrected a bug which prevents operation if no %q is found in configuration. 2006-10-16 08:21:50 +00:00
mfrasca 0231db643d updated the inline documentation. 2006-10-16 07:50:56 +00:00
mfrasca b8afcee3ae behaviour with different character font sizes... 2006-10-16 07:29:49 +00:00
mfrasca 047c29e81b forcing commit to increase version of library. 2006-10-15 12:56:22 +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 c49cd494a8 upper and lower case were swapped... 2006-10-15 11:47:14 +00:00
mfrasca ca6a14574c updating the web site to the most recent modifications. 2006-10-15 11:24:15 +00:00
mfrasca 3f0daf3417 adding the news.
cleaning up the text.
2006-10-15 09:03:21 +00:00
mfrasca 624bca9cce 1577063: fonts are hard coded
putting back, using the new format, the original 6x8 font once contained in some of the examples.
2006-10-15 08:42:06 +00:00
mfrasca 69c384e594 1577063: fonts are hard coded
added one more font (derived from 8x8zx, but without so much horizontal spacing).

modified the initPixmap so that it reads installed fonts.  they MUST be in
the same directory as the library itself.

the examples still have hard-coded fonts, but that's an other problem.
2006-10-15 07:13:16 +00:00
mfrasca 4d4b252dc0 installing the fonts 2006-10-14 21:55:55 +00:00
mfrasca 70f3fdf6a2 1577063: fonts are hard coded
cleaning up and preparing the field.
2006-10-14 20:55:00 +00:00
mfrasca 9d1bae6ae6 updated and (more or less) tested. 2006-10-14 20:28:47 +00:00
mfrasca 87b09d0229 1577060: colour choice at command line is lost
palette is now built using the options passed at command line.
2006-10-14 08:17:14 +00:00
mfrasca e8fbc09fd2 1577063: fonts are hard coded
font files are already in the cvs repository, but let's add them in the distributed sources.
2006-10-14 07:55:19 +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 7a34018886 updated the example with the latest library. - removed char_width/height. 2006-10-13 13:54:21 +00:00
mfrasca 84f7b15e81 updated the example with the latest library. 2006-10-13 13:52:15 +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 6af6969015 1575762: initialization of pixmask
makes it possible to have application windows wider than 64 pixels.
the limit of 128 pixels cannot be crossed.
2006-10-12 20:28:52 +00:00
mfrasca a6c99b9682 1575762: initialization of pixmask
added other font, but for the moment none is really used, only the hard
coded ones in pywmhelpers.py...
2006-10-12 19:50:13 +00:00
mfrasca cb34659206 1575762: initialization of pixmask
configurable margin...  unsure if it works in all cases.
2006-10-12 19:49:22 +00:00
mfrasca 408fed815b removed tmount, added pywmgeneric.py 2006-10-12 19:32:36 +00:00