Commit Graph

142 Commits

Author SHA1 Message Date
paul
f67a4dec0f TStaticText:
- gtk1/gtk2: reimplemented through GtkFrame->GtkEventBox->GtkLabel
- win32: BorderStyle and ShowAccelChar now have effect
- qt: BorderStyle and ShowAccelChar now have effect 

git-svn-id: trunk@12754 -
2007-11-06 09:17:41 +00:00
paul
5a22410984 gtk2:
- TGtk2WSCustomEdit.SetSelStart, TGtk2WSCustomEdit.SetSelLength
- replace some 'if not HandleAllocated then' with 'if not WSCheckHandleAllocated then'

git-svn-id: trunk@12599 -
2007-10-26 16:17:18 +00:00
andrew
5acb4edee6 fixed a gtk1 bug where setting Memo.SelStart > Length(Memo.Text) would cause an exception
git-svn-id: trunk@12537 -
2007-10-20 22:15:28 +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
paul
d762d100d9 Gtk:
- vary widget default cursors (default edit cursor is IBeam, others are arrow)
- remove unused cursor map global variable and related stuff

git-svn-id: trunk@12039 -
2007-09-16 05:42:37 +00:00
paul
abe113718c - move TWidgetset.GetListBoxXXX to TWSCustomListBox.GetXXX (where XXX in [GetIndexAtY, GetItemRect]) *untested on Carbon and wince*
- implement GetIndexAtY and GetItemRect for TQtWsListBox

git-svn-id: trunk@11875 -
2007-08-28 17:44:28 +00:00
vincents
8025a708bc gtk widgetset: remove use of NoGdkPixbufLib define
git-svn-id: trunk@11750 -
2007-08-06 18:48:29 +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
f4679373e8 gtk1 intf: fixed creating handle of TCustomMemo
git-svn-id: trunk@11560 -
2007-07-17 23:38:39 +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
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
mattias
2f1dea96f0 gtk1+2 intf: clean up from Andrew
git-svn-id: trunk@11268 -
2007-06-02 14:02:18 +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
ef4cb4d516 gtk2 intf: TComboBox: fixed gtk crit when ITemCount=0
git-svn-id: trunk@11015 -
2007-04-27 11:18:59 +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
marc
61b16d06a0 * resolved gtkprivate name conflict
git-svn-id: trunk@10697 -
2007-02-27 23:17:33 +00:00
marc
b242b1a2d7 * part of restructuring
git-svn-id: trunk@10565 -
2007-02-02 01:46:23 +00:00
marc
5e6f809b63 * made gtk2 keyboard initialisation independent of X
- removed unix -> X implication
* start of some gtk1/2 split

git-svn-id: trunk@10535 -
2007-01-29 23:07:59 +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
mattias
6da5267421 gtk intf: improved listbox SetTopIndex for newly added items
git-svn-id: trunk@10344 -
2006-12-21 16:29:39 +00:00
mattias
e280cbf19f gtk1 intf: font for TListBox items from sergkam
git-svn-id: trunk@10238 -
2006-11-24 13:55:46 +00:00
mattias
d17fddefd2 LCL: TScrollBar: adding PageSize to scrollinfo Max
git-svn-id: trunk@10051 -
2006-10-10 06:52:57 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
mattias
3eb818ecb1 gtk2 intf: implemented TCustomListBox.SetTopIndex
git-svn-id: trunk@9520 -
2006-06-28 21:26:52 +00:00
mattias
b9bf6c4b20 gtk2 intf: fixed GetPreferredSize, codetools: added targets i386-darwin-*
git-svn-id: trunk@9504 -
2006-06-27 20:28:37 +00:00
mattias
2d930cf78b gtk2 intf: fixed TScrollBar
git-svn-id: trunk@9473 -
2006-06-22 02:49:18 +00:00
mattias
9e7d3f95e3 added parameter to CreatPublishedMethod to only use the typeinfo, improvements for 64bit
git-svn-id: trunk@9463 -
2006-06-21 18:30:24 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
5c9068adf1 TCustomEdit now tries to keep the selection position after replacing the selection from Colin
git-svn-id: trunk@9250 -
2006-05-08 08:52:14 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
0bf04077bf added gtk TMemo font and color implmentation from Darek
git-svn-id: trunk@9077 -
2006-04-04 19:00:57 +00:00
mattias
142b936147 added code macros date, time, datetime
git-svn-id: trunk@9039 -
2006-03-29 09:38:14 +00:00
mattias
f6e1bf014e added LM_CHANGED to TCustomComboBox from Darek
git-svn-id: trunk@9033 -
2006-03-28 17:05:15 +00:00
mattias
39d76028e2 fixed gtk TListBox.ItemIndex with MultiSelect and implemented loading .lpk info in install package dialog
git-svn-id: trunk@8990 -
2006-03-22 20:04:40 +00:00
mattias
ba79bfe6ab When tComboBox is first component on Form, Gtk enable grab capture for it and not release from Darek
git-svn-id: trunk@8964 -
2006-03-18 23:10:14 +00:00
mattias
8248d56504 changed unit output directory switch from -FE to -FU, FPC 2.0.2 has been fixed finally
git-svn-id: trunk@8918 -
2006-03-11 10:59:59 +00:00
mattias
c9951da94d implemented color for TComboBox from Darius
git-svn-id: trunk@8911 -
2006-03-10 17:53:49 +00:00
mattias
03aff84390 improved setting custom font for TEdit under gtk2 from Darius
git-svn-id: trunk@8851 -
2006-03-01 01:46:40 +00:00
mattias
5c8dad6974 fixed gtk2 listbox setborder to TODO
git-svn-id: trunk@7713 -
2005-09-16 08:58:06 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
mattias
862a04296b added TComboBox.ReadOnly - only partially working under gtk1
git-svn-id: trunk@7546 -
2005-08-22 19:02:06 +00:00
mattias
12ce6432d7 added idewindowintf.pas - interface for storing IDE dialogs sizes
git-svn-id: trunk@7460 -
2005-07-31 10:21:18 +00:00
mattias
a6e4985cfb started basic docking anchoring and made Contributors.txt ASCII to show everywhere
git-svn-id: trunk@7362 -
2005-07-17 01:05:04 +00:00
marc
98f5b75116 * Reimplemented ZOrder
+ Added IDE option to move a control one forward/back
* Fixed IDE control selection
- Removed some IFDEF VER 1_0
+ Added some inline

git-svn-id: trunk@7361 -
2005-07-16 00:08:26 +00:00
marc
509074124d * prevent segfault in gtk when setting start < 0
git-svn-id: trunk@7128 -
2005-05-02 17:29:31 +00:00
marc
776866aee2 * gtk2 patch from Andrew
git-svn-id: trunk@7064 -
2005-04-07 22:04:02 +00:00
mattias
6697af3196 accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00
marc
6ed8e2ecf4 * Reworked listviews to match new interface
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +00:00
mattias
49190601ad fixed componentpalette adding via double click
git-svn-id: trunk@6826 -
2005-02-21 20:15:28 +00:00
mattias
16a8535f4f fixed compilation
git-svn-id: trunk@6746 -
2005-02-05 14:46:09 +00:00
mattias
94f6a1142d fixed gtk2 intf from Peter Vreman
git-svn-id: trunk@6667 -
2005-01-22 23:53:43 +00:00
micha
f92f516967 fix gtk compilation for tstatictext.layout
git-svn-id: trunk@6550 -
2005-01-11 21:40:29 +00:00
micha
b63e712b19 swap TCustomStaticText and TCustomLabel
git-svn-id: trunk@6500 -
2005-01-07 20:51:11 +00:00
mattias
0ced54bdb8 implemented TCheckBox.State=cbGrayed for gtk intf without visual representation
git-svn-id: trunk@6489 -
2005-01-07 01:31:44 +00:00
mattias
e35647ff98 fixed loading TMemo.Lines - During Loading
git-svn-id: trunk@6447 -
2005-01-01 14:38:37 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
mattias
96951cf407 added memo thaw on set SelStart from Andrew Haines
git-svn-id: trunk@6242 -
2004-11-14 00:21:08 +00:00
mattias
d160b3b743 updated memcheck.pas from heaptrc.pp
git-svn-id: trunk@6225 -
2004-11-10 15:25:32 +00:00
mattias
5f8024e0d7 implemented auto sizing: child to parent sizing
git-svn-id: trunk@6206 -
2004-11-05 22:08:53 +00:00
mattias
8960dd3810 implemented preferred size for controls for theme depending AutoSizing
git-svn-id: trunk@6189 -
2004-11-03 14:18:36 +00:00
mattias
6a9d72cbda fixed compiler options interface double variables
git-svn-id: trunk@6133 -
2004-10-12 08:23:20 +00:00
mazen
964538eebf * Fix compile probelem under GTK2 related to
THandle <--> Pointer conversion

git-svn-id: trunk@6090 -
2004-09-30 10:35:50 +00:00
mazen
5cc29d9ed6 * Fix GTK2 compilation problem
git-svn-id: trunk@6085 -
2004-09-28 16:41:54 +00:00
mattias
abacaa7cbf implemented Rename Identifier
git-svn-id: trunk@6075 -
2004-09-25 15:05:39 +00:00
micha
21199fcd5d convert LM_LB_GETTOPINDEX and LM_LB_SETTOPINDEX message to interface methods
git-svn-id: trunk@6067 -
2004-09-24 15:31:02 +00:00
micha
924f6583c7 convert LM_SETPROPERTIES message to interface method for TScrollBar
git-svn-id: trunk@6056 -
2004-09-23 20:36:30 +00:00
mattias
08d727e283 various fixes for TCustomMemo, RTTIControls, FindReferences
git-svn-id: trunk@6046 -
2004-09-22 19:05:58 +00:00
micha
dcf9c0e76f convert LM_SETPROPERTIES message to interface methods for TCustomMemo
git-svn-id: trunk@6044 -
2004-09-22 16:13:01 +00:00
micha
74f59c2028 convert LM_SETPROPERTIES message for tcustomlabel to interface methods
git-svn-id: trunk@6043 -
2004-09-22 14:50:18 +00:00
micha
d19d4f2e0b convert LM_SETPROPERTIES to interface methods for TCustomEdit
git-svn-id: trunk@6039 -
2004-09-21 13:28:10 +00:00
micha
611ad4d52f convert LM_SETPROPERTIES to interface methods for TCustomComboBox
git-svn-id: trunk@6036 -
2004-09-20 21:01:04 +00:00
micha
b1a4a3dab4 convert LM_SETVALUE message to interface methods
git-svn-id: trunk@6032 -
2004-09-19 18:50:28 +00:00
micha
559f264877 convert LM_GETVALUE message to interface method
git-svn-id: trunk@6029 -
2004-09-18 17:07:58 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00
micha
4b81f2e84a convert LM_SETBORDER message to interface method
fix widgetsets virtual methods to be published
fix compilation debugging widgetset registration

git-svn-id: trunk@6017 -
2004-09-17 07:55:13 +00:00
micha
8320028fd9 register gtk customlistbox
git-svn-id: trunk@6015 -
2004-09-16 14:49:11 +00:00
micha
2a2c0c9db6 convert LM_SETSELMODE message to interface method
git-svn-id: trunk@6014 -
2004-09-16 14:32:31 +00:00
micha
312a4ab45c convert LM_SETSEL message to interface method
git-svn-id: trunk@6013 -
2004-09-16 13:57:30 +00:00
micha
2f36a0ca3c convert LM_SORT message to interface method
git-svn-id: trunk@6012 -
2004-09-16 13:30:48 +00:00
micha
dea133d633 convert LM_GETSEL message to interface method
git-svn-id: trunk@6010 -
2004-09-15 19:38:56 +00:00
micha
dd214aee5a convert LM_GETSELCOUNT message to interface method
git-svn-id: trunk@6009 -
2004-09-15 19:04:39 +00:00
micha
0420d2ead2 convert LM_GETITEMINDEX and LM_SETITEMINDEX messages to interface methods
git-svn-id: trunk@6007 -
2004-09-15 17:21:22 +00:00
micha
489c23ece2 convert LM_GETITEMS message to interface method
git-svn-id: trunk@6005 -
2004-09-15 14:45:39 +00:00
mazen
6f629054b9 * fix input / output with GTK2 in TEDIT
git-svn-id: trunk@6004 -
2004-09-15 14:00:16 +00:00
micha
773ffa3278 convert LM_ATTACHMENU to interface method
git-svn-id: trunk@5961 -
2004-09-10 18:58:24 +00:00
micha
9bf5da6991 convert LM_APPENDTEXT to interface method
git-svn-id: trunk@5959 -
2004-09-10 17:59:58 +00:00
mattias
574cfd8529 implemented very rudimentary TTabControl
git-svn-id: trunk@5958 -
2004-09-10 16:28:51 +00:00
micha
12e184b13e convert lcl messages to new interface using methods: LM_{G,S}ETSELSTART, LM_{G,S}ETSELLEN, LM_{G,S}ETLIMITTEXT
git-svn-id: trunk@5930 -
2004-09-07 09:44:46 +00:00
mattias
caf487c9e8 implemented OnChange for TRadioButton, TCheckBox, TToggleBox and some more docking stuff
git-svn-id: trunk@5531 -
2004-05-30 14:02:31 +00:00
marc
897fe72887 * Fixes some typos and changes uses clause cases
git-svn-id: trunk@5317 -
2004-03-17 19:59:56 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00