Commit Graph

126 Commits

Author SHA1 Message Date
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
zeljko
214a49925d Gtk: fixed potential crash by misusage of intersectRect.
git-svn-id: trunk@27881 -
2010-10-26 12:10:08 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
a3dac0b6df lcl: redo context menu message handling:
- when called by keyboard pass -1, -1 coords
  - remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
  - don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)

git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
zeljko
3dfe0e61f3 Gtk2: use SetResizeRequest() instead FormSavedPos (removed my latest patch for for positioning after hide).fixes #16507
git-svn-id: trunk@25549 -
2010-05-20 17:59:22 +00:00
zeljko
891890b3ab Gtk2: implemented AppRemoveStayOnTop, AppRestoreStayOnTop also normalize stayOnTop in appactivate & appdeactivate.
git-svn-id: trunk@25540 -
2010-05-20 11:42:56 +00:00
zeljko
d7de33e1aa Gtk2: fixed restoring form position after form is hidden, and then shown.
Fixes #15069,#15417,#16507

git-svn-id: trunk@25519 -
2010-05-19 17:33:54 +00:00
mattias
900480ea67 gtk1 intf: clean up
git-svn-id: trunk@25480 -
2010-05-17 12:25:58 +00:00
zeljko
7bb68e7dfa Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.

git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
zeljko
5b9b9419d0 Gtk2: fixed gtk2 spinedit OnChange() event.fixes #16410.
git-svn-id: trunk@25218 -
2010-05-05 15:55:36 +00:00
paul
0ec1f90c0e gtk, gtk2: implement GetSysColorBrush (non context-related)
git-svn-id: trunk@25130 -
2010-05-02 11:01:05 +00:00
mattias
02e09dd031 gtk2 intf: do not maximize designing forms
git-svn-id: trunk@25068 -
2010-04-29 16:50:24 +00:00
mattias
cc036e53e9 gtk intf: GDIObjects are now reference counted, DeleteObject while object is selected is now allowed, bug #16291
git-svn-id: trunk@24743 -
2010-04-20 15:32:54 +00:00
zeljko
9dde8efaf2 Gtk2: removed doubled ConnectSenderSignal(Adjustment, 'value-changed', @GTKVScrollCB); from LM_VSCROLL
git-svn-id: trunk@24192 -
2010-03-24 16:55:26 +00:00
zeljko
e00a729df4 gtk2: small fix for gtkEntry 'changed' , gtk2 bug is fixed in >= 2.17 not >= 2.15
git-svn-id: trunk@24050 -
2010-03-16 20:01:53 +00:00
zeljko
ca4e6d270d Gtk2: fixed inconistency between gtk2 libs versions for GtkEntry 'changed' event.
git-svn-id: trunk@24048 -
2010-03-16 18:56:19 +00:00
zeljko
42ecbc3588 Gtk2: rework cursor_pos update for GtkEntry.Now it works correct and completely fixes #7243
git-svn-id: trunk@24043 -
2010-03-16 15:34:28 +00:00
paul
0c1c7b1a6c lcl, gtk, gtk2: fix some ParentWindow problems when assigned to TCustomForm
git-svn-id: trunk@23984 -
2010-03-14 07:29:50 +00:00
paul
30c02025b3 gtk: fix AV in GetWindowDebugReport based on patch of Flávio Etrusco (issue #0015857) + formatting
git-svn-id: trunk@23811 -
2010-03-01 07:21:33 +00:00
paul
198567241a gtk2: minor changes of gtk scroll-event handler
git-svn-id: trunk@23605 -
2010-01-31 12:02:18 +00:00
marc
20448170ae + WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
paul
7f5f2e5540 lcl: remove remain ver2_0 code
git-svn-id: trunk@23394 -
2010-01-06 17:43:33 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
paul
825457d6b0 win32, wince, qt, gtk: fix DCSetPixel to allow system colors by Luiz Americo (issue #0015265)
git-svn-id: trunk@23136 -
2009-12-14 05:29:59 +00:00
mattias
6cc37ddac3 gtk2 intf: added style-after event - no implementation yet
git-svn-id: trunk@23085 -
2009-12-11 19:58:30 +00:00
paul
c8e69ea350 gtk2: fix TGTKWidgetSet.RawImage_FromPixbuf by C Western (issue #0015080)
git-svn-id: trunk@22717 -
2009-11-23 06:55:57 +00:00
mattias
9303e63f1a gtk intf: change mouse cursor crHandPoint to GDK_Hand2, bug #15060
git-svn-id: trunk@22599 -
2009-11-15 14:37:04 +00:00
mattias
412dddbda7 gtk intf: VerboseTWinControlRealText connect signal after
git-svn-id: trunk@21823 -
2009-09-22 16:11:35 +00:00
paul
d43964d5f1 gtk: take care of LastWPResult when we are disconnecting all widget signal handlers (must fix bug #0014512)
git-svn-id: trunk@21608 -
2009-09-08 06:58:44 +00:00
mattias
4bd95ef5b3 gtk intf: comments
git-svn-id: trunk@21402 -
2009-08-22 19:44:59 +00:00
mattias
e0c57af916 undo
git-svn-id: trunk@21399 -
2009-08-22 19:40:53 +00:00
mattias
b03dbf338e synedit: added checks if handle is allocated
git-svn-id: trunk@21398 -
2009-08-22 19:33:35 +00:00
mattias
7dbec45e6d gtk2 intf: fixed slow down when mouse outside bug #11740, fixed crash when WindowFromPoint widget destroyed
git-svn-id: trunk@21213 -
2009-08-13 06:53:35 +00:00
marc
6185c6ab60 * reverted r21200 #16af7e11b4, the removed functionality is essential when running lcl apps remote
git-svn-id: trunk@21207 -
2009-08-12 21:43:56 +00:00
mattias
16af7e11b4 gtk intf: removed cache for windowfrompoint, it crashes if widget was destroyed
git-svn-id: trunk@21200 -
2009-08-12 15:10:44 +00:00
paul
4c87be780e gtk: move TGtkWSWinControl.SetCallbacks implementation to the new virtual TGtkWidgetset.SetCommonCallbacks method to allow gtk2 override
git-svn-id: trunk@20831 -
2009-07-11 10:29:13 +00:00
paul
794025a9af gtk2: fix EnabledGtkThreading for win32
git-svn-id: trunk@20719 -
2009-06-23 06:43:58 +00:00
paul
11d686ee19 gtk2: improve EnableGtkThreading code
git-svn-id: trunk@20717 -
2009-06-23 03:45:06 +00:00
paul
f7066cf839 gtk: reset special colors if we are setting clDefault
git-svn-id: trunk@20448 -
2009-06-05 16:38:44 +00:00
paul
b92167f4b3 gtk: treat clBtnFace as default bg color as it was before (temporary solution)
git-svn-id: trunk@20446 -
2009-06-05 16:24:35 +00:00
paul
cbea652f5f gtk: fix resetting color property of some controls (issue #0007555, using Zeljan patch but with many modifications)
git-svn-id: trunk@20441 -
2009-06-05 15:39:52 +00:00
paul
69d96a1d70 gtk: formatting
git-svn-id: trunk@20076 -
2009-05-20 11:56:07 +00:00
paul
1eb5c2a539 gtk: fix copying one DC into another with SRCCOPY rop (fixes issue #0013746)
git-svn-id: trunk@20056 -
2009-05-20 01:59:15 +00:00
paul
8ed7281c00 gtk: use more generic code to set menuitem shortcuts and caption, redo SetLabelCaption for gtk2
git-svn-id: trunk@20027 -
2009-05-18 13:04:06 +00:00
paul
447f5d8a3c gtk: fix copying a rect from drawable to bitmap (issue #0012131)
git-svn-id: trunk@20024 -
2009-05-18 07:11:28 +00:00