sekelsenmat
2c0cc4c4d4
Reverts the previous removal of TLMouseEvent.State
...
git-svn-id: trunk@33114 -
2011-10-27 18:03:01 +00:00
sekelsenmat
73f0887e09
Fixes bug #20065 . Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
...
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
juha
0928ead547
LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
...
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
dmitry
632db995db
carbon: fix font selection and enumeration bug on OSX 10.6 ( #18273 )
...
git-svn-id: trunk@28824 -
2010-12-27 01:55:27 +00:00
dmitry
4475bded43
carbon: fix font selection
...
git-svn-id: trunk@27254 -
2010-09-02 21:49:33 +00:00
dmitry
dcb7c549f9
carbon: code cleanup
...
git-svn-id: trunk@27170 -
2010-08-23 07:35:36 +00:00
dmitry
b905dfda78
carbon: use ThemeSystemFont instead of ATSU font as default font
...
git-svn-id: trunk@27169 -
2010-08-23 07:01:12 +00:00
dmitry
838897a0b2
carbon: changed creation of global colorspaces from Generic to Device, for color accuracy
...
git-svn-id: trunk@26791 -
2010-07-23 13:38:33 +00:00
dmitry
092b33065c
carbon: reverting bitmap changes
...
git-svn-id: trunk@26362 -
2010-06-30 18:53:04 +00:00
dmitry
0c3d75e534
carbon: force using little-endian image formats, no matter the CPU. (might cause some bugs on ppc)
...
git-svn-id: trunk@26359 -
2010-06-30 17:37:55 +00:00
mattias
2cac19afbe
carbon: fixed compilation for fpc 2.4.0
...
git-svn-id: trunk@23748 -
2010-02-20 12:03:26 +00:00
dmitry
fd03708735
carbon: improved ATSUI font enumeration
...
git-svn-id: trunk@23728 -
2010-02-17 18:10:29 +00:00
dmitry
360d8d8008
carbon: fix for TCarbonControl.SetFont function and non-standard fonts
...
git-svn-id: trunk@22706 -
2009-11-22 17:03:54 +00:00
dmitry
9fee6fe8eb
carbon: implemented Tab hittest for CustomNotebook
...
git-svn-id: trunk@22386 -
2009-11-02 15:21:56 +00:00
sekelsenmat
be5c686379
carbon: Makes Cocoa support active by default and improves menu handling in TTrayIcon
...
git-svn-id: trunk@21531 -
2009-09-01 20:27:18 +00:00
dmitry
06b4501395
added QDStyleToFontStyle function
...
git-svn-id: trunk@20469 -
2009-06-06 11:00:42 +00:00
tombo
dd0f145e7e
LCL carbon: fixed #0011015 : Mac OS X : Ctrl+Shift+/ not allowed as a Short Cut Key combination by slightly modified patch from Dmitry Boyarintsev
...
git-svn-id: trunk@17599 -
2008-11-26 13:24:38 +00:00
tombo
29adec9a88
LCL carbon: changed public to published for ws classes, fixed header comments
...
git-svn-id: trunk@17582 -
2008-11-25 15:00:12 +00:00
tombo
d07defa7df
LCL carbon: fixed 0012572: Clicking on TPanel, TPage etc causes controls to loose focus
...
git-svn-id: trunk@17239 -
2008-11-05 16:28:41 +00:00
tombo
ab81515aa9
LCL Carbon: fixed TCustomForm BorderStyle nad BorderIcons handling in design and run time
...
git-svn-id: trunk@16879 -
2008-10-05 09:22:38 +00:00
tombo
5d76ce8c9a
LCL Carbon: applied slightly modified patch #0012212 : Carbon: smooth button sizing from skalogryyz,
...
and used same approach for more controls
git-svn-id: trunk@16769 -
2008-09-27 12:40:19 +00:00
tombo
d53f365f5e
LCL carbon: fixed range error
...
git-svn-id: trunk@16595 -
2008-09-15 14:51:06 +00:00
tombo
82d37a3e72
LCL carbon: fixed range check error
...
git-svn-id: trunk@16586 -
2008-09-14 09:38:10 +00:00
tombo
789224e558
LCL carbon: TSelectDirectoryDialog - fixed range error
...
git-svn-id: trunk@16484 -
2008-09-08 11:54:19 +00:00
tombo
a4c53780ce
LCL Carbon: removed FPC version ifdef's
...
git-svn-id: trunk@16165 -
2008-08-20 15:14:26 +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
tombo
c5c0d79399
LCL carbon: better line scrolling
...
- added few virtual mac key codes
git-svn-id: trunk@15543 -
2008-06-23 14:41:22 +00:00
vincents
561fbf548c
carbon and cocoa widget set, printers4lazarus: fixed compilation with fpc 2.2.1 and higher
...
git-svn-id: trunk@15310 -
2008-06-04 22:26:25 +00:00
vincents
d6da0cd1a5
carbon and cocoa widget set: fixed compilation with fpc 2.2.1 and higher
...
git-svn-id: trunk@15309 -
2008-06-04 22:12:59 +00:00
tombo
19cdc96e77
IDE carbon: fixed code hints drawing - Canvas.Frame has been filling with current brush
...
git-svn-id: trunk@14457 -
2008-03-07 13:52:33 +00:00
tombo
975886c991
LCL carbon: fixed mouse button handling with help from Alexander Grau
...
git-svn-id: trunk@14324 -
2008-02-29 18:18:59 +00:00
tombo
c35a7a597d
LCL Carbon: allow selecting tabs of TPageControl in designer
...
git-svn-id: trunk@14246 -
2008-02-25 16:16:20 +00:00
sekelsenmat
78d3a22099
Implements screenshot taking on the Carbon widgetset, adds -k-framework -kOpenGL for all Carbon apps as dependency and adds Apple OpenGL bindings to the carbon interface directory.
...
git-svn-id: trunk@14226 -
2008-02-21 22:00:28 +00:00
tombo
646ceb6ee4
Carbon intf: the user can finally select filter in file dialogs
...
git-svn-id: trunk@13300 -
2007-12-12 17:16:26 +00:00
tombo
ef7cdd3f87
Printers4Lazarus: improved Carbon implementation, fixed current printer updating
...
git-svn-id: trunk@13170 -
2007-12-05 19:52:42 +00:00
tombo
7a6627d167
Carbon intf: fixed getting window part
...
git-svn-id: trunk@13103 -
2007-12-01 15:06:29 +00:00
tombo
0bd3bb5ec2
Carbon intf: TCustomListBox improved, started TListView
...
- improved designer painting
git-svn-id: trunk@12783 -
2007-11-08 11:45:39 +00:00
tombo
236ee9a8bb
Carbon intf: implemented TMemo.Alignment
...
* last panel of TStatusBar fills it to right
git-svn-id: trunk@12644 -
2007-10-30 09:50:15 +00:00
tombo
1a9ab26796
Carbon intf: TSynEdit fixed textout, improved scrolling
...
- enhanced clipboard to use more text formats
- TComboBox.OnDropDown and OnCloseUp partial implementation
git-svn-id: trunk@12509 -
2007-10-17 20:00:01 +00:00
tombo
5efbc8540f
Carbon intf: fixed invalid CGRect conversion with help from Tobias Giesen
...
git-svn-id: trunk@11968 -
2007-09-08 16:28:05 +00:00
tombo
97024d8fc5
Carbon intf: partially implemented TFontDialog
...
git-svn-id: trunk@11949 -
2007-09-06 12:29:06 +00:00
tombo
0c6910d00f
Carbon intf:
...
- Fixed text metrics is now rounded instead of truncated as suggested by Phil J. Hess
- GetTextExtent accepts empty strings and returns zero size
- scrolling should now partially work!!!, implemented TScrollingWinControl.ScrollBy
- force 32-bit bitmaps to allow supported context creation
git-svn-id: trunk@11928 -
2007-09-03 12:16:24 +00:00
tombo
f8b9b1966c
Carbon inf:
...
- fixed bug #0009410 : Carbon TMainMenu does not reflect currently focused form
- fixed bug #0009409 : Carbon Widgetset: Radio TMenuItem does not update
- fixed bug #0009266 : UTF8 conversion problem with the output of components when using the cabon interace
- applied patch #0009423 : Fix for Carbon custom control keyboard focus from Jonas Maebe, added to Contributors.txt
- corrected DefaultBitmap and CGBitmapContext creation
- fixed ExtTextOut origin with rotated font
- fixed FindCarbonFontID, implemented Get/SetWindowOrgEx from Phil J. Hess
git-svn-id: trunk@11915 -
2007-09-02 15:00:10 +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
tombo
84c63ae4dd
Carbon intf:
...
- working: TListBox, TCheckListBox - patch from Giulio Bernardi
- implemented regions
- fixed: font rotation, editing spin edit
- partially implemented OnDropFiles with help of Phil J. Hess
git-svn-id: trunk@11394 -
2007-06-27 15:36:10 +00:00
tombo
c09bbe5a88
Carbon intf:
...
- implemented ComboBox DropDownList style
- working: T(Float)SpinEdit
- Buttons and Bars moved from CarbonPrivate to separate units
git-svn-id: trunk@11284 -
2007-06-05 13:28:23 +00:00
tombo
8babe22532
Carbon intf:
...
- memory leak fix: removed ref. counting from registered events, removed events unregistering
- implemented GetCapture
- memory leak fixed in destroying menu items
git-svn-id: trunk@11122 -
2007-05-10 10:47:14 +00:00
tombo
6a51600353
Carbon intf.: improved TSpeedButton look
...
git-svn-id: trunk@11063 -
2007-05-03 12:52:33 +00:00
tombo
dd02769d5f
Carbon intf:
...
- improved TScrollingWinControl
- moved some DbgS to LCLProc
git-svn-id: trunk@11006 -
2007-04-26 11:18:35 +00:00