Commit Graph

216 Commits

Author SHA1 Message Date
paul
0e25da3437 cocoa: destroy callback on window destruction, close NSWindow on destruction
git-svn-id: trunk@38961 -
2012-10-03 13:32:38 +00:00
paul
457bb68803 cocoa: fix screen <-> client corrdinate transforms
git-svn-id: trunk@38960 -
2012-10-03 12:55:58 +00:00
paul
ebba8326c6 cocoa: use LCL message loop instead of own
git-svn-id: trunk@38959 -
2012-10-03 12:25:00 +00:00
paul
fd7d0baca4 cocoa: set BorderStyle, BorderIcons on form CreateHandle
git-svn-id: trunk@38957 -
2012-10-03 06:13:38 +00:00
paul
c48efd29bf cocoa: complete implementation of GetDC, ReleaseDC
git-svn-id: trunk@38955 -
2012-10-03 01:38:32 +00:00
paul
8929340e01 cocoa: don't pass Draw event outside the main thread
git-svn-id: trunk@38954 -
2012-10-03 01:38:03 +00:00
paul
983bc213aa cocoa: add Idle observer, notify application when cocoa enters Idle state
git-svn-id: trunk@38944 -
2012-10-02 03:47:58 +00:00
paul
cc9082bfec cocoa: remove wrong usage of interfaces
git-svn-id: trunk@38942 -
2012-10-02 01:12:43 +00:00
paul
aeba29b745 cocoa: cleanup
git-svn-id: trunk@38938 -
2012-10-01 14:07:07 +00:00
paul
d21e04d8f9 cocoa: NSControl should be initialized by initWithFrame
git-svn-id: trunk@38934 -
2012-10-01 08:20:41 +00:00
paul
cbfa6091d1 cocoa: (de)allocate PaintStruct dinamically, cleanup
git-svn-id: trunk@38933 -
2012-10-01 08:17:52 +00:00
paul
d07bc91aef cocoa: change TCocoaContext constructor to accept graphics context, implement GetDC for currently painting views
git-svn-id: trunk@38932 -
2012-10-01 08:16:01 +00:00
paul
5b87a81b7e cocoa: cleanup
git-svn-id: trunk@38931 -
2012-10-01 02:29:26 +00:00
paul
82883bdef1 cocoa: fix view creation
git-svn-id: trunk@38930 -
2012-10-01 02:27:03 +00:00
paul
a2bccb587a cocoa: create only bitmaps which can be used for context creation
git-svn-id: trunk@38929 -
2012-10-01 01:58:08 +00:00
paul
68ef99b929 cocoa: use the same way to get mertrics as for carbon since HiTheme is still supported on 64bit osx and is the only way to query theme metrics
git-svn-id: trunk@38928 -
2012-10-01 01:55:38 +00:00
paul
6129b92d32 cocoa: fix DrawImageRep (apply property before new context creation), fix memory management in TCocoaTextLayout
git-svn-id: trunk@38883 -
2012-09-28 08:37:22 +00:00
paul
9a097510c9 cocoa: initialize NSView before other operations with it, simplify NSRect to rect conversions
git-svn-id: trunk@38881 -
2012-09-28 08:35:18 +00:00
paul
ad804864bd cocoa: move ScreenContext to CocoaGDIObjects, always create it since it is used by any LCL application
git-svn-id: trunk@38880 -
2012-09-28 08:32:38 +00:00
paul
77958ad8a4 cocoa: formatting, cleanup
git-svn-id: trunk@38877 -
2012-09-28 08:23:48 +00:00
paul
aa29f1f739 cocoa: clear strikeout from text layout if font is not striked
git-svn-id: trunk@38859 -
2012-09-27 14:06:04 +00:00
paul
4466415dbd cocoa: fix RGB description
git-svn-id: trunk@38858 -
2012-09-27 13:47:47 +00:00
paul
d8d59de96c cocoa: fix various bitmap drawing problems
git-svn-id: trunk@38856 -
2012-09-27 13:27:22 +00:00
paul
05b660c8dc cocoa: cocoa does not support BGR(A) bitmaps
git-svn-id: trunk@38807 -
2012-09-24 09:17:49 +00:00
paul
81f3d70d82 cocoa: implement CreateCompatibleDC and other Bitmap related implementation
git-svn-id: trunk@38795 -
2012-09-22 06:03:24 +00:00
paul
a3012aeb68 cocoa: fix RawImage_DescriptionFromBitmap
git-svn-id: trunk@38784 -
2012-09-21 12:04:37 +00:00
paul
12a20ff9fa cocoa: fix RestoreDCData
git-svn-id: trunk@38778 -
2012-09-21 09:12:22 +00:00
paul
a0823977cc cocoa: cleanup
git-svn-id: trunk@38777 -
2012-09-21 08:05:26 +00:00
paul
d7554d8ff4 cocoa: port some of carbon changes related to regions, port LPtoDP, LPtoDP
git-svn-id: trunk@38776 -
2012-09-21 07:51:36 +00:00
paul
f38f091b55 cocoa: implement WindowOfs, ViewportOfs
git-svn-id: trunk@38775 -
2012-09-21 07:15:13 +00:00
paul
bc0000f1f4 cocoa: fix range check errors
git-svn-id: trunk@38774 -
2012-09-21 06:47:56 +00:00
paul
b2cc551962 cocoa: implement DX argument for ExtTextOut
git-svn-id: trunk@38649 -
2012-09-14 04:35:23 +00:00
paul
38cd52da7d cocoa: fix ETO_OPAQUE, and BkMode OPAQUE meaning in ExtTextOut
git-svn-id: trunk@38641 -
2012-09-13 12:54:25 +00:00
mattias
bdef003197 LCL: makefiles: compile lcl.pas
git-svn-id: trunk@36679 -
2012-04-09 14:29:34 +00:00
mattias
6b9752807f LCL: updated unit paths in Makefile.compiled
git-svn-id: trunk@36678 -
2012-04-09 13:55:09 +00:00
mattias
07da74130a lcl: updated Makefile.compiled
git-svn-id: trunk@36672 -
2012-04-09 10:14:04 +00:00
mattias
221788591b updated Makefiles
git-svn-id: trunk@36671 -
2012-04-09 10:05:12 +00:00
paul
df6f72a520 lcl, widgetsets: remove IntfSendsUTF8KeyPress from the widgetset interfaces implementation and call GetLCLCapability instead inside the generic function body
git-svn-id: trunk@36446 -
2012-03-30 08:28:34 +00:00
paul
5b803eebe0 cocoa: start implementation of DestroyHandle
git-svn-id: trunk@36442 -
2012-03-30 07:59:58 +00:00
paul
a51b6f1e56 cocoa: return SIZE_FULLSCREEN for fullscreen windows
git-svn-id: trunk@36441 -
2012-03-30 07:59:33 +00:00
paul
d6e2a77af5 lcl:
- replace old SIZENORMAL, SIZEICONINC, ... constants with SIZE_RESTORED, SIZE_MINIMIZED
  - add new SIZE_FULLSCREEN constant to support wsFullScreen state

git-svn-id: trunk@36432 -
2012-03-30 01:05:10 +00:00
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
paul
53979ac243 fix compilation of carbon and cocoa
git-svn-id: trunk@35519 -
2012-02-21 07:07:32 +00:00
paul
bbb4a0f776 lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +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
paul
6e6c4d9600 cocoa: fix memory corruption
git-svn-id: trunk@34916 -
2012-01-25 05:01:31 +00:00
paul
105f704391 cocoa: remove TLastMouseInfo, it is not needed in cocoa
git-svn-id: trunk@34914 -
2012-01-25 01:39:34 +00:00
sekelsenmat
84940a762a Fixes LCL-Cocoa compilation in FPC 2.6
git-svn-id: trunk@34845 -
2012-01-21 16:56:11 +00:00
sekelsenmat
034d195ca9 Advances implementing the WS class for TLazAccessibleObject
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00
paul
76ea22831e cocoa: reimplement form using NSPanel, reimplement modality using form enabling/disabling
git-svn-id: trunk@34706 -
2012-01-11 07:07:25 +00:00