Commit Graph

46 Commits

Author SHA1 Message Date
martin
8510d36eaf LCL: TScrollBox, remove unnecessary Invalidate on Windows. Issue #0026087 Move Invalidate in WS code for all other WS
git-svn-id: trunk@44840 -
2014-04-28 20:17:56 +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
mattias
1e015d492b carbon: clean up
git-svn-id: trunk@37007 -
2012-04-24 10:58:37 +00:00
mattias
41130b9523 carbon: clean up
git-svn-id: trunk@37006 -
2012-04-24 10:51:14 +00:00
zeljko
abdba4431a Qt,Gtk2,Carbon: do not try to show form as non-modal over modal if lcl parent is assigned.
git-svn-id: trunk@36177 -
2012-03-20 12:45:30 +00:00
zeljko
b5d7fea0d3 Carbon: removed todo and comments, because it's fixed
git-svn-id: trunk@36092 -
2012-03-16 15:07:14 +00:00
zeljko
d8321930a2 Carbon: implemented showing non-modal over modal form as sheet. issue #21459
git-svn-id: trunk@36091 -
2012-03-16 15:02:36 +00:00
zeljko
6d93bd06bb Carbon: implemented wsFullScreen. issue #19522
git-svn-id: trunk@31554 -
2011-07-04 10:28:06 +00:00
dmitry
dc60c4d504 carbon: modified CarbonWSForm handle creation to use CreateParams for PopupParent
git-svn-id: trunk@27247 -
2010-09-01 20:11:57 +00:00
dmitry
75a6fecb66 carbon: initial implementation of PopupParent (docs required)! bug #16883
git-svn-id: trunk@27233 -
2010-08-29 15:44:02 +00:00
dmitry
ec0d005b0e carbon: fix processing of the initial Form's WindowState
git-svn-id: trunk@26220 -
2010-06-21 06:32:33 +00:00
dmitry
f3c468d0f5 carbon: using WindowGroups instead of WindowClass for switching between FormStyles
git-svn-id: trunk@25744 -
2010-05-29 05:36:31 +00:00
dmitry
a02a463fb7 carbon: implemented change of FormStyle in runtime
git-svn-id: trunk@25743 -
2010-05-29 05:11:05 +00:00
dmitry
a7752848bf carbon: update TWSCustomForm.SetAlphaBlend implementation
git-svn-id: trunk@23567 -
2010-01-27 08:17:16 +00:00
dmitry
bbf658b1c9 carbon: TWSCustomForm.SetAlphaBlend implementation
git-svn-id: trunk@23564 -
2010-01-27 07:32:45 +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
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +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
a4c53780ce LCL Carbon: removed FPC version ifdef's
git-svn-id: trunk@16165 -
2008-08-20 15:14:26 +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
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
0bd3bb5ec2 Carbon intf: TCustomListBox improved, started TListView
- improved designer painting

git-svn-id: trunk@12783 -
2007-11-08 11:45:39 +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
cdf272468e Carbon intf:
- fixed TBitBtn.Default bug
- improved TBitBtn.NumGlyphs
- started TScrollingWinControl

git-svn-id: trunk@10996 -
2007-04-24 12:02:32 +00:00
tombo
d62398550f Carbon intf:
- removed inline
- fixed MenuItem.Enabled, disabling main menu on show modal
- fixed fsStayOnTop form style

git-svn-id: trunk@10975 -
2007-04-19 12:40:10 +00:00
tombo
6b97b84226 Carbon intf:
- more Carbon call checks, comments
- improved Menus: shortcuts for virtual keys
- finished Notebook
- Application.OnRestore, OnMinimize

git-svn-id: trunk@10958 -
2007-04-17 13:04:18 +00:00
tombo
42e3a3c521 Carbon intf.:
- more Carbon call checks, comments, optimized uses sections
- improved Menus: bitmaps, shortcuts
- improved Notebook

git-svn-id: trunk@10941 -
2007-04-13 12:50:15 +00:00
tombo
e6a93d83e7 Carbon intf:
- generalized PromptUser
- working: TMainMenu, TPopupMenu, Hints, TLabel.AutoSize, DrawText, TPanel
- started: TStatusBar, TNotebook
- pixel accuracy of rectangle, ellipse, lines, enabled anti-aliasing by default
- removed CarbonExtra
- added defines for debugging

git-svn-id: trunk@10895 -
2007-04-06 07:57:01 +00:00
tombo
c44f23e18d Carbon intf:
- patch #0008537 by Philip J. Hess - Adds basic TOpenDialog, TSaveDialog and TSelectDirectoryDialog
- debug and tracing info, OSError for checking Carbon calls as Philip J. Hess proposed
- started TMainMenu, TPopupMenu, Hints
- TabOrder, TabStop, focusing
- TGraphicControl and TCustomControl descendants improved 

git-svn-id: trunk@10828 -
2007-03-29 13:50:41 +00:00
marc
957622e38c * Patch #8526 by Tom Gregorovic: Carbon interface modified to object approach like Qt and other improvements
git-svn-id: trunk@10753 -
2007-03-15 23:52:29 +00:00
marc
c9f940ca40 * patch from Tom Gregorovic
git-svn-id: trunk@10732 -
2007-03-10 00:05:51 +00:00
marc
c771e5361c * Interface improvement from Tom Gregorovic
git-svn-id: trunk@10683 -
2007-02-25 17:35:15 +00:00
vincents
27143c2d74 fixed fpc 2.1.1 compilation
git-svn-id: trunk@10520 -
2007-01-27 20:11:23 +00:00
mattias
4c4aaf8a76 carbon intf: improved fonts, key handling, modal forms from Tom Gregorovic
git-svn-id: trunk@10514 -
2007-01-26 17:54:12 +00:00
marc
340248c821 * Improved keyboard handling patch from Giulio Bernardi
git-svn-id: trunk@10445 -
2007-01-15 00:45:12 +00:00
mattias
67968958f1 carbon intf: implemented GetWindowSize, GetClientRect, critical sections
git-svn-id: trunk@9531 -
2006-06-30 18:52:40 +00:00
marc
5bce373f91 * fixed mousemove/up/down coordinates
git-svn-id: trunk@9466 -
2006-06-21 18:48:48 +00:00
vincents
6492115d91 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9373 -
2006-05-29 12:08:34 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
ce294c63d5 various fixes for carbon
git-svn-id: trunk@8428 -
2006-01-04 00:09:36 +00:00
mattias
b69992a7da fixed fpc source include path for darwin
git-svn-id: trunk@8409 -
2006-01-01 20:44:50 +00:00
mattias
0576aa65d4 fixed releasing mouse capture in gtk intf
git-svn-id: trunk@8286 -
2005-12-10 08:51:59 +00:00
marc
82fb7d047d * Modified patch from Andrew for MouseMove and MouseUp messages
git-svn-id: trunk@7963 -
2005-10-12 22:22:02 +00:00
marc
e4d61ccf4a * Changed to gpc header translations
* Changed to private class hierarchy

git-svn-id: trunk@7900 -
2005-10-03 00:28:50 +00:00
marc
f729c004ac + Added svn keyword property
git-svn-id: trunk@7587 -
2005-08-28 23:56:57 +00:00
marc
765cfa4a41 * Start of the carbon interface
git-svn-id: trunk@7586 -
2005-08-28 23:45:19 +00:00