Re: proposal: gdk_draw_focus_rectangle
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Re: proposal: gdk_draw_focus_rectangle
- Date: 24 May 2001 10:06:54 -0400
Hans Breuer <hans breuer org> writes:
> while trying to keep Gtk+2.0 up-to-date on win32, I stumbled
> over just another limitation in the Windoze API. It is
> not possible to draw a really dotted line (one pixel drawn, one
> pixel empty) with standard GDI (Win9x) functions. The 'dotted' line
> style draws and leaves _four_ pixels instead. As a result
> the focus indication looks somewhat ugly.
Well the interface you need to implement in GTK+
void gdk_gc_set_dashes (GdkGC *gc,
gint dash_offset,
gint8 dash_list[],
gint n);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]