Commit Graph

3109 Commits

Author SHA1 Message Date
paul
2ba157cdd9 - removed third argument in calls of FinishComponentCreate
git-svn-id: trunk@10877 -
2007-04-05 05:45:46 +00:00
marc
b681f94950 * Step 1 of the native imagelist implementation
git-svn-id: trunk@10875 -
2007-04-05 00:00:37 +00:00
andrew
578459f760 applied patch from Valdas Janka for bug #8498 to fix pixmap scaling
git-svn-id: trunk@10874 -
2007-04-04 23:02:38 +00:00
vincents
3af8922151 win32 interface: mousepos can get negative value, so use smallint instead of word to store last mouse pos
git-svn-id: trunk@10873 -
2007-04-04 22:05:59 +00:00
vincents
4654108191 win32 interface: fixed range error (HDC: unsigned; WPARAM: signed)
git-svn-id: trunk@10872 -
2007-04-04 20:52:10 +00:00
vincents
737f7e6775 win32 interface: fixed range errors
git-svn-id: trunk@10871 -
2007-04-04 19:40:02 +00:00
mattias
05fa424bb7 gtk2 intf: fixed codetools include paths, fixed double painting
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +00:00
vincents
bf9399bd9d win32 interface: fixed several range errors
git-svn-id: trunk@10869 -
2007-04-04 15:12:31 +00:00
paul
409d3e41fb cleanup
git-svn-id: trunk@10866 -
2007-04-04 08:34:06 +00:00
paul
79c187d1e2 cleanup
git-svn-id: trunk@10865 -
2007-04-04 07:54:20 +00:00
paul
6bffe803aa - fixing problems with problems with TNoteBook.TabPosition in win32
- Qt implementation of TabPosition
- Gtk Notebook creating code moving

git-svn-id: trunk@10864 -
2007-04-04 07:39:25 +00:00
vincents
08761b6cee gtk interface: fixed range errors in underlining short cuts (bug #8602) from Colin Western
git-svn-id: trunk@10861 -
2007-04-03 20:42:46 +00:00
vincents
e1b5b16184 gtk interface: fixed calling TListView.OnColumnClick, removed duplicate code (bug #8298) from Flavio Etrusco
git-svn-id: trunk@10858 -
2007-04-03 19:53:45 +00:00
vincents
9e313b5413 LCL: added AllocateHWnd and implemented it for win32 (bug #8563) from Felipe
git-svn-id: trunk@10856 -
2007-04-03 10:04:06 +00:00
vincents
5043251cbe win32 interface: fixed possible range error
git-svn-id: trunk@10853 -
2007-04-02 20:39:46 +00:00
vincents
122fc6244b win32 interface: fixed possible range error
git-svn-id: trunk@10851 -
2007-04-02 20:30:41 +00:00
vincents
50948b0577 win32 interface: prevent recursion when redirecting a WM_MOUSEWHEEL message
git-svn-id: trunk@10845 -
2007-04-01 20:57:35 +00:00
vincents
a0cd202e73 regenerated makefiles with fpcmake 2.3.1 to include the -Cg flag for x86_64-linux
git-svn-id: trunk@10844 -
2007-04-01 19:38:53 +00:00
micha
ff960a6475 * check whether WM_LCL_SOCK_ASYNC, which is WM_USER, is sent to private application window
git-svn-id: trunk@10843 -
2007-04-01 12:10:19 +00:00
paul
f77c458d61 wince patch from roozbeh (0008373) with modifications:
- this patch implements menus for wince lcl
- partial implementation of cursors
* res and rc files were not added since impossibility of compiling rc file

git-svn-id: trunk@10842 -
2007-04-01 10:21:15 +00:00
micha
61bef86625 * another ugly winxp theming fix; now for trackbars (issue #2013)
git-svn-id: trunk@10839 -
2007-03-31 14:37:42 +00:00
tombo
95ed8a8520 Carbon intf.: forgot to add carbon menus to svn
git-svn-id: trunk@10832 -
2007-03-30 08:16:27 +00:00
paul
adef54eff4 - introduced new win32 compatability function SystemParametersInfo
- added support for parameter SPI_GETWHEELSCROLLLINES in base widgetset class with override in qt widgetset

git-svn-id: trunk@10830 -
2007-03-30 05:58:41 +00:00
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
tombo
c44f23e18d Carbon intf:
- patch #0008537 by Philip J. Hess - Adds basic TOpenDialog, TSaveDialog and TSelectDirectoryDialog
- debug and tracing info, OSError for checking Carbon calls as Philip J. Hess proposed
- started TMainMenu, TPopupMenu, Hints
- TabOrder, TabStop, focusing
- TGraphicControl and TCustomControl descendants improved 

git-svn-id: trunk@10828 -
2007-03-29 13:50:41 +00:00
andrew
12580dd206 Fixed TGtk2WSComboBox.SetFont - Broken since r10238 #e280cbf19f. Notably made the Search Results window in lazarus gtk2 cause an exception and not display
git-svn-id: trunk@10822 -
2007-03-28 18:13:54 +00:00
andrew
0931fdcd4f applied patch from Valdas Jank for bug #8581. correctly detects maximized forms now
git-svn-id: trunk@10821 -
2007-03-28 17:14:29 +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
vincents
85a311aa33 LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468)
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
vincents
8ac2f8b036 win32 interface: fixed several range errors
* create app window without caption, so that GetWindowSize doesn't return a negative size
* prevent usage of uninitialized array similar to r10798 #eaf391320b

git-svn-id: trunk@10810 -
2007-03-26 19:02:29 +00:00
mattias
f107b6226b gtk intf: fixed sending LM_CHAR
git-svn-id: trunk@10803 -
2007-03-26 09:43:02 +00:00
micha
eaf391320b * prevent usage of uninitialized array (found by Vincent)
git-svn-id: trunk@10798 -
2007-03-25 12:38:07 +00:00
micha
45a076d5b7 remove unnecessary units due to r10793 #dfb4fe7303
git-svn-id: trunk@10794 -
2007-03-24 16:24:04 +00:00
micha
dfb4fe7303 replace Add/RemoveSocketEventHandler with simpler win32 specific interface
git-svn-id: trunk@10793 -
2007-03-24 16:17:33 +00:00
paul
7ce330fb4c - removed double freeing
git-svn-id: trunk@10786 -
2007-03-23 01:47:55 +00:00
marc
e4fbd77e28 * cursor improvement
git-svn-id: trunk@10785 -
2007-03-23 01:02:26 +00:00
micha
4a2154935d win32 intf: use rtl unit instead of package, use new Remove method
git-svn-id: trunk@10784 -
2007-03-22 20:54:06 +00:00
micha
c05d288360 initial implementation of gui loop socket event handler (needed for win32 msg loop)
git-svn-id: trunk@10783 -
2007-03-22 20:41:38 +00:00
vincents
27409f3080 gtk interface: made Rectangle winapi compatible (bug #8342)
git-svn-id: trunk@10782 -
2007-03-22 19:10:10 +00:00
paul
aec06c66dd - fixed error in cursor reading previously introduced by me
- fixed cursor creating code in widgetsets

git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
paul
3a609120e4 - new RawImageDescription from Tom. After last commit it works on LE too.
git-svn-id: trunk@10774 -
2007-03-21 02:14:32 +00:00
paul
eb6c6b8985 typo in datasize calculation
git-svn-id: trunk@10770 -
2007-03-20 01:59:52 +00:00
mattias
5969cf4b03 gtk intf: omitting TComboBoxBox LM_CHANGED events during popup
git-svn-id: trunk@10767 -
2007-03-18 23:01:41 +00:00
mattias
407997bc6f gtk intf: TListBox: single selection mode: when selected item is deleted switch to mode SINGLE, when item is selected switch to BROWSE mode, issue #1428
git-svn-id: trunk@10758 -
2007-03-16 14:23:31 +00:00
marc
d50417ed40 * Fixed alphashift
git-svn-id: trunk@10755 -
2007-03-16 08:59:12 +00:00
marc
957622e38c * Patch #8526 by Tom Gregorovic: Carbon interface modified to object approach like Qt and other improvements
git-svn-id: trunk@10753 -
2007-03-15 23:52:29 +00:00
marc
b5df97096a * patch from Paul Ishenin:
1. paritial implemented TCarbonCursor (without custom cursor)
  2. implemented TCarbonWidgetSet [CreateCursor (only stub to TCarbonCursor), CreateStandardCursor, DestroyCursor, SetCursor]
  3. implemented handling control cursors
  todo: custom cursor, but I should look at bitmaps, pixmaps, ... first

git-svn-id: trunk@10751 -
2007-03-14 23:08:14 +00:00
marc
7db0d40c31 * fixed compilation of win32-gtk2 (doesn't run yet)
* fixed use of correct gtk in pairsplitter
* some cleanup

git-svn-id: trunk@10745 -
2007-03-13 23:53:11 +00:00
mattias
769478772a gtk intf: fixed sending keypress event twice
git-svn-id: trunk@10737 -
2007-03-10 22:38:35 +00:00
marc
e4deb6932e * made ActiveDefaultButtonChanged naming more consistent with other routines
* added some handle checks

git-svn-id: trunk@10733 -
2007-03-10 02:48:32 +00:00
marc
c9f940ca40 * patch from Tom Gregorovic
git-svn-id: trunk@10732 -
2007-03-10 00:05:51 +00:00
vincents
e6328c9f67 win32 interface: fixed number of digits in debug output of window handle
git-svn-id: trunk@10729 -
2007-03-09 10:21:55 +00:00
mattias
61700dad67 gtk intf: small optimization as suggested by Luiz
git-svn-id: trunk@10726 -
2007-03-09 00:25:38 +00:00
marc
de4fb4771b * Fixed setting keyinfo flags
git-svn-id: trunk@10724 -
2007-03-08 23:57:13 +00:00
mattias
e77c31ed38 codetools: searching include file of include file in directory of first include file
git-svn-id: trunk@10723 -
2007-03-08 23:35:58 +00:00
vincents
c64b39bc07 win32 interface: implemented Items.BeginUpdate and Items.Capacity for Listbox and Combobox
git-svn-id: trunk@10722 -
2007-03-08 23:02:40 +00:00
marc
7dcb45bc1f * patch for tpairsplitter by Paul Ishenin
git-svn-id: trunk@10712 -
2007-03-06 00:08:35 +00:00
sekelsenmat
5180096267 Patch from Paul Ishenin that implements SM_CXCURSOR and SM_CYCURSOR (GetSystemMetrics) under QT
git-svn-id: trunk@10700 -
2007-02-28 15:22:00 +00:00
marc
61b16d06a0 * resolved gtkprivate name conflict
git-svn-id: trunk@10697 -
2007-02-27 23:17:33 +00:00
marc
72db634567 * fixed properties
git-svn-id: trunk@10696 -
2007-02-27 22:59:02 +00:00
marc
1a3fff15bf * fixed properties
git-svn-id: trunk@10695 -
2007-02-27 22:54:03 +00:00
sekelsenmat
ffb7a7d1a9 Patch from Paul Ishenin to qt interface, plus some modifications from me.
git-svn-id: trunk@10694 -
2007-02-27 18:03:00 +00:00
marc
50cd527148 * Cursor metric patch from Paul Ishenin
git-svn-id: trunk@10693 -
2007-02-26 23:42:56 +00:00
marc
d19b31c06d * Patch from Phil for basic MessageDlg
git-svn-id: trunk@10692 -
2007-02-26 23:32:51 +00:00
vincents
6368fcf727 win32 interface: use GetWindowLongW and SetWindowLongW for UnicodeEnabledOS (bug #8403)
git-svn-id: trunk@10686 -
2007-02-26 19:42:59 +00:00
marc
c771e5361c * Interface improvement from Tom Gregorovic
git-svn-id: trunk@10683 -
2007-02-25 17:35:15 +00:00
marc
231cfe8497 * Fix for 7892 by Paul Ishenin
git-svn-id: trunk@10682 -
2007-02-25 16:53:37 +00:00
marc
932075c34f * Patch from Paul Ishenin (max custom cursor size)
git-svn-id: trunk@10676 -
2007-02-24 15:25:32 +00:00
sekelsenmat
23272ca9b2 Fixes the fix for qt compilation.
git-svn-id: trunk@10675 -
2007-02-23 21:36:07 +00:00
sekelsenmat
2528d9227a Fixes compilation of qt widgetset on 64 bit machines.
git-svn-id: trunk@10674 -
2007-02-23 21:07:47 +00:00
vincents
f8cac4e009 carbon interface: CreateCarbonString creates also a a real CFString for empty string (bug #8385)
git-svn-id: trunk@10672 -
2007-02-23 10:02:50 +00:00
vincents
e8a85989c6 win32 interface: made LCLIntf.Rectangle and TCanvas.Rectangle compatible with Windows.Rectangle winapi function (bug #8342)
git-svn-id: trunk@10665 -
2007-02-20 23:18:34 +00:00
vincents
43b884da81 win32 interface: fix showing contextmenu for listviews (bug #8331)
git-svn-id: trunk@10664 -
2007-02-20 21:57:51 +00:00
vincents
8e0bc658e1 win32 interface: intialize result of LMMouse for wheelscroll message (bug #8363) from Luiz
git-svn-id: trunk@10657 -
2007-02-19 09:26:51 +00:00
vincents
8115e41f0d LCL: ScrollWindow now calls ScrollWindowEx with SW_INVALIDATE flag, fixes bug #8362
git-svn-id: trunk@10656 -
2007-02-19 08:44:42 +00:00
sekelsenmat
25344cd643 Qt Message box implementation by Philip Hess.
git-svn-id: trunk@10653 -
2007-02-18 20:46:46 +00:00
vincents
59a5e3b631 fixed typo in r10650 #f0fd1e16af
git-svn-id: trunk@10651 -
2007-02-17 21:58:36 +00:00
vincents
f0fd1e16af gtk2 interface: added cdecl to external function declaration (8323)
git-svn-id: trunk@10650 -
2007-02-17 21:49:16 +00:00
vincents
1a5943a473 gtk interface: changed crHourglass cursor to GDK_WATCH
git-svn-id: trunk@10646 -
2007-02-15 10:06:33 +00:00
mattias
49242c3818 gtk intf: using default when gdk does not know the physical screen size
git-svn-id: trunk@10642 -
2007-02-14 11:09:42 +00:00
mattias
fee343a469 IDE: codebrowser parses units
git-svn-id: trunk@10639 -
2007-02-13 23:46:29 +00:00
vincents
0e6dcf1dd8 gtk2: fixed compilation for gtk2 on X.
git-svn-id: trunk@10634 -
2007-02-13 21:44:30 +00:00
vincents
3ca65821cd gtk2 interface: fixed compilation for non X based display
git-svn-id: trunk@10633 -
2007-02-13 21:14:51 +00:00
vincents
7261a0378e win32 interface: removed MakeIntResource
git-svn-id: trunk@10632 -
2007-02-13 13:29:35 +00:00
vincents
cbbec503b1 LCL: moved MakeIntResource to the win32 widgetset. It is not used outside the windows widget sets and wince needs a different declaration.
git-svn-id: trunk@10630 -
2007-02-13 10:39:51 +00:00
mattias
5a7ff6537a LCL: Tapplication.CreateForm with out param, cleanups, renamed TCustomPropertyStorage param name Default with DefaultValue from Flávio Etrusco
git-svn-id: trunk@10626 -
2007-02-12 12:40:41 +00:00
sekelsenmat
78205ce402 Improves menu code on qt
git-svn-id: trunk@10622 -
2007-02-11 21:19:12 +00:00
vincents
e4c31c5a09 win32 interfaces: conditionally removed OpenFileName record declaration, it is in fpc 2.1.1 now
git-svn-id: trunk@10617 -
2007-02-09 21:06:36 +00:00
mattias
0362114bc2 gtk intf: added custom mouse cursor images from Marc
git-svn-id: trunk@10616 -
2007-02-09 17:42:52 +00:00
vincents
29fb86d1b8 wince interface: fixed lock in AppProcessMessages from Rozbeh
git-svn-id: trunk@10615 -
2007-02-09 13:32:12 +00:00
marc
d7051338d9 * global cursor patch from Paul Ishenin
* dragcursor fix
! note: setting of the initial default cursor in gtk needs to be looked at, it should set the cursor as defined by the widget, no the default arrow

git-svn-id: trunk@10609 -
2007-02-07 23:31:44 +00:00
vincents
7001d5cf7b lcl: fixed double fire of MouseUp event when using right mouse button under win32 (bug #8276) from Luiz Americo
git-svn-id: trunk@10604 -
2007-02-07 13:21:11 +00:00
vincents
0e74743591 wince interface: several fixes from Roozbeh
* Added comments to lots of methods in winceapih.inc
* Implemented lots of widgetsets methods to call corrosponding winapi.
* Added TTimer.
* Error dialogs now appear.
* Events now working.
* Reverted all changes to make X button close the application: In wince X button should just minimize application,you have to manually add a feature to exit program.
* More stable.

git-svn-id: trunk@10603 -
2007-02-07 13:10:40 +00:00
sekelsenmat
bd436baa2d Small improvements related to trayicon on qt interface and upgrades qt bindings to 1.27
git-svn-id: trunk@10599 -
2007-02-07 05:33: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
mattias
6bd2881a7f win32 intf: fixed compilation
git-svn-id: trunk@10596 -
2007-02-06 00:19:25 +00:00
mattias
2b1083e359 LCL: SetTempCursor is now called on every mouse move, cursors of TControls
git-svn-id: trunk@10595 -
2007-02-05 23:24:03 +00:00
vincents
a655b495c0 win32 interface: store edit maxlength in an integer to prevent range check errors.
git-svn-id: trunk@10593 -
2007-02-05 22:20:35 +00:00
mattias
5afdbd9657 gtk intf: added menu items short cut labels, popup sub menu of menu bar shortcuts
git-svn-id: trunk@10591 -
2007-02-05 19:47:39 +00:00
mattias
c851dfb460 gtk intf: TListBox, TComboBox now use GTK_SELECTION_SINGLE to prevent auto selection by the gtk
git-svn-id: trunk@10584 -
2007-02-05 11:16:07 +00:00