1. 06 Dec, 2000 1 commit
    • Alexander Larsson's avatar
      Update to match latest gmain/gsource changes. · b7f7cba7
      Alexander Larsson authored
      2000-12-06  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkevents-fb.c:
      	Update to match latest gmain/gsource changes.
      
      	* gdk/linux-fb/gdkinput-ps2.c:
      	Bogus gdk_keymap_get_entries_for_keycode implementation so that
      	it links. Will be implemented later.
      b7f7cba7
  2. 22 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      i2000-11-22 Alexander Larsson <alexl@redhat.com> · 5b4c8afa
      Alexander Larsson authored
              * gdk/gdktypes.h:
      	Add new type GdkSpan
      
      	* docs/reference/gdk/gdk-sections.txt,
      	docs/reference/gdk/tmpl/regions.sgml, gdk/gdkregion-generic.c,
      	gdk/gdkregion.h:
      	Implement and document gdk_region_spans_intersect_foreach.
      
      	* gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkrender-fb.c:
      	Add new file gdkrender-fb.c which contains all core
      	rendering code.
      	Add gdk_fb_fill_rectangle_generic (old rectangle code) and
      	gdk_fb_fill_rectangle_simple_16, gdk_fb_fill_rectangle_simple_32
      	(optimized rectangle fillers).
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Move all rendering code to gdkrender-fb.c.
      	Change from using GdkRectangles and GdkSegments for spans to GdkSpan.
      	Use the new span intersection functions in gdk_fb_fill_spans.
      	gdk_fb_draw_rectangle() clips filled rectangles and calls
      	gc->fill_rectangle with the result.
      	gdk_fb_fill_spans() gets extra argument "sorted".
      
      	* gdk/linux-fb/gdkevents-fb.c:
      	Remove unused includes and defines.
      	New function gdk_fb_get_time() to get correct time for events.
      
      	* gdk/linux-fb/gdkinput-ps2.c:
      	Use gdk method of generating multiple-clicks (gdk_event_button_generate)
      	Make sure to set the time of all events.
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	Use gdk_fb_get_time ().
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	New virtual GC calls: fill_span & fill_rectangle.
      	Export gdk_fb_get_time().
      	gdk_fb_fill_spans() gets extra argument "sorted".
      
      	* gdk/linux-fb/mi*.c:
      	Use GdkSpan instead of GdkRectangle.
      	Pass correct sorted to gdk_fb_fill_spans. (sorted value taken
      	from XFree 4 source)
      5b4c8afa
  3. 15 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      Added virtual functions set_pixel, get_color, fill_span and draw_drawable · 2eb744a3
      Alexander Larsson authored
      2000-11-15  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Added virtual functions set_pixel, get_color,
      	fill_span and draw_drawable to the GC.
      	Added global _gdk_fb_screen_gc to use instead of
      	NULL when drawing to the screen.
      	Added _gdk_fb_gc_calc_state() prototype.
      
      	* gdk/linux-fb/gdkgc-fb.c:
      	Call _gdk_fb_gc_calc_state() on any gc state change.
      
      	* gdk/linux-fb/gdkglobals-fb.c:
      	Add _gdk_fb_screen_gc
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	_gdk_fb_gc_calc_state() calculates best functions
      	for the GC state and depth.
      	Moved bpp specialized code to separate functions.
      	Added optimized 24 bpp AA draw_drawable.
      
      	* gdk/linux-fb/gdkevents-fb.c:
      	Silence gcc warning.
      
      	* gdk/linux-fb/gdkimage-fb.c:
      	Use _gdk_fb_screen_gc
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Init and use _gdk_fb_screen_gc
      
      	* gdk/linux-fb/mitypes.h:
      	Remove unused types.
      2eb744a3
  4. 13 Nov, 2000 1 commit
  5. 26 Jul, 2000 1 commit
  6. 24 Jul, 2000 1 commit
    • Elliot Lee's avatar
      (Part 2) Remove gdk_*_lookup() defines, since they are defined by the · 6d7a643f
      Elliot Lee authored
      
      
      (Part 2)
      	* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
      	individual backends already.
      	* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
      	again. Yes, there really is a good reason for this, if you are using the gdkregion
      	internals, and if you're not, why do you care?
      	* gdk/gdkwindow.c: Fix inverted condition
      	* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
      	* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
      	* gtk/gtkrange.c: Redraw trough when moving.
      	* gtk/gtktypeutils.c: Fix warning by adding const cast.
      	* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
      6d7a643f
  7. 20 Jun, 2000 1 commit
  8. 31 May, 2000 1 commit