Commit Graph

165 Commits

Author SHA1 Message Date
paul
f81a7b073a lcl: native resource support:
- add implementation for LoadFromResourceName and LoadFromResourceID for TIcon and TCursorImage
  - try loading icon from native resource if appropriate lrs resource is not available

git-svn-id: trunk@23290 -
2009-12-26 15:10:14 +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
jesus
1ab6860b98 LCL, added metrics to fix grid's auto scrollbar issue #14799
git-svn-id: trunk@22535 -
2009-11-11 20:59:23 +00:00
paul
f2a0736314 lcl: change binary raster operations constants to be the same for windows and other systems
git-svn-id: trunk@22124 -
2009-10-13 00:54:56 +00:00
mattias
5f5e0ff648 LCL: renamed TBaseOwnerDrawState to TOwnerDrawState
git-svn-id: trunk@21657 -
2009-09-11 22:05:53 +00:00
paul
70b464b507 lcl: remove ICC_ constants from the LCLType unit
win32: register more comctrl classes

git-svn-id: trunk@21548 -
2009-09-03 03:18:31 +00:00
paul
e93e11b149 lcl: add an ability to select cleartype fonts on windows.
qt: add support for cleartype font requests

git-svn-id: trunk@20907 -
2009-07-20 14:19:09 +00:00
paul
9afd4bf495 lcl: declare THelpInfo structure
git-svn-id: trunk@20825 -
2009-07-11 08:33:37 +00:00
paul
077b9c0616 lcl: fonts:
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
  - replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848

git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
a460f26890 lcl: add more stock buttons
git-svn-id: trunk@19781 -
2009-05-03 12:58:48 +00:00
paul
7902442395 lcl: add idDialogShield icon
git-svn-id: trunk@19772 -
2009-05-02 17:30:37 +00:00
paul
4e17e34447 wince:
- implement monitor search functions,
  - fix calling conventions from stdcall to cdecl where is needed

git-svn-id: trunk@19267 -
2009-04-07 07:30:09 +00:00
paul
99241ad28e lcl: default implementation for monitor search functions
git-svn-id: trunk@19265 -
2009-04-07 06:06:23 +00:00
paul
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
52809ff395 lcl: fix compilation on non-windows systems
git-svn-id: trunk@19242 -
2009-04-06 09:30:35 +00:00
paul
e2075dffd2 win32: fixes for unicode in GetMonitorInfo()
git-svn-id: trunk@19241 -
2009-04-06 09:10:30 +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
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
fca22fcc33 lcl: return CLX colors temporary to allow project compilation (will raise deprecated warning now) and loading forms in ide (though CLX colors will not be listed in the object inspector anymore)
git-svn-id: trunk@17538 -
2008-11-23 10:25:45 +00:00
paul
7c665e0d4c lcl: formatting, cleanup
git-svn-id: trunk@17477 -
2008-11-20 15:09:46 +00:00
paul
ffa494672e lcl: remove CLX colors. They are nowhere defined, nowhere used and nobody wants to support them for years
git-svn-id: trunk@17458 -
2008-11-20 01:53:23 +00:00
paul
8220969ef4 lcl: Colors
- add clMenuBar, clMenuHighlight system colors
 - add pretty names for windows system colors

git-svn-id: trunk@17439 -
2008-11-19 12:20:13 +00:00
paul
f0b96b997f lcl: declare TExtLogPen
qt: return ExtLogPen in GetObject if pen was created by ExtCreatePen

git-svn-id: trunk@17136 -
2008-10-27 08:40:27 +00:00
paul
669af5fc10 ide: add check if TFrame doesnot exits on palette (lcl and ide has been compiled with different frame defines)
git-svn-id: trunk@16086 -
2008-08-16 13:10:28 +00:00
mattias
8759733936 LCL: added ssMeta, scMeta to Shortcuts, carbon: Cmd now sets ssMeta, Ctrl now sets ssCtrl, Alt now sets ssAlt, IDE: changed Mac OS X key mapping scheme
git-svn-id: trunk@15911 -
2008-07-29 21:21:33 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
92bc6dea2c LCL: use TShortcut from the classes unit
git-svn-id: trunk@14768 -
2008-04-06 11:30:19 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
40c9844f59 GetKeyState:
- gtk1, gtk2: implement pressed state for mouse buttons
- qt: return state for X mouse buttons

git-svn-id: trunk@14294 -
2008-02-28 06:07:29 +00:00
paul
4de32f3116 capitalize few windows constants
git-svn-id: trunk@13984 -
2008-02-06 02:27:54 +00:00
paul
18895ffce8 - load forms from fpc resources support (with fpc_resources branch)
git-svn-id: trunk@13794 -
2008-01-19 10:52:56 +00:00
paul
464160182d add missing DFCS_TRANSPARENT const
git-svn-id: trunk@13657 -
2008-01-06 17:31:56 +00:00
marc
39aa9c05e7 * Start of new Icon - bitmap cleanup
git-svn-id: trunk@13624 -
2008-01-05 00:30:10 +00:00
paul
0f9be635f0 - rethink DrawDefaultDockImage: add 3 dock image operation: show, hide and move
- implement qt DrawDefaultDockImage

git-svn-id: trunk@13608 -
2008-01-03 15:39:34 +00:00
paul
21cb1c6901 remove csAlignment and one obsoleted file
git-svn-id: trunk@13471 -
2007-12-26 09:51:30 +00:00
paul
67df237d33 cleanup
git-svn-id: trunk@13463 -
2007-12-26 06:44:51 +00:00
paul
6055944e29 removed some unneeded component styles
git-svn-id: trunk@13460 -
2007-12-26 04:48:15 +00:00
paul
ac89221fef add ability to read TBitmap from resource (windows resource or linux)
git-svn-id: trunk@13309 -
2007-12-13 05:50:56 +00:00
paul
07d4573f3a MulDiv:
- use math rounding instead of bank rounding (by Grzegorz Zakrzewski)
- return -1 if Denominator is 0 (as winapi do)
(issue #0009934)

git-svn-id: trunk@12831 -
2007-11-12 02:15:05 +00:00
paul
f32a11b058 make LCLType.MulDiv more winapi compatible by Grzegorz Zakrzewski (issue #0009934)
git-svn-id: trunk@12816 -
2007-11-10 17:15:00 +00:00
vincents
ea43df7e15 LCL: removed TRTLCtriticalSection, it is provided by the RTL now
git-svn-id: trunk@12390 -
2007-10-09 09:01:00 +00:00
sekelsenmat
ea7c9a28a9 Moved the minimum necessary types and constants from commctrl to lcltype to allow compilation of gtk, gtk2, carbon and qt.
git-svn-id: trunk@12321 -
2007-10-04 19:39:15 +00:00
mattias
63a8c982ad gtk intf: fixed crash on paste for 64 bit
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
923e29b086 LCL reduced some x86_64 warnings
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +00:00
paul
a51377f82d QT:
- correct painting of empty header area through themes
- filling Keys part of Mouse message on MouseMove event (splitter works now)
- remove frame around TCustomControl descendant and implement TQtWSWinControl.SetBorderStyle
LCL:
- add missed mouse buttons: MK_XBUTTON1, MK_XBUTTON2

git-svn-id: trunk@11545 -
2007-07-17 13:18:13 +00:00
paul
c4eda87b12 - Distinct TCustomForm.Position poScreenCenter and poDesktopCenter. ScreenCenter uses sizes of primary Screen but DesktopCenter whole desktop size.
- reimplement QT GetSystemMetrics for SM_CXSCREEN, SM_CYSCREEN and move old method to SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN

git-svn-id: trunk@11450 -
2007-07-09 12:50:20 +00:00
paul
401d81cfc4 - BidiMode patch from Zaher Dirkey (0008996) part 2
git-svn-id: trunk@11409 -
2007-07-02 07:03:42 +00:00
paul
060ce0c803 - draw radio button and checkbox through ThemeServices for win32 (no XP)
git-svn-id: trunk@11252 -
2007-06-01 08:33:54 +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
45cbd18a0c gtk2 intf: fixed TMemo setting echo mode and password char: not suported by TMemo
git-svn-id: trunk@11145 -
2007-05-15 13:49:33 +00:00