Commit Graph

104 Commits

Author SHA1 Message Date
micha
4538645d35 * lcl/gtk2: only use X when HasX has been defined
git-svn-id: trunk@16453 -
2008-09-06 15:24:58 +00:00
mattias
f7943628fa gtk intf: Avoid the creation of WidgetInfo to combox childs, Update the ItemIndex cache when inserting items, from Luiz
git-svn-id: trunk@15894 -
2008-07-27 21:13:41 +00:00
mattias
e5805aab68 gtk/gtk2 intf: combobox: toggle selection mode to support ItemIndex=-1, fixed ReadOnly, updating intf ItemIndex cache on Delete/Insert/Change, refactoring for WS classes, from Luiz
git-svn-id: trunk@15842 -
2008-07-23 08:17:39 +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
b26fda5243 gtk+gtk2+win32 intf: TComboBox: fixed LM_CHANGED, LM_SELCHANGED events, now LM_CHANGED are sent, whenever the text changes, from Luiz
git-svn-id: trunk@15831 -
2008-07-21 21:29:07 +00:00
paul
a97246aad9 gtk2: set fpu control word globally for gtk2-win32, or it will crash on setting form or application icon. remove old places where I did that.
git-svn-id: trunk@15750 -
2008-07-11 15:46:00 +00:00
paul
c5f79da073 gtk2: further fix button cursor assignment
git-svn-id: trunk@15531 -
2008-06-23 09:25:07 +00:00
mattias
4ac5113a66 gtk2 intf: implemented LM_SelChange event for TGtk2WSCustomListBox, bug #11229, #11356, #11337
git-svn-id: trunk@15298 -
2008-06-03 12:02:34 +00:00
sekelsenmat
30b56850c0 Separates gtk2spin
git-svn-id: trunk@14872 -
2008-04-17 19:24:04 +00:00
sekelsenmat
dcb54a9371 Separates gtk2wscalendar
git-svn-id: trunk@14871 -
2008-04-17 19:11:04 +00:00
sekelsenmat
58d9858249 Fixes form events in gtk2 and further separates the widgetsets.
git-svn-id: trunk@14862 -
2008-04-17 09:50:17 +00:00
sekelsenmat
f54bea2fc5 Separates gtk1 and gtk2 menu item code. Started implementing shortcuts for gtk2 menu items, but was unable to finish it. It didn't work before, so commited anyway because the new code is at least cleaner.
git-svn-id: trunk@14842 -
2008-04-16 00:22:08 +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
paul
64c7e1a1a5 gtk2: remove hacks around TListBox.ItemIndex
git-svn-id: trunk@13967 -
2008-02-03 12:48:36 +00:00
paul
707313382f gtk2: further improve gtk2 ListBox ItemIndex
git-svn-id: trunk@13828 -
2008-01-22 09:56:06 +00:00
paul
9925daf8cd gtk2: workaround problem with setting itemIndex in multiselected listbox
git-svn-id: trunk@13825 -
2008-01-22 04:43:39 +00:00
paul
9103143052 correct a bit ItemIndex changes in gtk2 (clearing of selection on delete still needs to be fixed)
git-svn-id: trunk@13822 -
2008-01-21 10:26:08 +00:00
paul
2b801abac0 qt, gtk2: ItemIndex compatibility with win32
git-svn-id: trunk@13819 -
2008-01-21 09:01:02 +00:00
mattias
14fe68ea0b gtk intf: moved FinishCreateHandle to gtk1 - it is usable for gtk1+2
git-svn-id: trunk@13642 -
2008-01-05 22:51:53 +00:00
mattias
ace1f24e16 gtk intf: added TGtkWidgetSet.FinishCreateHandle with some standard setups for non LCL gtk controls
git-svn-id: trunk@13641 -
2008-01-05 22:49:14 +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
mattias
a9756022db gtk2 intf: added missing override
git-svn-id: trunk@13076 -
2007-11-29 10:33:26 +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
marc
da0fae1075 * Splitup somg gtk1/2 component creation code
git-svn-id: trunk@12886 -
2007-11-16 00:49:10 +00:00
marc
13910703cb = Renamed gtkobject includes to gtkwidgetset (that's the name of the class anyway)
+ added gtk1widgetset to make it possible to move ifdefed implementations

git-svn-id: trunk@12885 -
2007-11-15 23:15:11 +00:00
marc
bba6436cd7 * modified patch #0010125 by Grzegorz Zakrzewski and Ales Katona for fixing font modifications other than size
git-svn-id: trunk@12884 -
2007-11-15 22:18:26 +00:00
paul
ffcc357787 gtk2:
- fix makefile problem (we need gtk dir only for inc files)
- add {$I gtkdefines.inc} to gtk2int

git-svn-id: trunk@12216 -
2007-09-28 14:20:34 +00:00
paul
df5e7aa81e gtk:
- separate SM_CXSCREEN and SM_CXVIRTUALSCREEN for gtk2 (affects TForm.ScreenPosition screen/desktop center)
- implement SetCursorPos for gtk2 (if version >= 2.8)

git-svn-id: trunk@12196 -
2007-09-27 09:23:06 +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
d8ebcebd22 gtk2 intf: fixed warnings when initializing open/savedialog
git-svn-id: trunk@11684 -
2007-07-31 10:10:49 +00:00
mattias
271ef15e08 gtk2 intf: clean up
git-svn-id: trunk@11559 -
2007-07-17 23:17:09 +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
jesus
d270b16e7d LCL, implemented AppHandle in TWidgetset, fixed issue #9239
git-svn-id: trunk@11479 -
2007-07-12 21:09:00 +00:00
paul
2ea84b6b51 - LCL-default images loading moved from TWidgetSet.LoadStockPixmap to buttons and dialogs units
- updated LCL-default images from silk collection (thanks badphoenix)
- TWidgetSet.LoadStockPixmap extended to return bitmap mask handle (need to use win32 stock icons)
issues: #0008936, #0008937

git-svn-id: trunk@11197 -
2007-05-25 09:13:22 +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
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
mattias
68ad9e2527 gtk2 intf: improved combobox style and items
git-svn-id: trunk@11053 -
2007-05-02 18:33:54 +00:00
mattias
0e395c80ce gtk2 intf: TComboBox: fixed widgets used for events
git-svn-id: trunk@11014 -
2007-04-27 10:58:58 +00:00
paul
79c187d1e2 cleanup
git-svn-id: trunk@10865 -
2007-04-04 07:54:20 +00:00
vincents
1df50a5823 fixed building gtk2 on win64 (I haven't found win64 gtk2 dlls though).
git-svn-id: trunk@10814 -
2007-03-27 13:38:48 +00:00
marc
6737a6ef3d * cursor patch from Paul Ishenin
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos

git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
andrew
5302d4b562 changed lazarus to use the widgetset it is compiled with as the default when building projects
+ added WidgetSetName function to TWidgetSet.
+ changed the order of units on qtint and fpguiint

git-svn-id: trunk@10216 -
2006-11-18 13:45:28 +00:00
micha
ad37c9edfd fix compilation for {$T+}
git-svn-id: trunk@10042 -
2006-10-05 16:55:43 +00:00
vincents
1af28eb5e6 gtk2 interface: use RaiseGDBException
git-svn-id: trunk@9873 -
2006-09-12 19:44:55 +00:00
mattias
31810fcee6 gtk2 intf: GDI fonts are now pango layouts instead of pango font descriptions, using the font cache similar to gtk1
git-svn-id: trunk@9499 -
2006-06-27 11:28:17 +00:00
mattias
486838638b gtk2 intf: fixed TTrackBar, added MergeSort for TFPList and TStrings
git-svn-id: trunk@9471 -
2006-06-22 01:54:58 +00:00
mattias
0138b73a5a gtk2/gtk1 intf: improved TextOut with size and color from Darek
git-svn-id: trunk@9263 -
2006-05-13 08:25:27 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00