Commit Graph

380 Commits

Author SHA1 Message Date
paul
e0b764dc96 gtk:
- move GtkSwitchPage from GtkCallbacks unit to GtkWsExtCtrls unit
- fix double call of OnChanging on manual page change (part of 8338)

git-svn-id: trunk@13745 -
2008-01-14 08:10:31 +00:00
paul
8e8ae63a6d gtk:
- dont send notification message to lcl when page of notebook is switching from no-page state
- AllowChange = False now has effect
qt:
- send notification message to lcl when notebook page want to switch
and look at AllowChange result
(fix part of 0008338)

git-svn-id: trunk@13744 -
2008-01-14 07:48:25 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
mattias
1816c3aa0a gtk intf: improved debugging
git-svn-id: trunk@13432 -
2007-12-23 10:25:21 +00:00
paul
44d1b9c7a8 lcl messages:
1) move LM_CREATE and LM_DESROY to windows base (fix crash of progress bar after enabling user messages on windows issue #0010458)
2) move LCL LM_ messages far from LM_USER base to prevent collisions with popular user messages like WM_USER, WM_USER+1, ...
3) remove 2 unneeded gtk messages: LM_EXPOSEEVENT, LM_MOVECURSOR and few totally unneeded messages
4) move WM_LCL_SOCK_ASYNC away from WM_USER

git-svn-id: trunk@13415 -
2007-12-22 18:51:06 +00:00
paul
79fbbcfde2 repair VerboseFocus for gtk2
git-svn-id: trunk@13326 -
2007-12-14 04:17:15 +00:00
paul
27a8e5e4ca correct gtk2 scroll message (issue #0010198)
git-svn-id: trunk@12967 -
2007-11-22 04:37:07 +00:00
mattias
0d29c31f7c gtk2 intf: implemented selection change for file dialogs
git-svn-id: trunk@12632 -
2007-10-29 22:47:46 +00:00
andrew
2b0f66359e Applied patch from bug #9693 from anatol modified by Ales Katona that fixes gtk2 font properties being updated
git-svn-id: trunk@12445 -
2007-10-13 20:15:46 +00:00
paul
70c6f0d1f9 gtk2: dont send size message to LCL if visibility changed
git-svn-id: trunk@12206 -
2007-09-28 03:35:21 +00:00
mattias
4f8d2a8022 IDE: added package option Provides - needed by KOL, gtk intf: reduced warnings, fixed wrong type cast calling gdk_text_extends (crashing Label.OptimalFill=true and miscalculation of width)
git-svn-id: trunk@12080 -
2007-09-19 17:58:52 +00:00
mattias
be22076c7a LCL: TCustomUpDown remving old csPanel and using default of TCustomControl ancestor
git-svn-id: trunk@11849 -
2007-08-23 13:28:31 +00:00
mattias
576644f062 memcheck: updated for fpc 2.3.1
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +00:00
mattias
63a8c982ad gtk intf: fixed crash on paste for 64 bit
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
95f4b69572 gtk2 intf: using a gtk_im_multicontext_new to use the gtk input method handling - e.g. dead keys for UTF8KeyPress
git-svn-id: trunk@11687 -
2007-07-31 13:49:36 +00:00
mattias
923e29b086 LCL reduced some x86_64 warnings
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +00:00
jesus
5425eb6b9b LCL, fixed gtk1 selectdirectory returning file instead of directory
git-svn-id: trunk@11501 -
2007-07-13 21:38:52 +00:00
mattias
a07810628b gtk1 intf: workaround for gtk bug: if there is a theme engine, ignore area parameter of draw events, fix for bug #1152
git-svn-id: trunk@11440 -
2007-07-07 10:21:18 +00:00
tombo
bdecf2b5b9 Gtk1/2 intf: implemented OnDropFiles event
git-svn-id: trunk@11401 -
2007-06-29 11:32:45 +00:00
mattias
801d3a0023 IDE: project options form: anchoring notebook to okbutton, gtk intf: color clHighlightText, gtk2 intf: dummy page now without gdkwindow - not eating events, LCL: treeview: removed RecreateWnd call
git-svn-id: trunk@11385 -
2007-06-27 07:44:01 +00:00
mattias
6b2ec19d9c IDE: editor options: using OnChange event for checkboxes - but it would be better to fix the OnClick event for TRadioButtons on all widgetsets
git-svn-id: trunk@11286 -
2007-06-05 16:38:49 +00:00
mattias
537db4ddcf gtk2 intf: implemented mouse wheel up/down messages
git-svn-id: trunk@11261 -
2007-06-01 23:17:26 +00:00
mattias
f9c873cd97 gtk2 intf: forced resizing visible windows, IDE: using ReleaseComponent to free synedits - fixing crash when quickly closing editors with shortcuts
git-svn-id: trunk@11229 -
2007-05-30 17:40:30 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
mattias
db807d1a6d LCL: TSpeedButton: fixed Down state during OnClick from Stephano
git-svn-id: trunk@11201 -
2007-05-25 10:23:25 +00:00
mattias
128e9c88d9 gtk1 intf: added check if user choose a directory in TOpenDialog
git-svn-id: trunk@11195 -
2007-05-25 09:01:28 +00:00
mattias
e16a765e54 LCL: reactivated sending uninitialized bounds of TCustomPage to interface
git-svn-id: trunk@11191 -
2007-05-24 08:33:49 +00:00
mattias
d45e62cd1b gtk2 intf: disabled removing callbacks, added GetDefaultClientRect for TPage and TNoteBook
git-svn-id: trunk@11189 -
2007-05-23 23:24:14 +00:00
mattias
759a269ca6 gtk intf: resize messages for fixed/client widgets are now kept back and sent for main widgets
git-svn-id: trunk@11184 -
2007-05-23 17:32:10 +00:00
paul
b2a7ad27e4 - TFileDialog.FilterIndex returned value starts from 0 under gtk1 and gtk2 (patch from Valdas Janknas report 0008788)
git-svn-id: trunk@11168 -
2007-05-20 06:47:28 +00:00
mattias
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
mattias
a9fb0409fa gtk1 intf: fixed painting of TCustomControl
git-svn-id: trunk@11149 -
2007-05-16 08:28:52 +00:00
mattias
295c93c7cf gtk2 intf: TCustomControl now receive the paint message before the child controls are painted, so that the painting does not paint over the gtk child drawings
git-svn-id: trunk@11146 -
2007-05-15 13:58:50 +00:00
mattias
2b64f5d099 gtk intf: renamed TDeviceContext.Wnd to TDeviceContext.DCWidget to save many typecasts
git-svn-id: trunk@11104 -
2007-05-08 12:58:13 +00:00
mattias
0d2a3b970c gtk intf: fixed mouse events for TListBox
git-svn-id: trunk@11084 -
2007-05-05 16:05:37 +00:00
mattias
383d48a263 LCL: IsControlMouseMsg no longer queries childs which get their own messages.
git-svn-id: trunk@11019 -
2007-04-27 15:35:29 +00:00
mattias
25c19fafdd gtk2 intf: fixed places were still old gtk_file_selection instead o gtk_file_chooser were used
git-svn-id: trunk@11010 -
2007-04-27 07:56:24 +00:00
andrew
c18b7e95b3 applied patch from Luiz Americo for bug #1427
git-svn-id: trunk@10993 -
2007-04-24 01:30:30 +00:00
paul
aae1549400 OnTypeChange event implementation for
TOpenDialog/TSaveDialog for gtk1, gtk2, win32 (reports 619, 8349)

git-svn-id: trunk@10981 -
2007-04-20 12:49:08 +00:00
andrew
583e16ce0a fixed gtk2 on windows. now it is somewhat usable
git-svn-id: trunk@10963 -
2007-04-17 21:07:20 +00:00
andrew
cca247d50f Fixed bug #8639 SynEdit was getting 3-4 messages for the mousemove and mouseup events. Only the first was correct.
git-svn-id: trunk@10910 -
2007-04-07 14:49:20 +00:00
mattias
05fa424bb7 gtk2 intf: fixed codetools include paths, fixed double painting
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +00:00
vincents
e1b5b16184 gtk interface: fixed calling TListView.OnColumnClick, removed duplicate code (bug #8298) from Flavio Etrusco
git-svn-id: trunk@10858 -
2007-04-03 19:53:45 +00:00
mattias
5969cf4b03 gtk intf: omitting TComboBoxBox LM_CHANGED events during popup
git-svn-id: trunk@10767 -
2007-03-18 23:01:41 +00:00
mattias
407997bc6f gtk intf: TListBox: single selection mode: when selected item is deleted switch to mode SINGLE, when item is selected switch to BROWSE mode, issue #1428
git-svn-id: trunk@10758 -
2007-03-16 14:23:31 +00:00
marc
6737a6ef3d * cursor patch from Paul Ishenin
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos

git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
marc
92e3d63d75 * Cursor patch from Paul Ishenin
* Disabled setting cursors for gtk2, since it is broken

git-svn-id: trunk@10544 -
2007-01-31 01:11:00 +00:00
marc
6c79de53ed * Keyhandling rework. Virtual keycodes are looked up by the keycode of the key pressed.
+ Added dynamic modifier mask lookup. 

git-svn-id: trunk@10422 -
2007-01-11 01:09:11 +00:00
mattias
eb2bc015d7 gtk intf: fixed omitting events during adding items to lists (e.g. TComboBox.Items.Add), IDE: fixed changing file extensions for highlighter
git-svn-id: trunk@10391 -
2007-01-08 00:58:34 +00:00