Commit Graph

112 Commits

Author SHA1 Message Date
sekelsenmat
341d9e3850 Patch from Grzegorz Zakrzewski. Fixes #10108
git-svn-id: trunk@14853 -
2008-04-17 01:28:56 +00:00
paul
67ebf94a2e lcl: remove LM_INSERTTEXT, LM_DELETETEXT (not used in LCL anymore and fixes #0010930)
git-svn-id: trunk@14461 -
2008-03-07 17:09:25 +00:00
paul
7bebb27eab messages:
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747)

git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
sekelsenmat
2c82246914 Separates CheckBox on gtk2 and further removes clistbox.
git-svn-id: trunk@14179 -
2008-02-18 08:02:43 +00:00
sekelsenmat
fc312ff2bb Removes the obsolete CListBox under gtk and qt.
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
mattias
c2d668eb0c gtk2 intf: fixed clicked event for Button
git-svn-id: trunk@14073 -
2008-02-10 22:16:19 +00:00
sekelsenmat
9d0941dad2 Fixes the z-order of TButton on gtk2 by splitting it's implementation from gtk1 and adding a EventBox under the button for gtk2.
git-svn-id: trunk@14071 -
2008-02-10 14:53:51 +00:00
marc
a174b6e889 * fixed crash in checklistbox
* fixed overwrite of privateclass on inherited update
* fixed overwrite of privateclass with a "lower" class

git-svn-id: trunk@13663 -
2008-01-07 23:58:16 +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
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
paul
3298b06f86 gtk: move CreateComponent code for TProgressBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13470 -
2007-12-26 09:47:15 +00:00
paul
2f0de90ec1 gtk: move CreateComponent code for TPairSplitter, TScrollBox, TScrollBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13467 -
2007-12-26 08:52:02 +00:00
paul
07cb989050 gtk: move CreateComponent code for ToggleBox, RadioButton, Checkbox, PopupMenu, MainMenu to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13457 -
2007-12-26 03:06:56 +00:00
paul
f7f99f038e implement border style for gtk TListBox and added generic way for setting border style for all scrollables
git-svn-id: trunk@13363 -
2007-12-18 02:57:49 +00:00
paul
fcca92b95d fix gtk1 compilation
git-svn-id: trunk@13029 -
2007-11-26 08:54:03 +00:00
paul
de9e54e0ad gtk:
- fix groupbox with fixed w/o windows (events were broken)
- remove FinishComponentCreate from groupbox
- improve setting label to groupbox (if groupbox text = '' then better to pass nil to prevent drawing of empty string with ugly visual effect)
- fix memory leaks in StaticText

git-svn-id: trunk@13028 -
2007-11-26 07:47:13 +00:00
paul
7e9d843fe8 gtk2: invert define GtkNoWindowFixed to GtkFixedWithWindow (and enable code for fixed w/o window by default). As result TCustomPage and TGroupBox will look nicer under gtk2
git-svn-id: trunk@12979 -
2007-11-23 10:04:16 +00:00
mattias
8f7f9fbebb gtk2 intf: GtkNoWindowFixed: removed gdkwindows for groupboxes and notebooks
git-svn-id: trunk@12976 -
2007-11-23 00:37:28 +00:00
paul
4e7a9679ed gtk1/2 change CoreWidget of StaticText to EventBox
git-svn-id: trunk@12759 -
2007-11-06 10:13:43 +00:00
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