Commit Graph

2123 Commits

Author SHA1 Message Date
mattias
1ddf9fb8f9 gtk1 intf: improved clHighlighttext using bg_gc instead of text_g
git-svn-id: trunk@11406 -
2007-07-01 13:07:24 +00:00
tombo
bdecf2b5b9 Gtk1/2 intf: implemented OnDropFiles event
git-svn-id: trunk@11401 -
2007-06-29 11:32:45 +00:00
paul
962d6f164c - crNone cursor for gtk and carbon (issue #8962)
git-svn-id: trunk@11400 -
2007-06-29 08:22:12 +00:00
tombo
52ce9136d3 LCL T(Float)SpinEdit: improved (GTK1/2, Win32), added ReadOnly, AutoSelect
git-svn-id: trunk@11396 -
2007-06-28 12:59:31 +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
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
andrew
783b29fd27 Fixed gtk2 bug #7923 where lazarus would lockup when right clicking in a open/save dialog
git-svn-id: trunk@11307 -
2007-06-09 19:58:09 +00:00
andrew
4797644111 Fixed gtk2 bug #8009 where windowstate was ignored if set before the form was shown
git-svn-id: trunk@11306 -
2007-06-09 17:07:17 +00:00
paul
59aa486876 - another way to show splitter points under gtk1
- buildlazarusdialog adjusted as suggested by Darius

git-svn-id: trunk@11287 -
2007-06-06 02:19:44 +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
paul
3f7e3e3cf8 - another trial to fix splitter painting under gtk (should work now with most themes)
git-svn-id: trunk@11278 -
2007-06-04 15:50:22 +00:00
paul
d30b9718ac - merging part of gtk2themes with gtkthemes
- adjusting splitter drawing (may fix gtk bug with wrong dots alignment)

git-svn-id: trunk@11277 -
2007-06-04 09:38:47 +00:00
paul
c3d53b8c80 - header parts painting
- processing text flags

git-svn-id: trunk@11275 -
2007-06-04 07:54:47 +00:00
mattias
2f1dea96f0 gtk1+2 intf: clean up from Andrew
git-svn-id: trunk@11268 -
2007-06-02 14:02:18 +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
0d0427f294 gtk2 intf: moved menuitem handle creation code from CreateComponent, gtk2 intf: handling menu underscore shortcuts of Application.MainForm
git-svn-id: trunk@11255 -
2007-06-01 16:55:15 +00:00
paul
0b8b1bcb91 - painting checkbox and radiobutton through ThemeServices under gtk1 and gtk2
git-svn-id: trunk@11254 -
2007-06-01 13:37:37 +00:00
mattias
20a3fd2a24 gtk2 intf: moving a widget without resizing now sets the allocation.x/y
git-svn-id: trunk@11246 -
2007-05-31 23:43:23 +00:00
mattias
fe1ca96a65 LCL: implemented TStaticText.DialogChar to focus FocusControl, gtk2 intf: shortcuts of buttons, radiobuttons, checkboxes are now handled by the LCL
git-svn-id: trunk@11245 -
2007-05-31 21:38:56 +00:00
mattias
a2feb66dce gtk1 intf: fixed compilation
git-svn-id: trunk@11243 -
2007-05-31 17:36:24 +00:00
mattias
0154d0a518 gtk2 intf: fixed setting callbacks if no combobox items count=0, gtk2 intf: not setting gtk accelerators for buttons, gtk2 intf: fixed GetClientOrigin for TNoteBook
git-svn-id: trunk@11241 -
2007-05-31 17:34:17 +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
paul
219599ff13 - added themeservices for gtk
- gtk2 themeservices is descendant of gtk themeservices now

git-svn-id: trunk@11224 -
2007-05-30 06:45:30 +00:00
mattias
26b03893db gtk2 intf: fixed reading gtkwindow position
git-svn-id: trunk@11220 -
2007-05-29 19:39:52 +00:00
paul
8eefc8e23f splitter and pairsplitter improvements:
1. ability to control pairsplitter cursor for gtk
2. ability to control pairsplitter internal splitter cursor for others
3. default values for pairsplitter cursor (crHSplit/crVSplit)
4. painting splitter through themes for win32/xp/gtk2 (disabled through -dUseThemes)
5. Clean up

git-svn-id: trunk@11214 -
2007-05-29 09:19:34 +00:00
mattias
1eff85d939 gtk2 intf: improved resizing code to not need the caching trick
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +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
paul
f09a1941ca - fix gtk2 splitter painting (it was transparent)
report 0008927 

git-svn-id: trunk@11206 -
2007-05-26 10:46:02 +00:00
tombo
5bcdc4373e LCL: - derived T(Float)SpinEdit from TCustomEdit to remove redundant code
- removed obsolete TSpinEdit.ClimbRate

git-svn-id: trunk@11205 -
2007-05-26 09:57:11 +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
95a4c61120 gtk intf: LineTo now sets GDK_CAP_NOT_LAST to not draw the last pixel
git-svn-id: trunk@11198 -
2007-05-25 09:14:33 +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
vincents
9fe9006a80 gtk interfaces: fixed typo, so that gtk1 compiles
git-svn-id: trunk@11192 -
2007-05-24 08:45:18 +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
mattias
d63cf2492c gtk intf: GetControlConstraints now returns Max=0 if no Max exists
git-svn-id: trunk@11178 -
2007-05-22 20:51:54 +00:00
mattias
efaec13a02 codetools, TSynPasSyn: aded bitpacked keyword
git-svn-id: trunk@11173 -
2007-05-21 10:09:46 +00:00
mattias
f049d742f3 gtk intf: DeleteObject does not raise an exception, if trying to free an object which is still used, but only gives a warning
git-svn-id: trunk@11172 -
2007-05-21 08:31:03 +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
d0b8eaa03f gtk2 intf: installing handler for TSpinEdit
git-svn-id: trunk@11147 -
2007-05-15 14:51:09 +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
02ea45b594 OI: TSpeedButton.Transparent:=false, setting ItemHeight for combobox as workaround for win intf
git-svn-id: trunk@11141 -
2007-05-15 08:40:23 +00:00
vincents
ecaebbe825 + introduced LCLPlatformDisplayNames (used on screen) and LCLPlatformDirNames (used for compilation) to be able show win32/win64 on screen and use the win32 directory
git-svn-id: trunk@11133 -
2007-05-13 14:25:05 +00:00
mattias
8d7812da86 IDE: completion form is now created on demand and the internal double buffer bitmap is resized correct
git-svn-id: trunk@11130 -
2007-05-12 09:39:20 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
86605834e9 gtk2 intf: reduced hints
git-svn-id: trunk@11111 -
2007-05-09 07:32:45 +00:00