From 66b5a5ab7249eff995f9927d8172f62081979437 Mon Sep 17 00:00:00 2001 From: graemeg Date: Fri, 21 Mar 2008 23:21:00 +0000 Subject: * new method in Canvas class called ClipLine() which clips the coordinates of a line based on a given clipping rectangle. This doesn't not use the Canvas's internal ClipRegion. It uses the well known Cohen-Sutherland line clipping algorithm, and performance is very good. * new method in Canvas class called DrawLineClipped() which uses the ClipLine method. * Converted some C headers for the Motif Window Manager hints support under X11. * Introduced a new Window Attribute type called waBorderless. This allows use create borderless windows that can handle keyboard input. Currently borderless windows are only implemented in X11. It past 01:15 here and I need sleep, so will tackle GDI support on Monday. * Extended some of the types to be used for the new Style/Theme Manager. * Fixed a bug where TfpgForm.OnClose event did not fire when you call .Close method. --- src/gui/fpgui_package.pas | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/gui/fpgui_package.pas') diff --git a/src/gui/fpgui_package.pas b/src/gui/fpgui_package.pas index 964bea47..46ff405f 100644 --- a/src/gui/fpgui_package.pas +++ b/src/gui/fpgui_package.pas @@ -7,12 +7,11 @@ unit fpgui_package; interface uses - gui_button, gui_combobox, gui_dialogs, gui_edit, gui_form, gui_label, - gui_listbox, gui_memo, gui_scrollbar, gui_bevel, gui_checkbox, - gui_radiobutton, gui_trackbar, gui_tab, gui_basegrid, gui_listview, - gui_customgrid, gui_progressbar, gui_menu, gui_style, gui_grid, gui_tree, - gui_iniutils, gui_mru, fpgui_db, gui_popupcalendar, gui_gauge, - gui_editcombo; + gui_button, gui_combobox, gui_dialogs, gui_edit, gui_form, gui_label, gui_listbox, + gui_memo, gui_scrollbar, gui_bevel, gui_checkbox, gui_radiobutton, gui_trackbar, + gui_tab, gui_basegrid, gui_listview, gui_customgrid, gui_progressbar, gui_menu, + gui_style, gui_grid, gui_tree, gui_iniutils, gui_mru, fpgui_db, gui_popupcalendar, + gui_gauge, gui_editcombo; implementation -- cgit v1.2.3-70-g09d2