gryf
f9869d2100
Use XParseColor function form xlib rather than rgb.txt file.
...
This way it's possible to expose GetColor as pywmgeneral function.
2025-06-08 17:42:34 +02:00
gryf
baae528274
Fix gcc warnings/errors for C extension.
2025-04-18 16:10:01 +02:00
gryf
1cf858d431
Fixed bitmap replacement.
...
For the existing character in both palettes, but with different color,
there was missing adding the actual replacement for the original one. In
this patch it was fixed. Also, loops has been removed in favor of list
comprehensions.
2022-05-05 18:48:38 +02:00
gryf
222301fa93
Use fstrings to simplify background build.
2022-05-04 17:03:01 +02:00
gryf
434155a340
Fixed possible duplicate in colors when merging palette.
2022-05-04 16:37:26 +02:00
gryf
d38978168e
Update docstrings
2022-05-04 16:35:21 +02:00
gryf
c3c75e2cb5
Use font object information, instead of local list.
2022-05-04 16:30:49 +02:00
gryf
dca4bf5440
Added ability to define multiple bitmap font sources.
...
By defining attribute "fonts" in the DockApp inherited class, now there
is possible for adding more than one character sets.
2022-05-03 18:44:27 +02:00
gryf
1085074596
Added debug flag to the DockApp class.
2022-05-03 18:29:44 +02:00
gryf
7316980b9f
Added description for pywmgeneral module funtions.
2022-05-03 18:28:26 +02:00
gryf
a6f5ea3ba3
Added support for background being a XPM image.
2022-05-01 16:30:24 +02:00
gryf
f35e82d0a9
Added function for merging palettes
2022-05-01 16:27:24 +02:00
gryf
35cc033713
Fixed camelCase to snake case.
2022-05-01 16:25:55 +02:00
gryf
58ec6c0f1d
Readme update.
2022-04-18 19:35:58 +02:00
gryf
5fadc62db7
Adjust indentation in pywmgeneral.c to be coherent on entire file.
2022-04-18 19:35:00 +02:00
gryf
068d1c548e
Add function for deducting char size by filename.
2022-04-18 19:24:04 +02:00
gryf
1f55513846
Remove read_font function.
2022-04-18 19:23:28 +02:00
gryf
ec39f9628c
Make add_string/add_char methods of base class.
2022-04-18 19:22:39 +02:00
gryf
ac17fe8b24
Make pixmap merge inside a base class.
...
Also suport fonts being taken from a string rather, than from file only.
2022-04-18 19:22:08 +02:00
gryf
5543105dfb
Moved redraw from helpers to base class.
2022-04-18 19:17:40 +02:00
gryf
72996466cf
Moved open_xwindow from helpers to base class.
2022-04-18 19:13:16 +02:00
gryf
811ecac3d3
Added more class attributes.
2022-04-18 19:10:49 +02:00
gryf
671c1b9361
Added basic run for base application.
2022-04-18 19:10:29 +02:00
gryf
c6a0aa7558
Renamed main module.
2022-04-13 17:25:06 +02:00
gryf
d95ea4280a
Wrap init_pixmap with the DockApp method.
...
That way, it will update properties of the object, without passing
around ton of arguments.
2022-04-13 17:12:12 +02:00
gryf
4426988388
Adjust attributes for the base dockapp class.
2022-04-13 17:11:29 +02:00
gryf
a6f372be91
init_pixmap will return dimensions of the whole font pixmap.
2022-04-13 17:10:23 +02:00
gryf
67cddb24ea
Drop support for foreground color.
2022-04-13 17:09:18 +02:00
gryf
6678a07204
Allow creating whatever size of the dockapp.
2022-04-13 17:08:05 +02:00
gryf
492fce4f44
Adapt manifest file, add long descriptopn to readme.
2022-04-11 18:40:19 +02:00
gryf
6ce0d31d2d
Pythonize helpers library.
2022-04-11 18:23:18 +02:00
gryf
efb6f8f764
Added simple DockApp base class
2022-04-11 18:17:12 +02:00
gryf
3f39612b1e
Minor formatting for c module.
2022-04-11 18:16:39 +02:00
gryf
0395af9254
Pythonize function names.
2022-04-11 18:15:38 +02:00
gryf
ba08fc6ec2
Removed trailing whitespace from c module.
2022-04-11 18:14:38 +02:00
gryf
21c9d0afeb
Renamed helpers module.
2022-04-11 18:13:47 +02:00
gryf
fff744ae32
Clean up setup.py
2022-04-09 11:35:55 +02:00
gryf
7eb2042fb8
Make pywmhelpers work on python3
2022-04-09 11:35:41 +02:00
gryf
12fe776ec3
Adopt C code to python3.
2022-04-09 11:35:20 +02:00
gryf
1f9b63ffcd
More cleanups
2022-04-09 11:34:15 +02:00
gryf
63f64f31ad
Readme update
2022-04-08 18:03:42 +02:00
gryf
080b06c3aa
Clean up repository.
...
Remove all non-lib related files including old CVS things, examples,
website and so on.
2022-04-08 17:55:07 +02:00
mfrasca
56908e0bc6
update contact information
2018-07-11 19:01:12 -05:00
mfrasca
e70f75cda7
quick patch, to make this program fit in a swallowed gnome applet of
...
arbitrary height. actually at the moment only works for 50 <= height <= 64
2008-03-25 17:49:51 +00:00
mfrasca
dd1c8dd685
added still not working wmoo.ProgressBar
2008-03-25 17:48:04 +00:00
mfrasca
8d0689cc97
small mistake. sorry. calculateWeek is a member of the application class.
2007-07-22 08:55:29 +00:00
mfrasca
06e5448771
forgot to check if the removed functions were in use!
2007-07-11 18:07:22 +00:00
mfrasca
ea23157ceb
1751441: cleaning up the oo module
...
as requested, the two classes wmoo.Label and wmoo.Button, the method
wmoo.Application.addWidget. widgets can be retrieved as dictionary
entries of the application.
2007-07-10 20:19:15 +00:00
mfrasca
bc6f7f9a53
just a typo in a comment
2007-07-08 22:45:47 +00:00
mfrasca
296bbb7333
no real change, just adapted the sources so that they show properly in emacs-cvs on macintosh.
2007-05-27 14:02:05 +00:00