Commit Graph

3174 Commits

Author SHA1 Message Date
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
vincents
ef6d7aebb2 win32 interface: fixed acces violation when handling wm_drawitem (bug #8839)
git-svn-id: trunk@11188 -
2007-05-23 21:44:23 +00:00
jesus
28a2530ec6 LCL: default implementation of themed headers
git-svn-id: trunk@11185 -
2007-05-23 18:47:59 +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
tombo
8d6bdc994f Carbon intf. Themes: PushButton (used by TSpeedButton or BuildLazDialog) and UserButton style should look like BevelButton
git-svn-id: trunk@11183 -
2007-05-23 15:18:24 +00:00
tombo
d07861fb82 Carbon intf:
- UserPane replaced by custom HIView
- managing GDI objects selection
- working TSplitter

git-svn-id: trunk@11182 -
2007-05-23 14:25:56 +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
paul
554e4107ef - Themes moved to interface section from implementation
- Build lazarus dialogs use ThemeServices to draw buttons (disabled through UseThemes define)

git-svn-id: trunk@11174 -
2007-05-22 06:06:11 +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
2d1bc7a00f - initial implementation of TCarbonThemeServices (for speedbutton themed painting)
git-svn-id: trunk@11171 -
2007-05-21 07:07:56 +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
paul
499e5cfe9a - gtk2 speedbutton painting through ThemeServices (use -dUseThemes)
git-svn-id: trunk@11165 -
2007-05-19 13:45:37 +00:00
jesus
f69e206502 LCL: fixed compilation of gtk2 widgetset under FPC 2.1.x
git-svn-id: trunk@11164 -
2007-05-18 17:54:18 +00:00
paul
e45bc069f0 - initial implementation of lazarus ThemeServices
- win32 calls to Widgetset.ThemesActive redirected to ThemeServices

git-svn-id: trunk@11161 -
2007-05-18 02:18:52 +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
sekelsenmat
388e62b32f tiny improvements on fpgui interface
git-svn-id: trunk@11158 -
2007-05-17 08:15:51 +00:00
sekelsenmat
53364e1fce Small improvements on fpgui interface
git-svn-id: trunk@11157 -
2007-05-17 05:57:06 +00:00
paul
37bdf71f61 - changed handle check in combobox SetItemHeight to more correct
git-svn-id: trunk@11154 -
2007-05-16 14:07:03 +00:00
vincents
211710b030 win32 interface: fixed position for right click events of listviews in a groupbox (#8768)
git-svn-id: trunk@11153 -
2007-05-16 12:27:36 +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
45cbd18a0c gtk2 intf: fixed TMemo setting echo mode and password char: not suported by TMemo
git-svn-id: trunk@11145 -
2007-05-15 13:49:33 +00:00
tombo
1d3d886efd Carbon intf:
- improved capturing, TForm.BorderStyle
- fixed mouse pos bug while tracking
- working TSpeedButton

git-svn-id: trunk@11144 -
2007-05-15 11:05:44 +00:00
paul
c6b596f1c8 - call to RecreateWnd without check to HandleAllocated cause crash
git-svn-id: trunk@11142 -
2007-05-15 09:39: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
sekelsenmat
a8d0d39571 Basic implementation for RadioButton and CheckBox for fpgui
git-svn-id: trunk@11138 -
2007-05-14 22:04:48 +00:00
sekelsenmat
fc50c1c19f Improved ComboBox implementation for fpgui
git-svn-id: trunk@11137 -
2007-05-14 21:14:12 +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
paul
3f6445f154 - TCustomMemo.WantTabs for gtk2
git-svn-id: trunk@11131 -
2007-05-12 12:30:18 +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
tombo
8babe22532 Carbon intf:
- memory leak fix: removed ref. counting from registered events, removed events unregistering
- implemented GetCapture
- memory leak fixed in destroying menu items

git-svn-id: trunk@11122 -
2007-05-10 10:47:14 +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
sekelsenmat
1a38e1d6c2 Fixes and minor improvements on fpgui interface
git-svn-id: trunk@11113 -
2007-05-09 08:30:00 +00:00
sekelsenmat
28b1b1be74 Minor identation and comments fixes on qt interface
git-svn-id: trunk@11112 -
2007-05-09 07:58:53 +00:00
mattias
86605834e9 gtk2 intf: reduced hints
git-svn-id: trunk@11111 -
2007-05-09 07:32:45 +00:00
sekelsenmat
3c4228ec5e Implemented the basics to get TEdit and TComboBox (partial) working.
git-svn-id: trunk@11107 -
2007-05-08 16:31:35 +00:00
mattias
6a41acd5f4 gtk2 intf: the GC of device contexts are now created only when needed
git-svn-id: trunk@11106 -
2007-05-08 16:24:44 +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
paul
1ef92b0f0b - TMemo.Alignment implementation for win32, qt, gtk2
git-svn-id: trunk@11092 -
2007-05-07 07:31:14 +00:00
paul
c1437bbc76 - fixed qt widgetset compilation with fpc 2.3.1
git-svn-id: trunk@11090 -
2007-05-07 04:35:38 +00:00
mattias
0d2a3b970c gtk intf: fixed mouse events for TListBox
git-svn-id: trunk@11084 -
2007-05-05 16:05:37 +00:00
paul
45f07afcc1 - LCL and Win32 TListBox.Columns
git-svn-id: trunk@11083 -
2007-05-05 15:30:19 +00:00
andrew
61d6337105 fixed painting of combobox items if they are selected in gtk2
implemented sending of closeup message for a combobox in gtk2

git-svn-id: trunk@11079 -
2007-05-04 23:49:36 +00:00
paul
051e47f08a ComboHeight := ComboHeight replaced with UpdateComboHeight
git-svn-id: trunk@11077 -
2007-05-04 15:11:39 +00:00
paul
5629cad996 - prevent csSimple combobox to have double height in runtime
- some win32 intf combobox related code moving

git-svn-id: trunk@11071 -
2007-05-04 02:24:45 +00:00
paul
f83756a0d3 - request combobox item heights through onMeasureItem when style is ownerdraw variable + misc bugs with ItemHeight (report 0008113)
git-svn-id: trunk@11070 -
2007-05-04 01:26:23 +00:00
paul
920d0c3b8e - fixed painting of imagelist images on menuitems under gtk2
git-svn-id: trunk@11065 -
2007-05-03 16:04:34 +00:00