Commit Graph

87 Commits

Author SHA1 Message Date
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
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
bc7a2ba310 Moves TCustomNotebook to ComCtrls in preparation for renaming it
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
zeljko
7c6fee244d Gtk2: do not really hide tab if tabvisible=false during design. fixes #12947
git-svn-id: trunk@25748 -
2010-05-29 09:15:15 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
zeljko
d6a4a9f651 Gtk: fixed bug in TGtkWSCustomNotebook.GetTabIndexAtPos(), it should check if tabwidget is mapped.fixes #15472
git-svn-id: trunk@24209 -
2010-03-25 10:37:23 +00:00
zeljko
f2a96132c4 Gtk2: fixed bug when tabwidget icon isn't updated when imageindex changed until it gets focus. fixes #16049
git-svn-id: trunk@24191 -
2010-03-24 16:34:35 +00:00
mattias
ec6bd0f076 gtk intf: do not allocate size for notebook on add page
git-svn-id: trunk@24047 -
2010-03-16 18:52:14 +00:00
martin
e633753632 LCL, Interfaces: added TNotebook.TabRect for Win/Gtk/2
git-svn-id: trunk@22512 -
2009-11-10 05:13:46 +00:00
mattias
e23b9f69c4 gtk1: clean up
git-svn-id: trunk@21152 -
2009-08-10 12:01:22 +00:00
jesus
5a971c0e06 LCL, added option nboHidePageListPopup to Notebook so default right click popup list can be disabled (gtk1&2), enable multiline tab control under windows
git-svn-id: trunk@20500 -
2009-06-07 19:13:17 +00:00
paul
7526bb803e gtk: report LCL page index instead of gtk page index on notebook page change
git-svn-id: trunk@20087 -
2009-05-21 06:31:13 +00:00
paul
31e1214cec gtk: redo TPanel implementation, add new flag to skip LCL LM_ERASEBKGND
git-svn-id: trunk@19718 -
2009-05-01 04:54:19 +00:00
paul
e43c119502 gtk: use GtkFrame isntead of GtkViewPort for gtk1 TPanel implementation widget
git-svn-id: trunk@19715 -
2009-04-30 18:29:17 +00:00
paul
020618fa6c gtk, gtk2: more fixes for default font assignment
git-svn-id: trunk@19712 -
2009-04-30 16:17:16 +00:00
paul
15f2bd17ec gtk: revert r17114 #acfab690ae for gtk1 only (fixes bug #0013337 needs testing)
git-svn-id: trunk@19685 -
2009-04-29 08:24:18 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
jesus
af721847eb LCL, fixed TabIndexAtClientPos for win32 and gtk2
git-svn-id: trunk@18831 -
2009-02-27 03:23:46 +00:00
paul
899cb35691 gtk: fix GtkNotebook tabs visibility after hide/show (bug #0013006)
git-svn-id: trunk@18370 -
2009-01-21 06:39:47 +00:00
paul
e24b1cdfc5 lcl: a bit of formatting
git-svn-id: trunk@18368 -
2009-01-21 06:31:19 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
paul
acfab690ae gtk: remove all specific implementation for TPanel. TPanel is a TCustomControl descendant and does not needs any special implementation. (fixes #0012384 ?)
git-svn-id: trunk@17114 -
2008-10-24 02:33:07 +00:00
paul
b9e43cb7bc gtk, gtk2: a trial to reduce space between panel border and content (0012376)
git-svn-id: trunk@16984 -
2008-10-13 13:53:11 +00:00
paul
8f28862538 cleanup
git-svn-id: trunk@16889 -
2008-10-06 02:18:42 +00:00
paul
586365803f qt,gtk,gtk2: use TPanel.BorderStyle in widget initialization code
gtk, gtk2: use GtkFrame instead of GTkHBox to implement panel container (since Frame can handle our BorderStyle property)

git-svn-id: trunk@16887 -
2008-10-06 02:15:17 +00:00
vincents
11038348f3 LCL: added TNotebookCapabilities from Benito van der Zander (part of issue #11563)
git-svn-id: trunk@16000 -
2008-08-08 14:31:54 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
763e629893 gtk intf: made eventbox of client areas visible. Otherwise it eats some mouse events
git-svn-id: trunk@14069 -
2008-02-10 13:57:46 +00:00
paul
4aa431716f fix gtk1 compilation
git-svn-id: trunk@13749 -
2008-01-14 12:57:34 +00:00
paul
e3c223acf6 fix gtk1 compilation
git-svn-id: trunk@13748 -
2008-01-14 12:44:06 +00:00
paul
a2dfc721bd gtk: dont call gtk_notebook_set_page if there is no reason
git-svn-id: trunk@13746 -
2008-01-14 08:27:13 +00:00
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
dc2f654a2b add set_rc_name to every CreateHandle
git-svn-id: trunk@13545 -
2007-12-31 08:12:12 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
a529591664 gtk: move CreateComponent code for TCustomPage to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13465 -
2007-12-26 07:24:05 +00:00
paul
4db415b23b remove obsoleted splitter drawing code
git-svn-id: trunk@13464 -
2007-12-26 07:09:09 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00
paul
2b06109c9b gtk: change formatting a bit
git-svn-id: trunk@12674 -
2007-11-01 03:25:21 +00:00
paul
7bcafcc8d0 gtk: change formatting a bit
git-svn-id: trunk@12673 -
2007-11-01 03:11:55 +00:00
andrew
6911f11c59 Reworked gtk1 TTrayIcon. Now we don't use a TForm hack but instead use a GtkPlug
git-svn-id: trunk@12546 -
2007-10-21 20:56:27 +00:00
sekelsenmat
b8ea56b203 Added gtk1 implementation for TTrayIcon.
git-svn-id: trunk@12109 -
2007-09-21 09:53:17 +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
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
sekelsenmat
8781f4543a Moved the creation of Edit, StaticText and Panel from the old CreateComponent to the new CreateHandle methods on Gtk. Also moved CreateForm into the CreateHandle method.
git-svn-id: trunk@11540 -
2007-07-17 09:31:14 +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
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
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
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