Commit Graph

61 Commits

Author SHA1 Message Date
paul
4e33251c35 bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00
sekelsenmat
2d2a1cb6ff Fixes lcl compilation on win32, initial implementation for TWin32TrayIcon.GetPosition and moved popupnotifier example.
git-svn-id: trunk@14041 -
2008-02-09 12:39:21 +00:00
paul
4db415b23b remove obsoleted splitter drawing code
git-svn-id: trunk@13464 -
2007-12-26 07:09:09 +00:00
marc
425f7eb912 * Start handle rework. Splitup of internal WS referencedata and public widgetsetspecific references (handle/pointer/XID/...)
git-svn-id: trunk@13178 -
2007-12-06 01:17:52 +00:00
sekelsenmat
579e90adec Added initial implementation for BallonHints on the tray, and updated example.
git-svn-id: trunk@12809 -
2007-11-10 10:42:46 +00:00
paul
ff1fe14f18 win32: use TPageControl.GetImageIndex to request ImageIndex for Tab (issue #10008)
git-svn-id: trunk@12756 -
2007-11-06 09:22:44 +00:00
paul
92057d6f41 rename previously introduced method 'GetMouseInteractiveInDesigner' to 'GetDesignInteractive'
git-svn-id: trunk@12620 -
2007-10-28 16:38:49 +00:00
paul
14ee2d706e win32: Partial implementation of TWin32WSCustomPage.UpdateProperties from Anton Kavalenka
git-svn-id: trunk@12583 -
2007-10-25 02:00:46 +00:00
paul
6ccb6125c6 win32(ce): fix deletion of notebook/pagecontrol page by RemovePage
git-svn-id: trunk@12519 -
2007-10-19 11:20:22 +00:00
paul
23c3055c92 win32: fix destroying of TTabSheet - now Tab is also removed from TPageControl (no problem with 'Del' on TTabSheet in win32 form designer)
git-svn-id: trunk@12497 -
2007-10-16 23:19:54 +00:00
paul
946941c1a6 Widgetset: introduce new WSWinControl method GetMouseInteractiveInDesigner to ask control about its needs in mouse messages/events in design time
win32:
- fix PageControl page changing by Tab clicking in designer
- fix PageControl tab switching by arrows (if tab part is selected) and tab focusing by one click instead of two clicks (issue #0008673)

git-svn-id: trunk@12245 -
2007-09-29 16:55:13 +00:00
sekelsenmat
69c6ec9a96 Added gtk2 implementation for TTrayIcon and removed the widgetset implementations of GetCanvas on TTrayIcon.
git-svn-id: trunk@12106 -
2007-09-21 09:10:30 +00:00
sekelsenmat
05240ab420 Added win32 implementation of the trayicon
git-svn-id: trunk@12103 -
2007-09-21 07:07:29 +00:00
paul
1335a9782c Win32: set imagelist and imageindex for TCustomNotebook and pages
git-svn-id: trunk@12085 -
2007-09-20 08:13:55 +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
sekelsenmat
04f56784d8 Implemented unicode support for tab controls under windows.
git-svn-id: trunk@11586 -
2007-07-21 10:00:49 +00:00
paul
8eefc8e23f splitter and pairsplitter improvements:
1. ability to control pairsplitter cursor for gtk
2. ability to control pairsplitter internal splitter cursor for others
3. default values for pairsplitter cursor (crHSplit/crVSplit)
4. painting splitter through themes for win32/xp/gtk2 (disabled through -dUseThemes)
5. Clean up

git-svn-id: trunk@11214 -
2007-05-29 09:19:34 +00:00
paul
554e4107ef - Themes moved to interface section from implementation
- Build lazarus dialogs use ThemeServices to draw buttons (disabled through UseThemes define)

git-svn-id: trunk@11174 -
2007-05-22 06:06:11 +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
paul
6bffe803aa - fixing problems with problems with TNoteBook.TabPosition in win32
- Qt implementation of TabPosition
- Gtk Notebook creating code moving

git-svn-id: trunk@10864 -
2007-04-04 07:39:25 +00:00
vincents
b2dd5fc016 win32 interface: implemented beveled splitter from Jernej (bug #7805)
git-svn-id: trunk@10195 -
2006-11-13 11:46:18 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
micha
3742d8f5be fix notebook page indexing when TabVisible is false for some page
git-svn-id: trunk@9624 -
2006-07-17 18:20:25 +00:00
micha
a269b3613a fix designer problems with hidden tab pages (issue #1700)
git-svn-id: trunk@9563 -
2006-07-05 15:13:20 +00:00
micha
c3e60040cf fix drawing of listview in pagecontrol with winxp themes (issue #1588)
git-svn-id: trunk@9462 -
2006-06-21 15:22:43 +00:00
vincents
b8ef0bd35b add class method modifier to the implementation of class methods (fixes fpc 2.1.1 compilation)
git-svn-id: trunk@9366 -
2006-05-27 20:30:46 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
d9e9f1570f win64 fixes (from peter, modified)
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +00:00
micha
d6a3529e61 do not adjust size of pages that have no widget yet
git-svn-id: trunk@8241 -
2005-11-29 21:46:37 +00:00
micha
ba14a3e41f do not focus new control if notebook does not already have focus (issue #1455)
git-svn-id: trunk@8195 -
2005-11-19 14:46:58 +00:00
micha
f7e93438b5 fix resizing notebook pages when adding all pages, which is, when setting showtabs property to true (fixes bug #1075)
git-svn-id: trunk@8040 -
2005-11-02 20:43:17 +00:00
mattias
da78e6e7a4 implemented TSplitter.Beveled for gtk intf
git-svn-id: trunk@8031 -
2005-11-02 09:10:52 +00:00
mattias
865377a667 fixed win32 compilation
git-svn-id: trunk@7887 -
2005-10-02 12:15:51 +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
micha
4d1f460836 split up implementation of ResizeChild
git-svn-id: trunk@7371 -
2005-07-18 13:49:54 +00:00
micha
ad04037248 move GetNotebookTabIndexAtPos to the widgetset interface
implement it for win32 widgetset (fixes bug #669)

git-svn-id: trunk@7046 -
2005-03-31 21:29:45 +00:00
micha
93a367254f send notify message when changing the switching pages
git-svn-id: trunk@6768 -
2005-02-07 20:39:30 +00:00
vincents
4da758ff04 force handle creation before showing page contents
git-svn-id: trunk@6541 -
2005-01-11 13:51:17 +00:00
mattias
f8d3853f8c fixed loading no unit at start
git-svn-id: trunk@6527 -
2005-01-09 23:28:18 +00:00
micha
9a6dc5eb4a move taborder and tabstop to twincontrol
git-svn-id: trunk@6509 -
2005-01-08 14:23:56 +00:00
micha
b63e712b19 swap TCustomStaticText and TCustomLabel
git-svn-id: trunk@6500 -
2005-01-07 20:51:11 +00:00
micha
4db025c0fc can only setfocus if canfocus
git-svn-id: trunk@6480 -
2005-01-04 14:22:21 +00:00
micha
70367efb37 set focus to a control on the newly focussed tabpage of a notebook (fixes bug #501)
git-svn-id: trunk@6422 -
2004-12-27 12:08:54 +00:00
micha
34d6e4286a fix clientrect in tnotebook (fixes #476 and #488)
git-svn-id: trunk@6401 -
2004-12-21 11:46:28 +00:00
micha
8be1fd35e2 fix crash on showing tabpage
fix painting of radiobutton in groupbox (non-tabpage-parent)

git-svn-id: trunk@6177 -
2004-10-29 09:52:08 +00:00
micha
cfbcf45a59 convert GetProp and SetProp usage to one Atom pointing to a record of fields
git-svn-id: trunk@6175 -
2004-10-28 21:00:56 +00:00
micha
d5427c9574 experiment: use CS_SAVEBITS class style on tabpages to reduce flickering
git-svn-id: trunk@6169 -
2004-10-28 07:43:29 +00:00
micha
84c8159e94 fix winxp theming for tabcontrols (shaded background)
git-svn-id: trunk@6167 -
2004-10-27 20:58:58 +00:00
vincents
6d113f393b fix fpc 1.0.10 compilation, it can't pick the correct overloaded function.
git-svn-id: trunk@6165 -
2004-10-27 07:47:00 +00:00
micha
42b95dd1c7 fix bordericons initialization
fix setting tab page caption (win32)

git-svn-id: trunk@6162 -
2004-10-25 14:35:14 +00:00