forked from AuroraMiddleware/gtk
5b4c8afa7e
* 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)
79 lines
1.4 KiB
Makefile
79 lines
1.4 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
libgdkincludedir = $(includedir)/gtk-2.0/gdk
|
|
libgdkfbincludedir = $(includedir)/gtk-2.0/gdk/linux-fb
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GTK_XIM_FLAGS@ \
|
|
@GTK_LOCALE_FLAGS@ \
|
|
@GLIB_CFLAGS@ \
|
|
@PANGO_CFLAGS@ \
|
|
@STRIP_END@
|
|
|
|
LDFLAGS = @STRIP_BEGIN@ \
|
|
@GLIB_LIBS@ \
|
|
@PANGO_CFLAGS@ \
|
|
-lfreetype \
|
|
-lm \
|
|
@STRIP_END@
|
|
|
|
noinst_LTLIBRARIES = libgdk-linux-fb.la
|
|
|
|
libgdkinclude_HEADERS= \
|
|
gdkfb.h
|
|
|
|
libgdk_linux_fb_la_SOURCES = \
|
|
gdkcolor-fb.c \
|
|
gdkcc-fb.c \
|
|
gdkcursor-fb.c \
|
|
gdkdnd-fb.c \
|
|
gdkdrawable-fb2.c \
|
|
gdkfont-fb.c \
|
|
gdkgc-fb.c \
|
|
gdkgeometry-fb.c \
|
|
gdkglobals-fb.c \
|
|
gdkim-fb.c \
|
|
gdkimage-fb.c \
|
|
gdkinput.c \
|
|
gdkmain-fb.c \
|
|
gdkpixmap-fb.c \
|
|
gdkproperty-fb.c \
|
|
gdkselection-fb.c \
|
|
gdkvisual-fb.c \
|
|
gdkwindow-fb.c \
|
|
gdkprivate-fb.h \
|
|
gdkinputprivate.h \
|
|
gdkinput-ps2.c \
|
|
gdkevents-fb.c \
|
|
gdkrender-fb.c \
|
|
mi.h \
|
|
miarc.c \
|
|
midash.c \
|
|
mifillarc.c \
|
|
mifillarc.h \
|
|
mifpoly.h \
|
|
mifpolycon.c \
|
|
miline.h \
|
|
mipoly.c \
|
|
mipoly.h \
|
|
mipolygen.c \
|
|
mipolyutil.c \
|
|
miscanfill.h \
|
|
mispans.h \
|
|
mistruct.h \
|
|
mitypes.h \
|
|
miwideline.c \
|
|
miwideline.h \
|
|
mizerclip.c \
|
|
mizerline.c \
|
|
mispans.c \
|
|
gdkpango-fb.c
|
|
mispans.c
|
|
|
|
EXTRA_DIST=x-cursors.xbm
|