Commit Graph

26 Commits

Author SHA1 Message Date
Julien Danjou 024ee30fe5 image: move empty creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 10:49:45 +02:00
Julien Danjou 14b090e566 image: fix conversion on different endianness (FS#504)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:09:04 +02:00
Uli Schlachter d19d679f2a Make the image code use color instead of xcolor
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-04-18 14:02:21 +02:00
Julien Danjou f473a107b0 cleanup #includes
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:52:25 +02:00
Gregor Best ece9eb8874 image: export drawing routines to lua
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-16 18:46:54 +02:00
Gregor Best 4431d67679 image: initialize new images
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-16 18:46:54 +02:00
Julien Danjou 541d4f565f image: use new object system
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou 301affeaed image: cleanup header declaration
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-11 11:50:55 +02:00
Uli Schlachter 95457c5ab7 Move the definition of globalconf into a header file
Pretty much every single source file needs this struct, so it makes sense to
define it in a common header instead of in every single .c file.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10 16:32:42 +02:00
Julien Danjou c8b17808ef image: realloc rather than delete/new
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:39:31 +01:00
Julien Danjou 48d4c41ed9 image: add save method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:19:01 +01:00
Julien Danjou e7db0a58ee image: set alpha when creating ARGB32 image
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 17:39:41 +01:00
Julien Danjou 8a43415c0c image: add alpha property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 15:18:47 +01:00
Julien Danjou b0d5d7dbef image: add orientate() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 16:45:24 +01:00
Julien Danjou 0288e227ee image: copy data before using it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 16:44:25 +01:00
Julien Danjou 5f0e651ede image: check image width and height
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-09 15:54:21 +01:00
Julien Danjou 566c5e8639 image: allow empty image creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 13:38:11 +01:00
Julien Danjou 85c7bf07c9 luaa: merge tostring() with DO_LUA_NEW
Also use the same format as standard Lua for tostring output.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 16:15:49 +01:00
Julien Danjou 183f372626 image: add argb32() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 20:57:27 +02:00
Julien Danjou 5e96e21c2c image: add width and height attributes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 18:29:35 +02:00
Julien Danjou 6ee617e777 image: add crop_and_scale() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14 17:37:39 +02:00
Julien Danjou 8c23043cae image: add rotate and crop methods
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou c8f58d7868 image: add function to create from argb32 data
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou 6ac0c4130c image: merge draw_image_t and image_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou 856192fa99 client: merge icon_path and netwm icon
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou 6ca4e58f3d image: add new image type
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00