summaryrefslogtreecommitdiff
path: root/render/image.c
AgeCommit message (Collapse)Author
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-15Comment out some debug messages for the image cacheDana Jansens
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Find a valid image to use in the image cache. Fixes bug #1149Dana Jansens
The larger of the width and height has to match. If the smaller matches, then it would have to be resized down to fit inside the area, so that does not count.
2009-11-21Pointers are long-sized on x86_64.Dana Jansens
2008-04-23Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/config.c openbox/keyboard.c openbox/moveresize.c
2008-04-15When icons had a very small aspect ratio, we crashed, don't.Mikael Magnusson
2008-03-06Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c
2008-03-05Don't leak auto-scaled RGBA textures.Mikael Magnusson
2008-03-02use g_debug for debug messagesDana Jansens
2008-02-14don't use \n at the end of g_message stringsDana Jansens
2008-02-14don't reference free'd memory, and don't leak memory if the image cache is ↵Dana Jansens
not saving any resized pictures
2008-02-14use g_message not g_print so it can go to the logDana Jansens
2008-02-14pre-calc the sum of a picture added to an RrImage rather than calculating it ↵Dana Jansens
every time
2008-02-14add a bunch of comments for images and image caches. and make the number of ↵Dana Jansens
resized pictures saved in an image tunable per-icon cache.
2008-02-14when resizing images, pick a source image with the same aspect ratio if possibleDana Jansens
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-02-14remove an XXX comment, the sanity check seems to have worked out fine.Dana Jansens
2007-07-17remove trailing whitespaceMikael Magnusson
2007-05-29don't need to &0xffMikael Magnusson
2007-05-29brackets ftw. opacity for rgba's works.Dana Jansens
2007-05-29it doesn't work but its somethingDana Jansens
2007-05-26center argb textures (icons for eg.) within the area given if they are not ↵Dana Jansens
the same shape
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2006-11-1580 colsMikael Magnusson
2006-08-22update copyright step 2Mikael Magnusson
2006-08-19fix some warnings from -WallMikael Magnusson
2006-03-16try another scaling algo for the iconsMikael Magnusson
2006-03-05finally fix broken gimp window iconsMikael Magnusson
2003-11-11dont scale images to 0 px wide or tallDana Jansens
2003-10-15consistant glib type usageDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-04new scaling, based on the Bresenham algorithmDana Jansens
2003-07-10remove rependancy on geom.h from the kernel, provide what is used in its own ↵Dana Jansens
geom.h
2003-06-21more namespacing with Rr*Dana Jansens
2003-06-21more namespacing with Rr*Dana Jansens
2003-06-21rename pixel32/16 to RrPixel32/16Dana Jansens
2003-06-20this is going to break the kernel/ building.Dana Jansens
lots of modifications to the render API, prefixing everything, making proper names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
2003-06-20simply the render interface by not requiring the setting of all the areas. ↵Dana Jansens
only take a w and h in paint(). best font layout ever.
2003-05-18make icons use pixel32 data, and image_draw takes pixel32 data.Dana Jansens
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
2003-05-18rename poorly named offsetsDerek Foreman
2003-05-09all my changes while i was offline.Dana Jansens
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-04-27fix window icon rendering, was using incorrect size.Dana Jansens
2003-03-26rgba icon renderingDerek Foreman