Commit Graph

810 Commits

Author SHA1 Message Date
zeljko
3d77cd4d3c Gtk2: fix for listbox itemindex. fixes #15784
git-svn-id: trunk@23966 -
2010-03-12 15:13:57 +00:00
zeljko
3b8ff2f3ba Gtk2: do not ignore fsStayOnTop for borderless forms. fixes #15953
git-svn-id: trunk@23965 -
2010-03-12 14:56:33 +00:00
zeljko
44afccc3c4 Gtk2: fixed TGtk2WSCustomListView.ColumnGetWidth() returning value (get_width() is wrong and not in sync with fixed_width. fixes #15852
git-svn-id: trunk@23964 -
2010-03-12 11:26:38 +00:00
zeljko
3bd8a20b34 Gtk2: AlignToGtkAlign() moved from gtk2wscomctrls to gtkproc for reusing.Status bar labels alignment rework - fixed #14790.
git-svn-id: trunk@23963 -
2010-03-12 10:25:01 +00:00
zeljko
599776e2f2 Gtk2: fixed TGtk2WSCustomListView.ColumnSetAlignment(). fix for #15853
git-svn-id: trunk@23961 -
2010-03-12 09:40:36 +00:00
mattias
37a024507a gtk2 intf: implemented fsStayOnTop for other BorderStyles than bsNone, bug #8988
git-svn-id: trunk@23946 -
2010-03-11 16:10:01 +00:00
mattias
874b22249a LCL: made NewAutoSize default, added -dOldAutoSize
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
zeljko
b6218b0cd8 Gtk2: introduced RectFromGdkRect(), GdkRectFromRect() moved from gtkthemes to gtkproc. Fixed wrong result in TGtk2WSCustomListView.ItemDisplayRect() because TGdkRectangle isn't same like TRect.
git-svn-id: trunk@23927 -
2010-03-10 18:37:59 +00:00
blikblum
3a1ec8cac1 gtk2: initialize inner_border property to nil. Bug #15949
git-svn-id: trunk@23925 -
2010-03-10 17:11:29 +00:00
zeljko
4bafb78e75 gtk2: changed local variables names inside my latest patch
git-svn-id: trunk@23924 -
2010-03-10 16:49:06 +00:00
zeljko
7962b7d3ab Gtk2: implemented TGtk2WSCustomListView.ItemDisplayRect(). fixes #13933.
git-svn-id: trunk@23923 -
2010-03-10 16:38:23 +00:00
mattias
b4dee09450 gtk2 intf: groupbox: use default frame border until style initialized
git-svn-id: trunk@23850 -
2010-03-06 22:35:55 +00:00
mattias
510d76765c gtk2 intf: set ExceptionMask exZeroDivide,exInvalidOp, bug #15840
git-svn-id: trunk@23804 -
2010-02-28 21:38:40 +00:00
paul
6265a0532d gtk: implement TCustomForm.PopupParent
git-svn-id: trunk@23739 -
2010-02-19 07:22:18 +00:00
paul
b9baabfc09 gtk2: redo clearing of listbox selection (fixes bug #0015627)
git-svn-id: trunk@23695 -
2010-02-12 02:22:04 +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
paul
b24bd8f15d gtk2: implement TWsCustomForm.SetAlphaBlend
git-svn-id: trunk@23568 -
2010-01-27 08:34:20 +00:00
paul
6d7f51a1b3 lcl: fix progress bar division by zero error by Aleksey Lagunov
git-svn-id: trunk@23493 -
2010-01-20 01:27:10 +00:00
paul
7f5f2e5540 lcl: remove remain ver2_0 code
git-svn-id: trunk@23394 -
2010-01-06 17:43:33 +00:00
marc
eacdf95a0f * gtk2: remove unnecesary begin/endupdate & other cleanup
git-svn-id: trunk@23348 -
2010-01-02 18:59:39 +00:00
marc
56ade4e781 * GTK2: Return correct inserion index into gtkliststore when an object is added to a sorted TSrings. Fixes #11942. Based on patch by A. Schneider
git-svn-id: trunk@23347 -
2010-01-02 18:37:36 +00:00
marc
b7391553c7 * Code Reformatted, was part of fix for 11942, but comitted separately
git-svn-id: trunk@23346 -
2010-01-02 18:09:34 +00:00
mattias
0d69aed5e2 gtk2 intf: fixed crash in TGtk2ThemeServices.GetStockImage
git-svn-id: trunk@23171 -
2009-12-17 23:27:38 +00:00
paul
98f9a52bdf gtk2: fix copyright header
git-svn-id: trunk@23152 -
2009-12-17 04:05:26 +00:00
paul
a6f105cb3f gtk2: fix copyright header
git-svn-id: trunk@23151 -
2009-12-17 01:45:41 +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
mattias
6cc37ddac3 gtk2 intf: added style-after event - no implementation yet
git-svn-id: trunk@23085 -
2009-12-11 19:58:30 +00:00
mattias
38e5fefe4a gtk2 intf: fsUnderline, from Ts. Petrov, bug #15237
git-svn-id: trunk@23038 -
2009-12-08 19:30:42 +00:00
mattias
2d5f135ee2 gtk2 intf: centering label on button, from Luiz, bug #8765
git-svn-id: trunk@23028 -
2009-12-08 12:38:50 +00:00
mattias
aa8954efd5 gtk intf: clean up
git-svn-id: trunk@23011 -
2009-12-07 10:52:39 +00:00
andrew
04240b2cb9 * Fixed crash with new treemodel
git-svn-id: trunk@22947 -
2009-12-03 20:23:49 +00:00
andrew
e49b42439b * gtk2 Listview now uses custom GtktreeModel that gets it's data directly from TListItems. Old behavior can be restored by compiling lcl with -dUseOrigTreeModel
git-svn-id: trunk@22945 -
2009-12-03 16:15:31 +00:00
paul
fa717236dc gtk2: virtual listview support
git-svn-id: trunk@22789 -
2009-11-26 08:12:37 +00:00
paul
69a20b9e3c lcl: fix issues files for gtk and gtk2 (widgetset names were mixed)
git-svn-id: trunk@22730 -
2009-11-24 03:33:03 +00:00
paul
964dd239b9 lcl: add TCustomEdit.HideSelection, publish it for TEdit, TMemo (requested by Marco van de Voort)
git-svn-id: trunk@22729 -
2009-11-24 03:29:11 +00:00
paul
3ffefcb95c gtk2: speedup listview items insertion
git-svn-id: trunk@22666 -
2009-11-18 03:45:24 +00:00
paul
47879f9a9e gtk2: speedup combobox items insertion
git-svn-id: trunk@22664 -
2009-11-18 03:00:58 +00:00
paul
5dd027e518 gtk2: show button images depend on system options
git-svn-id: trunk@22613 -
2009-11-16 04:41:44 +00:00
martin
09023a487e GTK2 ScrollWindowEx: added checks for nil, possible issue #15074
git-svn-id: trunk@22565 -
2009-11-13 10:12:14 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
vincents
b7949e3454 gtk2 widgetset: fixed typo in comment
git-svn-id: trunk@22071 -
2009-10-08 07:33:24 +00:00
mattias
5f5e0ff648 LCL: renamed TBaseOwnerDrawState to TOwnerDrawState
git-svn-id: trunk@21657 -
2009-09-11 22:05:53 +00:00
vincents
a1f53fabc8 fixed typo in r21599 #c8a5a6f6f2
git-svn-id: trunk@21600 -
2009-09-07 11:53:03 +00:00
vincents
c8a5a6f6f2 gtk2: added missing linklib for darwin, workaround for fpc 2.2.4, newer versions should be fixed in fpc/packages/gtk2 (issue #14518)
git-svn-id: trunk@21599 -
2009-09-07 11:10:54 +00:00
mattias
ee7a5a1f0f gtk1+2 intf: limit Gtk2RangeScrollCB to maximum
git-svn-id: trunk@21505 -
2009-08-31 20:21:50 +00:00
mattias
b52f66dabc codetools: renamepublishedvariable: skip .identifier, bug #13823
git-svn-id: trunk@21476 -
2009-08-28 11:08:30 +00:00
mattias
0f47af48bc gtk2 intf: fixed stopping wheel message when handled by LCL
git-svn-id: trunk@21421 -
2009-08-23 12:47:08 +00:00
mattias
30ca64725e gtk2 intf: clean up
git-svn-id: trunk@21369 -
2009-08-20 19:00:38 +00:00
mattias
bac4495e45 gtk2 intf: checklistbox: using glib types
git-svn-id: trunk@21368 -
2009-08-20 18:58:00 +00:00
mattias
44b0022d65 gtk2 added verbosity
git-svn-id: trunk@21367 -
2009-08-20 18:36:05 +00:00
mattias
e2f8e9d673 gtk2 intf: fixed trying to set enter/leave signals for combobox button if it is a cellview
git-svn-id: trunk@21362 -
2009-08-20 17:45:00 +00:00
mattias
4e41553208 gtk2 intf: calendar: implemented GetPreferredSize
git-svn-id: trunk@21202 -
2009-08-12 15:43:30 +00:00
mattias
1c5875ccfe gtk2 intf: removed auto mouse capture on mouse btn press fixing X locks with modal forms, LCL: fixed some typos
git-svn-id: trunk@21198 -
2009-08-12 14:04:52 +00:00
martin
aa1e9cf44b Gtk2: Tweak ScrollWindowEx (used by SynEdit vertical scrolling), apparently gdk_window_move_region does not always invalidate the "scrolled-in" area. See issue #14297
Fixed added invalidation, if no previous invalidation did exist

git-svn-id: trunk@21149 -
2009-08-09 21:04:11 +00:00
martin
1dd3dbe142 Gtk2: Tweak ScrollWindowEx (used by SynEdit vertical scrolling), apparently gdk_window_move_region does not always invalidate the "scrolled-in" area. See issue #14297
git-svn-id: trunk@21148 -
2009-08-09 19:21:00 +00:00
vincents
8b7dbf4939 LCL: moved the creation of interface specific TCustomMemo.Lines from CreateHandle to InitializeWnd, so that Lines are interfaces specific in TCustomEdit.CreateWnd, a proper fix for r21115 #2a16a46258
git-svn-id: trunk@21116 -
2009-08-06 10:21:33 +00:00
vincents
2a16a46258 gtk2 interface: temporarily disabled Memo.SelStart and SelLength if the memo strings are not yet created, even if an handle exists.
git-svn-id: trunk@21115 -
2009-08-06 09:54:27 +00:00
vincents
03d39fc728 gtk2 widgetset: fixed showing selection in combobox after setting the color, hint from Paul who did the same thing in r21027 #11435c4016 for TEdit, fixes issue #14270
git-svn-id: trunk@21102 -
2009-08-05 09:22:47 +00:00
mattias
684200b7bd gtk2 intf: added example to test paint speed
git-svn-id: trunk@21096 -
2009-08-04 14:51:59 +00:00
paul
d644759b08 gtk2: fix TCalendar destruction
git-svn-id: trunk@20905 -
2009-07-20 11:32:25 +00:00
paul
405bc268f5 gtk, gtk2: handle situations when popup menu has been inserted into main menu submenu (remaining part of issue #0014144)
git-svn-id: trunk@20862 -
2009-07-15 07:31:18 +00:00
paul
93bdc30f72 gtk2: handle 'show-help' widget signal for WhatsThis (shift+F1) help type (currently only Application.OnHelp event is executed)
git-svn-id: trunk@20832 -
2009-07-11 10:30:58 +00:00
jesus
f6920f782e Printers, added TPrinter.FileName property, based on patch from mtournay, issue #13718
git-svn-id: trunk@20805 -
2009-07-07 05:09:52 +00:00
paul
fe32ac3be3 gtk2: reduce listview debug output
git-svn-id: trunk@20785 -
2009-07-02 13:48:39 +00:00
paul
b3be50f764 gtk2: use queued SelLength if available (issue #0014065)
git-svn-id: trunk@20768 -
2009-06-30 08:11:13 +00:00
paul
449eaab03a gtk2: fix issue #0014030 "Deiconifying a maximized window does not change WindowState" (based on patch of cobines)
git-svn-id: trunk@20716 -
2009-06-23 01:52:04 +00:00
martin
f510b1631f GTK2: Fix scrolling for mouse with horizontal wheel, issue #13997
git-svn-id: trunk@20673 -
2009-06-19 20:43:06 +00:00
jesus
47b8c987cb LCL, fix a couple gtk2 combobox mem leaks
git-svn-id: trunk@20586 -
2009-06-11 20:12:02 +00:00
paul
00b1b0bbb3 gtk2: implement color changing for TListView and TListBox (issue #0013914)
git-svn-id: trunk@20454 -
2009-06-05 17:19:11 +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
3c4f8ff042 gtk: don't apply SubstractScroll for gtk1 widgetset
git-svn-id: trunk@20428 -
2009-06-05 09:20:11 +00:00
paul
393c3eea5f gtk: formatting
git-svn-id: trunk@20425 -
2009-06-05 08:40:43 +00:00
paul
72c3e1a908 gtk2: don't use GtkFrame for TScrollingWinControl since GtkScrolledWindow can draw shadow itself (fixes also #0013892)
git-svn-id: trunk@20365 -
2009-06-03 01:45:21 +00:00
mattias
338ebe97d4 gtk2 intf: added comment
git-svn-id: trunk@20336 -
2009-06-01 20:16:12 +00:00
mattias
f3ba79012b gtk2 intf: calendar: fixed hang on destroy, when gtk was dragging date
git-svn-id: trunk@20335 -
2009-06-01 19:28:43 +00:00
marc
216a9ab9a2 * Fixed bitmap and icon transparency (ussue #13883)
git-svn-id: trunk@20334 -
2009-06-01 17:58:36 +00:00
mattias
bd573155e3 gtk2 intf: fixed TGtk2WSCustomGroupBox.SetLabel
git-svn-id: trunk@20300 -
2009-05-30 08:27:53 +00:00
paul
f71703d874 gtk2: TGroupBox: don't use GtkLabel for GtkFrame if caption is empty - this way it paints better
git-svn-id: trunk@20289 -
2009-05-29 02:40:37 +00:00
paul
50ad4d8937 gtk: split gtk1 and gtk2 groupbox code
git-svn-id: trunk@20288 -
2009-05-29 02:27:30 +00:00
paul
6cb0aa7f54 gtk2: don't select text in TEdit on focus if AutoSelect = False (issue #0013856)
git-svn-id: trunk@20287 -
2009-05-29 01:08:07 +00:00
paul
8a9fdf48eb gtk2: fix CreateFontIndirect for default font with non-default height (issue #0013851)
git-svn-id: trunk@20286 -
2009-05-28 14:40:17 +00:00
paul
c5b68e067f gtk2: fix TListview.GetItemAtXY (issue #0013845)
git-svn-id: trunk@20272 -
2009-05-28 01:59:30 +00:00
paul
8f1edc879c gtk2: unselect listbox items in multiselect mode when ItemIndex is changed by code
git-svn-id: trunk@20257 -
2009-05-27 08:42:04 +00:00
paul
597eb84d8c lcl: Themes
- redo TThemeServices.GetDetailSize to return TSize instead of Integer
  - improve toolbutton drawing

git-svn-id: trunk@20213 -
2009-05-26 01:32:38 +00:00
mattias
a2f39228ab clean up
git-svn-id: trunk@20212 -
2009-05-25 17:51:57 +00:00
paul
823051d231 gtk2: finish menu change on show menu images option change in gtk2 theme
git-svn-id: trunk@20202 -
2009-05-25 12:03:58 +00:00
paul
c793f725fd gtk2: start application update on show menu images option change
git-svn-id: trunk@20198 -
2009-05-25 09:56:05 +00:00
paul
9edbd4c618 gtk2: remove checkbox from menu item if Image and Check are not needed
git-svn-id: trunk@20195 -
2009-05-25 09:37:04 +00:00
paul
ba4df81b22 gtk2: implement TGtk2ThemeServices.GetOption
git-svn-id: trunk@20190 -
2009-05-25 07:53:33 +00:00
andrew
7d267984d2 Hopefully fixed gtk2 bug where SelLength wouldn't work
git-svn-id: trunk@20178 -
2009-05-24 23:23:45 +00:00
paul
ddc23216ac gtk2: workaround gtk2 filchooser bug - filchooser resets filter if both filename and filter is set and filter has no mime-type (bug #0013803)
git-svn-id: trunk@20174 -
2009-05-24 14:39:51 +00:00
paul
a8544fc87d lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807)
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
d9c7fdad82 gtk: fix setting readonly for TCustomEdit (bug #0013773)
git-svn-id: trunk@20106 -
2009-05-21 13:01:22 +00:00
paul
7d94012801 gtk2: improve TGtk2ThemeServices.GetStockImage
git-svn-id: trunk@20078 -
2009-05-20 12:50:37 +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
mattias
3f95284e56 gtk2 intf: removed gtk1 workaround for TmenuItem check items, bug #13741
git-svn-id: trunk@20049 -
2009-05-19 13:28:26 +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
86563b35e6 gtk2: use same position calculation for LM_CONTEXTMENU as in other widgetsets
git-svn-id: trunk@20021 -
2009-05-18 03:02:54 +00:00
paul
d154466c76 gtk2: handle LM_CONTEXTMENU message triggered by "menu key" press
git-svn-id: trunk@20020 -
2009-05-18 02:56:42 +00:00
paul
98bb8821bd gtk: cleanup
git-svn-id: trunk@20017 -
2009-05-18 01:30:00 +00:00
mattias
6383c1a4a7 gtk2 intf: menu items, radioitem: not send LM_ACTIVATE when unchecking, bug #13733
git-svn-id: trunk@20015 -
2009-05-17 20:03:07 +00:00
jesus
84cead9009 LCL, custom handling of checkbox states (windows, this enables the use of allowgrayed without cbGrayed state, specially useful for dbcheckbox), fix cbGrayed state under gtk2
git-svn-id: trunk@20012 -
2009-05-17 17:00:47 +00:00
paul
f977ee640b lcl: update font on Height change. Change the size only is not correct since LogFont contains lfHeight = Height. fixes bug #0013727
git-svn-id: trunk@20010 -
2009-05-17 13:57:24 +00:00
martin
9a731134fb Gtk2: improving ScrollWindowEx (for SynEdit / issue #7717 )
git-svn-id: trunk@19999 -
2009-05-17 01:34:00 +00:00
paul
32096568a9 gtk2: fix size for default font with changed attributes
git-svn-id: trunk@19968 -
2009-05-15 02:42:58 +00:00
mattias
18fa3ce4ca reduced warnings
git-svn-id: trunk@19952 -
2009-05-13 10:23:19 +00:00
paul
aec9fbec6e gtk2: fix comparition with default font (reported on IRC by Ionic)
git-svn-id: trunk@19917 -
2009-05-11 02:20:08 +00:00
paul
f3dfb636c4 lcl: add new property TBitBtn.GlyphShowMode and new function TBitBtn.CanShowGlyph
git-svn-id: trunk@19909 -
2009-05-10 15:52:24 +00:00
paul
1e2eaeb90e gtk2: reimplement ShowColumn for TListView. fixes issue #0013682
git-svn-id: trunk@19901 -
2009-05-10 07:41:47 +00:00
paul
b28c3ccb18 gtk2: leave a note regards inability to change StatusBar panel bevel
git-svn-id: trunk@19847 -
2009-05-08 07:36:17 +00:00
paul
f249315a45 gtk2: place statusbar widget into GtkEventBox to handle events
git-svn-id: trunk@19845 -
2009-05-08 02:08:27 +00:00
paul
5e07ccb6f5 gtk2: fix gtk warning
git-svn-id: trunk@19829 -
2009-05-07 01:47:34 +00:00
paul
450c0e49db gtk2: fix double destroying of combobox on style change
git-svn-id: trunk@19828 -
2009-05-06 15:01:47 +00:00
mattias
ad180e7e4d gtk2: added flag -dDisableGtk2ScrollWindow
git-svn-id: trunk@19807 -
2009-05-04 20:35:55 +00:00
martin
1312656bf4 Implemented ScrollWindowEx for Gtk2 Widgetset. This improves SynEdit scrolling, Issue #7717
git-svn-id: trunk@19801 -
2009-05-04 14:06:06 +00:00
paul
a460f26890 lcl: add more stock buttons
git-svn-id: trunk@19781 -
2009-05-03 12:58:48 +00:00
paul
fd0b672a54 win32: use bigger shield icon
git-svn-id: trunk@19774 -
2009-05-02 18:25:12 +00:00
paul
7902442395 lcl: add idDialogShield icon
git-svn-id: trunk@19772 -
2009-05-02 17:30:37 +00:00
paul
c92f6641d1 lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
f3bff5ed70 minor formatting
git-svn-id: trunk@19714 -
2009-04-30 16:46:10 +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
c2871390b9 gtk, gtk2: don't skip default font when we assign it to widget or it is imposible to reset font back to default in other case
git-svn-id: trunk@19711 -
2009-04-30 16:04:38 +00:00
paul
02531136a5 gtk2: use more font attributes to determine default font
git-svn-id: trunk@19710 -
2009-04-30 15:44:54 +00:00
paul
4c79bca2f3 gtk2: use another rules to choose whether combobox will have entry or no (fixes issue #0009303)
git-svn-id: trunk@19644 -
2009-04-27 05:29:20 +00:00
paul
66a22b1146 gtk: fix some constants which makes bsDialog forms sizable
git-svn-id: trunk@19582 -
2009-04-23 05:09:24 +00:00
paul
49a493794c gtk, gtk2: initial support for native alpha bitmaps (using pixbuf as storage) tested on windows only
git-svn-id: trunk@19503 -
2009-04-19 09:46:08 +00:00
paul
2ac96eaa20 gtk2: use more stock icons in TGtk2WidgetSet.LoadStockPixmap
git-svn-id: trunk@19456 -
2009-04-16 14:11:36 +00:00
paul
a6dfeecb17 gtk2: use better match stock images for bitbtns
git-svn-id: trunk@19450 -
2009-04-16 07:58:10 +00:00
paul
3897ab3717 gtk2: add UseStatusIcon define and appropriate gtk2 code which uses GtkStatusIcon instead of X capabilities to show TrayIcon (can be used with fpc >= r13008 #a2bedef1b0)
git-svn-id: trunk@19400 -
2009-04-13 06:06:28 +00:00
paul
e496bf630e gtk2: cleanup
git-svn-id: trunk@19395 -
2009-04-13 03:23:45 +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
mattias
bee2f4497e gtk2 intf: implemented TGtk2WSCustomComboBox.CanFocus
git-svn-id: trunk@19275 -
2009-04-07 12:43:38 +00:00
paul
263fa6c078 gtk, gtk2: return workarea for monitor under X
git-svn-id: trunk@19266 -
2009-04-07 06:33:27 +00:00
paul
a75bb49700 lcl: make sure HMONITOR <> 0 for valid monitors
git-svn-id: trunk@19263 -
2009-04-07 04:58:55 +00:00
paul
ddf2b15e66 gtk: implement TMonitor support
git-svn-id: trunk@19260 -
2009-04-07 01:37:50 +00:00
paul
ee3a0e8a21 gtk2: revert occasionally committed change in r19239 #3a19dfff75
git-svn-id: trunk@19252 -
2009-04-06 14:38:06 +00:00
paul
3a19dfff75 lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo

git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
44fa480f4a gtk2: implement image flipping in StretchMaskBlt (part of issue #0013059)
git-svn-id: trunk@19215 -
2009-04-04 12:52:39 +00:00
paul
15bcc80f78 lcl: formatting
git-svn-id: trunk@19174 -
2009-04-01 00:38:03 +00:00
paul
f251f2caf1 gtk2: fix memory leak
git-svn-id: trunk@19165 -
2009-03-31 05:14:02 +00:00
paul
ce9780a7a4 gtk: fix crNo cursor, fix setting cursor to button/bitbtn
git-svn-id: trunk@19161 -
2009-03-31 02:50:34 +00:00
paul
ac0184724f gtk, gtk2, win32: don't call OnChange twice when we change TEdit text (bug #0013102)
gtk2: don't call OnChange more than one time when we change TMemo text

git-svn-id: trunk@19151 -
2009-03-29 09:06:48 +00:00
paul
aa41109af3 gtk2: don't toggle checklistbox on double-click
git-svn-id: trunk@19138 -
2009-03-28 06:52:21 +00:00
paul
3215e2c1d2 qt: start HitTest implementation for calendar
git-svn-id: trunk@19125 -
2009-03-27 03:15:00 +00:00
paul
513040eaed gtk2: implement HitTest for calendar
git-svn-id: trunk@19114 -
2009-03-26 10:17:34 +00:00
paul
3b0c402312 lcl: remove TCalendar.ReadOnly property, add HitTest function
git-svn-id: trunk@19111 -
2009-03-26 07:59:44 +00:00
paul
8ed5064c16 gtk2: implement BorderStyle setting for GtkEntry (TEdit)
git-svn-id: trunk@19038 -
2009-03-20 04:19:23 +00:00
paul
a8c551af68 gtk2: apply TMemo.BorderStyle at widget creation
git-svn-id: trunk@19036 -
2009-03-20 02:09:03 +00:00
jesus
cd1ecbf189 LCL, fix gtk2 opendialog filter selection, issue #13111
git-svn-id: trunk@19026 -
2009-03-18 19:16:49 +00:00
paul
dacdba13ad gtk2: set svn properties
git-svn-id: trunk@19018 -
2009-03-18 08:50:58 +00:00
paul
4ede257fc0 gtk2: fix use of absolute according new fpc 2.3.1 rules
git-svn-id: trunk@18999 -
2009-03-15 09:15:46 +00:00
paul
e11a223825 gtk2: fix typo
git-svn-id: trunk@18979 -
2009-03-13 07:56:50 +00:00
paul
fcaad0729b gtk2: don't fail in DrawTextWithColors if Widget = nil by C Western (part 1 of issue #0013317)
git-svn-id: trunk@18978 -
2009-03-13 06:37:10 +00:00
paul
199d9f563c gtk2: use lfFontName if LongFontName is not set by C Western (part 2 of issue #0013317)
git-svn-id: trunk@18977 -
2009-03-13 06:34:00 +00:00
paul
dd1e90c57b lcl: handle SpinEdit.MinValue = SpinEdit.MaxValue properly (based on patch of Bart Broersma, fixes bug #0013273)
git-svn-id: trunk@18913 -
2009-03-07 18:28:28 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug #0013081)
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +00:00
paul
8bbf2ec14f gtk2: apply TListView.BorderStyle on widget creation (fixes part of bug #0013182)
git-svn-id: trunk@18753 -
2009-02-19 02:24:38 +00:00
paul
9f72e7685a gtk2: don't create checkbox renderer if there are no columns in the ListView (bug #0013181). Thanks theo for patch.
git-svn-id: trunk@18719 -
2009-02-17 02:39:55 +00:00
paul
cef5fc775d gtk, gtk2: port menu item fix to the gtks
git-svn-id: trunk@18583 -
2009-02-05 15:09:11 +00:00
paul
565ee9773a widgetsets: use cLineCaption instead of '-' for menus
wince: port the same fix as for win32 (not tested)

git-svn-id: trunk@18582 -
2009-02-05 15:05:19 +00:00
mattias
26b2693ef7 gtk1+2 intf: key handling: fixed handling result of DeliverMessage, bug #9638
git-svn-id: trunk@18577 -
2009-02-05 10:30:42 +00:00
paul
14a26422f9 lcl: formatting
git-svn-id: trunk@18552 -
2009-02-04 08:03:37 +00:00
paul
b7645a8dce gtk2: fix selection of combobox in the designer (bugs #0012849, #0012824), change combo style in the design time
git-svn-id: trunk@18341 -
2009-01-19 13:15:42 +00:00
paul
2d57bcc934 gtk2: fixed my typo Sensetivity -> Sensitivity
git-svn-id: trunk@18340 -
2009-01-19 11:59:58 +00:00
paul
9777610c5a fix bug #0012850 OnGetItems event is not called, when TComboBox is empty
git-svn-id: trunk@18339 -
2009-01-19 09:47:29 +00:00
paul
22804ba42e gtk2: fix TGtk2WSCustomEdit.SetSelLength (bug #0012991)
git-svn-id: trunk@18338 -
2009-01-19 08:55:35 +00:00
mattias
9624b4108c gtk2: TSpinEdit: fixed deprecated page size
git-svn-id: trunk@18314 -
2009-01-16 19:58:31 +00:00
paul
326ab3f248 gtk2: fix button focusing (bug #0012705)
git-svn-id: trunk@18227 -
2009-01-09 17:48:56 +00:00
paul
aa6305c562 lcl: implement TEdit.Alignment (patch of Zeljan with small mine modifications)
git-svn-id: trunk@18139 -
2009-01-05 18:22:41 +00:00
vincents
7ba4ba7464 gtk2 interface: fixed trayicon compilation on windows from Mazen
git-svn-id: trunk@17888 -
2008-12-22 22:33:21 +00:00
sekelsenmat
2beaaa8625 Patch from Mazen, improves gtk2 trayicon
git-svn-id: trunk@17853 -
2008-12-17 12:43:32 +00:00
jesus
d0c213de66 LCL, fix SelStart for gtk2 that cause typing in wrong order in stringgrid
git-svn-id: trunk@17788 -
2008-12-10 21:31:19 +00:00
andrew
a58d3f7a02 Reverted to revision 17770 #a8e24520cd
git-svn-id: trunk@17773 -
2008-12-09 22:45:22 +00:00
andrew
ee3221683b * Implemented TGtk2WSCustomTrayIcon.ShowBalloonHint
git-svn-id: trunk@17771 -
2008-12-09 21:33:38 +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
andrew
6f3230e340 * Fixed a crash if Listcolumn or ListItem = nil
git-svn-id: trunk@17592 -
2008-11-26 00:32:52 +00:00
andrew
39f84ae546 * a better fix for bug #12695 and some cleanup
git-svn-id: trunk@17555 -
2008-11-23 23:16:36 +00:00
andrew
f05a37586c * fixed obscure bug #12695 where gtk2 listview caused a crash
git-svn-id: trunk@17554 -
2008-11-23 22:32:28 +00:00
andrew
6a71c231ad * Fixed bug #12690
* Removed unused vars

git-svn-id: trunk@17514 -
2008-11-22 14:39:14 +00:00
andrew
af616a4578 * improved the gtk2 listview to not store data twice
* gtk2 listview can now have ownerdrawn items
* gtk2 listview only keeps one copy of a pixbuf per it's imagelist instead of one per item in the listview
* fixed two memory leaks in gtk2 listview
* added method TListItem.GetCheckedInternal

git-svn-id: trunk@17502 -
2008-11-22 03:21:36 +00:00
paul
15a32b5102 gtk2: use less hackish clipboard fix based on patch of Brad Campbell (#0012653)
git-svn-id: trunk@17417 -
2008-11-18 02:31:29 +00:00
andrew
1c61f8a45b Fixed some gtk2 errors when checking if listview items are selected when beginupdate/endupdate is used
git-svn-id: trunk@17410 -
2008-11-17 04:38:23 +00:00
paul
25e9426c10 lcl: MaxLength redo:
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
  - fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
  - fix qt combobox SetLength (was occasional forgotten?)
  - cleanup

git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +00:00
paul
42b8e648ce gtk2: colorDialog changes
- fix wrong argument type of SetColorDialogColor
  - set previous color = current color of the ColorDialog: user can see what colors was when dialog was opened and can return to it at any moment
  - add method SetColorDialogPalette which tells to GtkColorSelectionDialog to show palette frame and sets custom colors to palette

git-svn-id: trunk@17343 -
2008-11-11 15:14:50 +00:00
paul
3910289f27 gtk2: fix range check error by C Western (#0012609)
git-svn-id: trunk@17324 -
2008-11-10 23:56:22 +00:00
paul
6c6dd13642 gtk2: define use of 2.8 version by default
git-svn-id: trunk@17306 -
2008-11-10 04:34:24 +00:00
paul
2e48fd922a gtk2: trial to fix gtk2 clipboard crash
git-svn-id: trunk@17272 -
2008-11-08 09:30:12 +00:00
paul
bc82ee17a1 gtk2: return details size for tree sign
git-svn-id: trunk@17234 -
2008-11-05 09:36:21 +00:00
paul
3b57a81d36 gtk2: implement themed drawing of +/- tree signs
git-svn-id: trunk@17232 -
2008-11-05 04:25:39 +00:00
paul
f681ff6b6f gtk2: disable trackbar if Max >= Min
git-svn-id: trunk@17107 -
2008-10-23 07:41:52 +00:00
paul
57f365b076 gtk2: workaround Min >= Max for TTrackBar
git-svn-id: trunk@17104 -
2008-10-23 01:19:11 +00:00
paul
00a23f0df7 gtk2:
- check for bold stlye when creating a default font
  - set correct default font family

git-svn-id: trunk@17047 -
2008-10-19 03:33:45 +00:00
paul
94618453db gtk2: fix incorrect use of g_list_append
git-svn-id: trunk@17017 -
2008-10-16 06:31:02 +00:00
paul
aef5894c52 gtk2: dont add zero pixbufs to icon list
git-svn-id: trunk@17016 -
2008-10-16 06:06:42 +00:00
paul
06924525ea lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big (#0012401)
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
paul
994b5be33a gtk2: implement GetItemRect for ListBox (and descendants)
git-svn-id: trunk@16834 -
2008-10-02 01:05:56 +00:00
paul
898d951e30 lcl: introduce TListBox.GetItemAtXY, TListBox.GetItemAtY exists for compatibility with existing projects
interfaces: replace TWSCustomListBox.GetIndexAtY by TWSCustomListBox.GetIndexAtXY
win32, wince, qt, carbon: use X coord too
(based on patch of Yuriy Yeroshkin, #0011923)

git-svn-id: trunk@16801 -
2008-09-30 02:15:17 +00:00
paul
f9249c9272 gtk2: use gtk_widget_set_size_request instead of gtk_widget_set_usize since last is deprecated in gtk2
git-svn-id: trunk@16783 -
2008-09-29 05:39:50 +00:00
paul
fa7007bcbb gtk2 (can be merged):
- fix masking in ListView pixbuf creation code
  - fix memory leak in ListView pixbuf creation code

git-svn-id: trunk@16738 -
2008-09-26 02:32:42 +00:00
paul
8ae1d62bbe lcl:
- add more UTF8 string functions (Delete, Insert, LoweCase, UpperCase)
  - revert gtk SelStart, SelLength changes - they are and will return position in Characters
  - fix combobox completion code

git-svn-id: trunk@16478 -
2008-09-08 03:41:32 +00:00