1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-02 12:02:30 +01:00
Files
wmaker/wrlib
dan 36e46831e0 For libwraster:
---------------

- Added retain/release mechanism to RImage by adding RRetainImage() and
  RReleaseImage(). RDestroyImage() is an alias to RReleaseImage() now, but
  will be removed in a future release because it no longer fits with the
  semantics. Will be kept for a while to allow a smoother transition.
  More about in wrlib/NEWS


For WINGs:
----------

- Small API change:
  1. Renamed WMSetApplicationIconImage(), WMGetApplicationIconImage() and
     WMSetWindowMiniwindowImage() to respectively WMSetApplicationIconPixmap(),
     WMGetApplicationIconPixmap() and WMSetWindowMiniwindowPixmap()
     They operate on a WMPixmap which is practically an X Pixmap with no alpha
     channel information and the new name is more suggestive and also leaves
     room for the new functions added for operating on images with alpha info.
  2. Added WMSetApplicationIconImage() and WMGetApplicationIconImage() which
     operate on an RImage and store alpha information too.
  3. Added WMGetApplicationIconBlendedPixmap() which will take the image with
     alpha set by WMSetApplicationIconImage() and will blend it with a color.
     If color is NULL it will blend using the default panel color (#aeaaae)
  All these changes will allow WINGs to handle images with alpha blending
  correctly in panels and wherever else needed. More about in WINGs/NEWS.
- updated panels to use the newly available RImages if present and fallback
  to old WMPixmaps if not, to properly show alpha blended images.
- replaced some still left malloc's with wmalloc's.


For Window Maker:
-----------------
- Fixed wrong mapping position of the "Docked Applications Panel" for some
  icons.
- Smoother animation for the smiley =)
- Made images with alpha blending be shown correctly in the panels and the
  icon chooser.
- The icon image set to be shown in panels ("Logo.WMPanel") will be
  automatically updated if its entry in WMWindowAttributes changes (without
  a need to restart as until now).


*** Note!!! ***

If you are developing applications with one of libwraster or libWINGs
then you should look to wrlib/NEWS and WINGs/NEWS to see what changed
and how should you update your code.
2001-04-21 07:12:21 +00:00
..
2000-03-29 04:56:41 +00:00
1998-09-29 22:36:29 +00:00
1998-09-29 22:36:29 +00:00
1998-09-29 22:36:29 +00:00
2000-01-21 21:04:20 +00:00
2001-04-21 07:12:21 +00:00
1998-09-29 22:36:29 +00:00
1998-09-29 22:36:29 +00:00
2001-02-20 09:31:57 +00:00
2001-04-21 07:12:21 +00:00
1998-09-29 22:36:29 +00:00
2001-02-21 04:39:04 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
1998-09-29 22:36:29 +00:00
2001-04-21 07:12:21 +00:00
2000-04-01 02:14:12 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
1998-09-29 22:36:29 +00:00
2001-04-21 07:12:21 +00:00
1998-10-21 14:43:47 +00:00
2001-04-21 07:12:21 +00:00
2000-04-01 02:14:12 +00:00
1998-09-29 22:36:29 +00:00
2001-04-21 07:12:21 +00:00
2000-03-28 08:43:09 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
2001-04-21 07:12:21 +00:00
2001-02-18 01:01:36 +00:00
2000-02-16 18:22:46 +00:00
2001-04-21 07:12:21 +00:00

WindowMaker raster graphics library

This library is used to manipulate images and convert them to
a format that can be displayed through the X window system.
Read the wraster.h header for an idea of what is available


This Library is LGPL and 
Copyright (c) Alfredo K. Kojima <kojima@inf.ufrgs.br>


The following environment variables control some parameters:

RIMAGE_CACHE <integer>

Is the maximum number of images to store in the internal cache.
Default is 8

RIMAGE_CACHE_SIZE <integer>

Is the size of the biggest image to store in the cache.
Default is 4k (64x64)



Porting
=======

It should be fairly easy to port it to other environments 
(svgalib, libggi etc), probably only requiring wraster.h,
context.c and convert.c to be changed. Note that the X specific
code should be disabled in that case, including support for libXpm.