gtk/gdk/linux-fb
Alexander Larsson 1c805555ce Huge GtkFB patch with lots of small bugfixes and initial selections implementation.
2000-11-23  Alexander Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkselection-fb.c:
	Initial selection implementation.

	* gtk/gtkselection.c:
	if GDK_WINDOWING_FB defined, include linux-fb/gdkfb.h and look up
	requestor in gtk_selection_request.

	* gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkglobals-fb.c:
	Added gdk_selection_property atom.

	* gdk/linux-fb/gdkprivate-fb.h:
	Export _gdk_selection_window_destroyed.
	Removed mask_off_x/y from GdkCursorPrivateFB.
	Removed hbearing, added top, left to PangoFBGlyphInfo.

	* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_destroy):
	Call _gdk_selection_window_destroyed
	(_gdk_windowing_window_init): Don't call gdk_cursor_new() before
	the root window has been created.
	(static_dx_hack, static_dy_hack, compare_draw_rects,
	gdk_fb_window_move_resize): Remove unnecessary sort of rectangles
	in region. They are already sorted. Instead just traverse them in
	reverse if draw_direction < 0.

	* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
	Double-clicks must be sent after the normal button_press.
	(gdk_fb_cursor_unhide): Remove usage of mask_off_x/y. Clean up.

	* gdk/linux-fb/gdkgeometry-fb.c (gdk_window_scroll):
	Pass _gdk_fb_screen_gc instead of NULL.

	* gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check):
	Initialize gdk_selection_property.
	(gdk_event_make): Remove unused code.

	* gdk/linux-fb/gdkcursor-fb.c:
	Make the pixmap for the cursor the same size as the mask. Also remove
	the mask_off_x/y fields in GdkCursorPrivateFB and combine
	_gdk_cursor_new_from_pixmap() and gdk_cursor_new_from_pixmap()
	Now the whole cursor is visible.

	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_drawable_3):
	Fix bug where xdest+height instead of ydest+height was used
	to calculate if the source and dest overlapped. This fixes the
	redraw bug when the main window in testgtk was scrolled when
	partially covered by a tall window.
	Copy rectangles in region in order depending on draw_direction.
	Also moved the draw_direction flipping of start_y and end_y into
	the gc functions, as this might not be what all of them want.
	(gdk_fb_draw_lines): Support dashed lines.
	(gdk_fb_draw_glyphs): Clean up glyph placement. Also fix positioning
	so that the text is positioned correctly (was 1 pixel high).

	gdk/linux-fb/gdkgc-fb.c:
	Initialize cap_style to GTK_CAP_BUTT. This fixes a problem where
	all lines were drawn a pixel to short. Also checked the default of
	the rest of the values, and they're the same as X now.

	* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_glyph_info):
	Clean up pixel positioning of the glyphs. Just use bgy->top and
	bgy->left. Also used PANGO_PIXEL where appropriate and added 0.5
	to all divisions to get correct rounding behaviour.

	* gdk/linux-fb/gdkrender-fb.c (gdk_fb_draw_drawable_generic,
	gdk_fb_draw_drawable_memmove, gdk_fb_draw_drawable_aa_24):
	Moved start_y/end_y flip into draw_drawable implementations.
	Flip also x rendering when draw_direction < 0.
	Remove unneccesary multiply with draw_direction.
2000-11-25 15:44:35 +00:00
..
.cvsignore Put it into CVS. 2000-05-31 21:50:38 +00:00
gdkcc-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkcolor-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkcursor-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkdnd-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkdrawable-fb2.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkevents-fb.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
gdkfb.h Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkfont-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkgc-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkgeometry-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkglobals-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkim-fb.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkimage-fb.c Added virtual functions set_pixel, get_color, fill_span and draw_drawable 2000-11-15 12:45:30 +00:00
gdkinput-none.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-ps2.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkinput.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkinputprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkmain-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkpango-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkpixmap-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkprivate-fb.h Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkproperty-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkrender-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkselection-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
gdkvisual-fb.c Cleanup and reindent of GtkFB. 2000-11-13 17:40:23 +00:00
gdkwindow-fb.c Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
Makefile.am i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
mi.h Put it into CVS. 2000-05-31 21:50:38 +00:00
miarc.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
midash.c Put it into CVS. 2000-05-31 21:50:38 +00:00
mifillarc.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
mifillarc.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mifpoly.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mifpolycon.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
miline.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mipoly.c Put it into CVS. 2000-05-31 21:50:38 +00:00
mipoly.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mipolygen.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
mipolyutil.c Put it into CVS. 2000-05-31 21:50:38 +00:00
miscanfill.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mispans.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
mispans.h i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
mistruct.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mitypes.h Added virtual functions set_pixel, get_color, fill_span and draw_drawable 2000-11-15 12:45:30 +00:00
miwideline.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
miwideline.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mizerclip.c Put it into CVS. 2000-05-31 21:50:38 +00:00
mizerline.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
TODO Add s'more TODO items. 2000-11-15 22:08:10 +00:00
x-cursors.xbm Set serif font to something sane. 2000-08-03 02:33:46 +00:00