Commit Graph

81 Commits

Author SHA1 Message Date
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
maxim
8309b61dcb Carbon: Correct some typing issues for upcoming FPC 2.7.1 trunk commit, patch by Jonas Maebe, bug #23254
git-svn-id: trunk@39214 -
2012-10-31 22:15:29 +00:00
mattias
23d713f7b5 lcl: carbon: clean up
git-svn-id: trunk@38553 -
2012-09-07 09:25:37 +00:00
mattias
87165c275c carbon: clean up
git-svn-id: trunk@37012 -
2012-04-24 13:18:32 +00:00
mattias
13eb57d802 carbon: clean up
git-svn-id: trunk@37011 -
2012-04-24 12:52:49 +00:00
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