Commit Graph

106 Commits

Author SHA1 Message Date
zeljko
c86392f301 LCL: added ASystemTopAlso bool param to TApplication.RemoveStayOnTop & TApplication.RestoreStayOnTop, WS.AppRemoveStayOnTop & WS.AppRestoreStayOnTop, because TApplication.HandleException should normalize all stayontop (app, sys), but app activate/deactivate only fsStayOnTop.
git-svn-id: trunk@25535 -
2010-05-20 10:54:19 +00:00
dmitry
403c0fde87 lcl: implement setting amDontCare mode for TCanvas. The actual value set is based on WS.GetLCLCapability
git-svn-id: trunk@25416 -
2010-05-15 11:32:32 +00:00
paul
6cbcdb2b75 win32: fix modal form showing when stay on top forms are visible (bug #0015636)
git-svn-id: trunk@25138 -
2010-05-02 16:59:54 +00:00
marc
20448170ae + WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
sekelsenmat
839f502c1d Updates LCL Capability constants
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
sekelsenmat
cc2fd37660 Uses constants instead of raw numbers for the result of GetLCLCapacity
git-svn-id: trunk@21281 -
2009-08-18 14:52:56 +00:00
paul
dc4763f6ad lcl: redo HideFormWithStayOnTop with RemoveStayOnTop which is only sets fsNormal instead of fsStayOnTop, add RestoreStayOnTop method. Add AppRemoveStayOnTopFlags, AppRestoreStayOnTopFlags to TWidgetset, implement them on windows (fixes issue #0013953)
git-svn-id: trunk@20580 -
2009-06-11 01:37:06 +00:00
paul
077b9c0616 lcl: fonts:
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
  - replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848

git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
02f8fc163d lcl: add new LCLCapability flag lcDragDockStartOnTitleClick
git-svn-id: trunk@19701 -
2009-04-30 03:22:04 +00:00
paul
6f99c2aab0 lcl: destroy ThemeServices in the TWidgetset.BeforeDestruction method since it can release some gdi objects and some widgetsets (like gtk) stores gdi objects in internal structures and release them in the widgetset destructor
git-svn-id: trunk@19212 -
2009-04-04 09:55:53 +00:00
paul
366e21d328 lcl: add lcModalWindow flag to the TLCLCapatibility enum. Windows has this flag set to 0 and other widgetsets which supports native modal forms to 1 (todo: make wince modal handling the same as on win32)
git-svn-id: trunk@18630 -
2009-02-10 15:06:14 +00:00
paul
fefaf6be1a lcl: implement TApplication.UpdateVisible, add TWidgetset.AppSetVisible (defined only for win32 at moment) (mantis #0010544)
git-svn-id: trunk@18403 -
2009-01-24 10:07:36 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
36ed21e333 lcl: add TCanvas.AntialiasingMode
qt: implement DCSetAntialiasing

git-svn-id: trunk@17392 -
2008-11-14 17:42:56 +00:00
paul
06924525ea lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big (#0012401)
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
tombo
e365c98cca LCL: renamed TWidgetSet.LCLCapabilities to GetLCLCapabilities
- added new capabilities

git-svn-id: trunk@16849 -
2008-10-02 12:51:37 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
ce329d855d lcl: add TWidgetset.AppSetIcon
win32, qt, carbon: implement AppSetIcon

git-svn-id: trunk@15497 -
2008-06-21 12:23:31 +00:00
sekelsenmat
c48bc3eba2 Adds the Cocoa widgetset.
git-svn-id: trunk@14796 -
2008-04-09 23:54:49 +00:00
paul
86f7687fe9 lcl: add Widgetset.LCLCapability function and a set for it with only one member for now lcAsyncProcess
ide: don't use AsyncProcess if widgetset is not capable to handle it (this fixes issues with compiling in qt and gtk2 ide under windows)

git-svn-id: trunk@14710 -
2008-04-01 08:46:13 +00:00
mattias
3b5e8c18da IDE+IDEIntf+LCL: moved LCLPlatformDirNames to LCL interfacebase
git-svn-id: trunk@14469 -
2008-03-08 18:58:36 +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
ecb6afce2f IDE implemented compatibility issues:
- added Issues tab to Object Inspector
- added View/Issue browser
- added new package file type - issue xml file
- added Windows and Carbon LCL issues
- added jump back and forward images
- removed TButton and TBitBtn Color property hiding
- set mime type for package images
- added TLCLPlatforms set

git-svn-id: trunk@14287 -
2008-02-27 16:23:28 +00:00
mattias
8d1b4060a1 LCL: added widgetset NoGUI
git-svn-id: trunk@14139 -
2008-02-15 10:49:38 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
sekelsenmat
9ddb7d42d5 Removed the utf-8 widestring managed.
git-svn-id: trunk@13333 -
2007-12-14 19:01:52 +00:00
sekelsenmat
ba95497e04 Added initial utf-8 widestring manager activated by -dUseUTF8WString
git-svn-id: trunk@13329 -
2007-12-14 13:34:44 +00:00
paul
c828678066 LCL:replace direct call of TXXWidgetset.Create by indirect CreateWidgetset(TXXWidgetset) to move some initialization code from units initialization (from graphics.pp) to that new procedure. This fix memory leaks in lazbuild tool which indirectly uses many lcl units but doesnot work with widgetset.
git-svn-id: trunk@13062 -
2007-11-28 10:03:28 +00:00
tombo
b81ab6be63 LCL Application: help key depends on widgetset
git-svn-id: trunk@12923 -
2007-11-19 14:39:55 +00:00
jesus
d270b16e7d LCL, implemented AppHandle in TWidgetset, fixed issue #9239
git-svn-id: trunk@11479 -
2007-07-12 21:09:00 +00:00
paul
2ea84b6b51 - LCL-default images loading moved from TWidgetSet.LoadStockPixmap to buttons and dialogs units
- updated LCL-default images from silk collection (thanks badphoenix)
- TWidgetSet.LoadStockPixmap extended to return bitmap mask handle (need to use win32 stock icons)
issues: #0008936, #0008937

git-svn-id: trunk@11197 -
2007-05-25 09:13:22 +00:00
paul
e45bc069f0 - initial implementation of lazarus ThemeServices
- win32 calls to Widgetset.ThemesActive redirected to ThemeServices

git-svn-id: trunk@11161 -
2007-05-18 02:18:52 +00:00
vincents
ecaebbe825 + introduced LCLPlatformDisplayNames (used on screen) and LCLPlatformDirNames (used for compilation) to be able show win32/win64 on screen and use the win32 directory
git-svn-id: trunk@11133 -
2007-05-13 14:25:05 +00:00
vincents
9e313b5413 LCL: added AllocateHWnd and implemented it for win32 (bug #8563) from Felipe
git-svn-id: trunk@10856 -
2007-04-03 10:04:06 +00:00
micha
c05d288360 initial implementation of gui loop socket event handler (needed for win32 msg loop)
git-svn-id: trunk@10783 -
2007-03-22 20:41:38 +00:00
vincents
d3748b96c4 LCL + win32 interface: implemented Application.Restore and Application.Minimize + events (bug #1391) from Boguslaw Brandys
git-svn-id: trunk@10265 -
2006-11-30 13:40:34 +00:00
andrew
5302d4b562 changed lazarus to use the widgetset it is compiled with as the default when building projects
+ added WidgetSetName function to TWidgetSet.
+ changed the order of units on qtint and fpguiint

git-svn-id: trunk@10216 -
2006-11-18 13:45:28 +00:00
andrew
fc03d1600d Some 64bit changes for TWS.Create Timer
Fixed gtk2 listbox events
Partially fixed gtk2 painting issues  bug #964
Fixed bug #7067
Gtk2 Opendialogs now use GtkFileChooserDialog
Added a check for the clipboard in case it get stuck in a repeat loop
lclgtkcellrenderer now knows the itemindex to paint correctly

git-svn-id: trunk@10067 -
2006-10-15 13:27:27 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
3c90c0bcc8 added TWidgetSet.AppSetTitle, implemented for TWin32WidgetSet (fixes issue #1758)
git-svn-id: trunk@8804 -
2006-02-23 09:35:39 +00:00
vincents
36b2299e1a removed TSize from LCLType (fixes issue #1702)
git-svn-id: trunk@8738 -
2006-02-15 22:18:07 +00:00
micha
7fffafe910 improve RemoveEventHandler efficiency to O(1), and add SetEventHandlerFlags (gtk/linux only)
git-svn-id: trunk@8458 -
2006-01-06 20:59:57 +00:00
mattias
b89096b887 fixed lcl tests
git-svn-id: trunk@8277 -
2005-12-08 11:41:36 +00:00
micha
003833b777 add cross-platform process termination and pipe event handlers
git-svn-id: trunk@8256 -
2005-12-06 13:41:28 +00:00
mattias
a868189f89 improved smartlinking: unit interfacebase
git-svn-id: trunk@8255 -
2005-12-06 11:31:15 +00:00
micha
c85ee92754 add user data parameter to addeventhandler, that is passed to the given callback
git-svn-id: trunk@8188 -
2005-11-18 18:56:30 +00:00
micha
0cb86ee4af add flags to AddEventHandler, socket and flags to callback
git-svn-id: trunk@8179 -
2005-11-16 19:12:10 +00:00
vincents
afe0734734 clean up of fpcadds
git-svn-id: trunk@8101 -
2005-11-07 23:25:45 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00