Commit Graph

105 Commits

Author SHA1 Message Date
zeljan1
34844aa934 LCL: SetDeviceScaleRatio renamed to SetCanvasScaleFactor. 2025-01-09 09:21:59 +01:00
zeljan1
4510285762 LCL: changed SetDeviceScaleRatio HGDIOBJ param to HDC to be inline with cocoa abilities. 2025-01-02 12:08:47 +01:00
zeljan1
065994a7d1 LCL, Qt5, Qt6: renamed SetBitmapScaleRatio to SetDeviceScaleRatio with HGDIOBJ as param. 2025-01-01 17:44:46 +01:00
zeljan1
1aed29d27c LCL: added TWidgetSet.SetBitmapScaleRatio, needed by issue #41299 2024-12-31 20:07:05 +01:00
Maxim Ganetsky
f0eb9b849d IDE, LCL: Lazarus help output refactoring by n7800, issue #40690:
1. The text has been slightly corrected and made more uniform.
2. The parameters are sorted in some logical order, starting with the more "global" ones. A long list of values for debugging is located at the end. Now all parameters are visible at once, without scrolling.
3. Indentations fixed.
4. The list of values for the --skip-checks parameter is listed in a column, similar to the values for the --debug-enable parameter. This is easier to read and does not create a very long line, which is visible in the screenshot.
5. The "LCL Interface specific options:" header is displayed only if such parameters exist.
6. Changed max line length to a more standard 80.
7. Help output has been moved in a nested function.
8. Removed unused code.
2024-01-20 05:04:42 +03:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
juha
d4256b2fe5 LCL: Remove function IntfSendsUTF8KeyPress. Was deprecated in 2011.
git-svn-id: trunk@64467 -
2021-02-05 11:28:18 +00:00
juha
b46b72fb2b LCL: Remove deprecated function FontCanUTF8. All widgetsets returned True, including GTK(2) and QT(5). Not implementing it caused bugs.
git-svn-id: trunk@62425 -
2019-12-20 17:45:44 +00:00
martin
c3fff83320 Clipboard: fix trailing null issue for gtk2. Issue #0021453
git-svn-id: trunk@58530 -
2018-07-15 10:23:43 +00:00
sekelsenmat
5d06fc87a9 customdrawn: Implements minimally functional popup menu and combobox item selection
git-svn-id: trunk@48908 -
2015-04-30 08:34:13 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
sekelsenmat
e155bfca39 Reimplements the cdintf control special case as a LCLIntf function, to be more conformant to the way of working for the LCL
git-svn-id: trunk@39475 -
2012-12-07 15:55:54 +00:00
mattias
06b31d577e lcl: fixed compilation fpc 2.7.1
git-svn-id: trunk@37592 -
2012-06-08 11:58:00 +00:00
sekelsenmat
179972fb78 Starts TCDComboBox implementation, with a native routine for an eventual native item choose popup/dialog
git-svn-id: trunk@35641 -
2012-03-01 15:30:26 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
sekelsenmat
c532802420 Moves SendNotification to WSControls, moves all accessibility types to Controls, starts changing TTreeView to use selected text changed messages instead of child objects. TTreeView accessibility not yet working in Carbon
git-svn-id: trunk@34769 -
2012-01-18 08:29:35 +00:00
sekelsenmat
b3a3ec2fb9 Rearchitectures LazAccessibility_SetFields in order to support TControl
git-svn-id: trunk@34688 -
2012-01-09 18:05:00 +00:00
sekelsenmat
5b98ba7981 Upgrades the Accessibility structure to support roles, name, description and more easily extensible notifications
git-svn-id: trunk@34678 -
2012-01-09 13:25:26 +00:00
sekelsenmat
45beb7cd01 Starts Accessibility API structure and adds a routine to detect if we are on a mobile platform
git-svn-id: trunk@34656 -
2012-01-08 10:05:55 +00:00
sekelsenmat
fdc8606135 Adds Accelerometer stopping in Android (and to the general structure) and starts implementing SMS sending
git-svn-id: trunk@34486 -
2011-12-29 00:24:15 +00:00
sekelsenmat
58dd4a7960 Changes the accelerometer interface to better fit the Android and iPhone APIs
git-svn-id: trunk@34476 -
2011-12-28 19:51:44 +00:00
sekelsenmat
3f997f3ffd Finishes the basic skeleton for position info, accelerometer and messaging, now it includes the lclintf skeleton
git-svn-id: trunk@34467 -
2011-12-28 10:43:25 +00:00
sekelsenmat
89dd7c918b Fixes bug #20195: Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
sekelsenmat
cf2403a126 Adds LCLIntf functions for conveniently obtaining a native form Handle or a native Canvas Handle from the LCL
git-svn-id: trunk@34358 -
2011-12-21 20:13:07 +00:00
mattias
37c57a6bf4 LCL: less warnings
git-svn-id: trunk@34285 -
2011-12-19 17:15:25 +00:00
paul
10f142445b lcl: Remove RaiseLastOsError dummy proc. It is already implemented by RTL
git-svn-id: trunk@30279 -
2011-04-13 08:37:17 +00:00
paul
ab02ee49aa lcl: redo QuestionDialog buttons usage, move buttons to outer class for use in widgetsets
win32: implement QuestionDialog for Vista+ systems

git-svn-id: trunk@28448 -
2010-11-24 10:12:28 +00:00
paul
d34e4eb1c0 lcl: add a possibility to override QuestionDlg in widgetset
git-svn-id: trunk@28445 -
2010-11-24 08:16:34 +00:00
paul
b17733e749 lcl: minor formatting
git-svn-id: trunk@26767 -
2010-07-22 02:07:50 +00:00
paul
fe54310b0f lcl: introduce new widgetset functions for rubberband creation and moving, implement them for win32, qt and gtk2
git-svn-id: trunk@26446 -
2010-07-03 15:25:36 +00:00
paul
88d281329b lcl: remove TWidgetset.DrawArrow which got a TArrow control and TCanvas as arguments, move some implementations to TWSArrow classes
git-svn-id: trunk@23626 -
2010-02-04 04:06:00 +00:00
marc
09afd58849 * lcl: removed OldRawImageProcs (they weren't enabled anyway)
git-svn-id: trunk@23389 -
2010-01-05 23:05:59 +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
paul
00ec699a6e lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
48e060d9f7 lcl: MainMenu refactoring and other menu changes:
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
  - TMainMenu.WindowHandle is introduced for delphi compatibility
  - Don't show a main menu for the bsDialog windows (delphi compatibility)
  - Explicitly request MainMenu to notify form about destruction

git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
paul
dca985f3e8 gtk: fix Frame3D drawing on the designer canvas
git-svn-id: trunk@21623 -
2009-09-08 13:39:43 +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
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
vincents
5745ce4a7c LCL: reverted change of r11317 #a7e79f00ce: now the application title is only the default caption of the mtCustom messages (issue #12541)
git-svn-id: trunk@17190 -
2008-11-03 10:28:38 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
b972e96632 * changed QueryDescription out param into var since it is allowed to update the description too (in that case it should be var).
git-svn-id: trunk@15810 -
2008-07-17 22:48:45 +00:00
marc
d43db7b7f3 * Splitup of TBitmap into TRasterImage, TCustomBitmap, TFPImageBitmap and TBitmap
* Implemented TIcon and reading .ico (including Vista icons)

git-svn-id: trunk@15472 -
2008-06-20 00:21:07 +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
tombo
ae4f87e1ab LCL: added IsDesignerDC to LCLIntf
git-svn-id: trunk@14017 -
2008-02-07 18:19:32 +00:00
tombo
f013d19da8 IDE designer: boosted paint grid
git-svn-id: trunk@13997 -
2008-02-06 12:39:13 +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
1c8516a77f move code from DefaultDockImage to new LCLinf method DrawDefaultDockImage and add Erase parameter (reason: not all widgetset supports on screen drawing and pen ROPs like XOR)
git-svn-id: trunk@13607 -
2008-01-03 14:19:54 +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
marc
04b4e27b62 * Implemented basic alpha support
* Implemented LCL side of imagelist
* restructured rawimage to more OO

Merged revisions 11289-11617 via svnmerge from 
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl

........
  r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
  
  private branch for bitmap rework
........
  r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
  
  * Initial linux and win32 implementation
........
  r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
  
  - fix compilation with fpc 2.3.1
  - remove unneded code for converting cursor mask
  - enabled loading of standard windows status icons instead of LCL
........
  r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
  
  - some bugs with mask and alpha
........
  r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
  
  * force alpha channel when PNG has alpha
........
  r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
  
  - fix black rectangles instead of manu item images
........
  r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
  
  formatting
........
  r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
  
  * Added alpha premultiply
  * Published Colorbox selection property
........
  r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
  
  misc
........
  r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
  
  * start with carbon
........
  r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
  
  - BitBtn glyph transparency
........
  r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
  
  - problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
  r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - More LCL way of painting images through ThemeServices
........
  r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - ability to override bitbtn glyph to nothing
........
  r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
  
  painting headercontrol images through ThemeServices
........
  r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
  
  fixing painting of 32bpp bitmaps with no Alpha
........
  r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
  
  missed file
........
  r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
  
  - revert previous commit
  - create 24bpp bitmaps by default
........
  r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
  
  * Added Alpha support on Carbon
  * Simplified win32 rawimage_fromdevice
........
  r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
  
  - adopt gtk2 code
........
  r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
  
  make gtk2 work
........
  r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
  
  - default WS imagelist implementation
........
  r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
  
  * Implemented MaskBlit
........
  r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
  
  draw new imagelist bitmap on widget canvas
........
  r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  * Rawimage rework
........
  r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  + Added header
........
  r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
  r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * added
........
  r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  + added header
........
  r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * Added alpha/masked strechblt support
........
  r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * create DIBSection instead of DIBitmap
........
  r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  * Fixed transparentcolor after loading bitmap
........
  r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  - Removed ARGB dataconversion, internal format is by default the same now
........
  r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
  
  * changed TRawImage into object
........
  r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init
  - change imagelist defines to use old imagelist (new is crashes ide)
  - change TWin32ThemeServices to use old imagelist
........
  r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
  - change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
  r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
  r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation on 2.0.4
........
  r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation
........
  r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed fillchar on TRawImage object
........
  r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * fixed crash when object has vmt
........
  r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * Made TRawimage compatible with record again
........
  r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * enabled newimagelist
........
  r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * fixed font
........

git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
vincents
296e81dda3 LCL: raise exception if bitmap is not completely written to disk (bug #8260)
git-svn-id: trunk@11392 -
2007-06-27 11:01:23 +00:00