CVSROOT:        /cvs/gnome
Module name:    luminocity
Changes by:     krh     05/03/08 15:11:04

Modified files:
        .              : ChangeLog 
        src            : bits.c bits.h clearlooks.png decoration.c 
                         decoration.h gui.c output.c output.h toplevel.c 
                         toplevel.h types.h 

Log message:
2005-03-08  Kristian Høgsberg  <[EMAIL PROTECTED]>

* src/toplevel.c: Take decoration border into account when
creating the window image and when accessing the window image in
general.
(lmc_toplevel_new): use g_signal_connect_after for
event::MapNotify so the handler in gui.c is run an can set to
border info before we create the window image.

* src/output.c: Remove everything related to ACTION_DRAW_BORDER.

* src/gui.c (gui_get_output_window, gui_get_decoration): Simplify
these to just get the corresponding GObject user data.
(gui_create_output_window): Move decoration creating to
on_map_notify so we set the border info before the window image is
created.
(on_map_notify): New function, we create the decoration here.
(on_position_changed): Account for offset introduced by
decoration.
(on_modified): Redraw decoration whenever window image changes
intersect the decoration.

* src/decoration.c (struct _LmcDecoration): Cut down LmcDecoration
to be just a helper object for drawing decorations.
(draw_layout_on_bits): Change to draw on an LmcBits instead.
(scale_pixbuf_to_bits): New function to replace gdk_pixbuf_scale.
(lmc_decoration_contains): New function to test wether an update
rectangle affects the decoration.

* src/bits.c (lmc_bits_get_pixel, lmc_bits_set_pixel): Add these
functions for accessing pixels in a LmcBits.

* src/clearlooks.c: Fix stray pixel.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=luminocity&who=krh&date=explicit&mindate=2005-03-08%2015:10&maxdate=2005-03-08%2015:12

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to