Commit Graph

228 Commits

Author SHA1 Message Date
sekelsenmat
6a2f27cac2 Patch from bug #17594. Solves compiling Lazarus with the fpc branch fpc-xpcom
git-svn-id: trunk@27667 -
2010-10-12 15:00:44 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
0464afa852 lcl: remove TCustomButton, TButton redeclaration
git-svn-id: trunk@23676 -
2010-02-10 07:45:35 +00:00
paul
2e2fcd58fc lcl: bidi mode support for buttons from Zaher Dirkey (#issue #0014933)
git-svn-id: trunk@22448 -
2009-11-05 14:35:36 +00:00
mattias
4985679568 LCL: TSpeedButton: published AutoSize
git-svn-id: trunk@21432 -
2009-08-24 10:10:37 +00:00
paul
3f5dc06930 lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
695d17aeb1 lcl: TButtonGlyph
- show always in design time and don't react on ShowMode change
  - show always for TSpeedButton

git-svn-id: trunk@19947 -
2009-05-13 02:58:39 +00:00
paul
3005b7d87f lcl: add TApplication.ShowButtonGlyphs property and handle change
git-svn-id: trunk@19938 -
2009-05-12 08:02:36 +00:00
paul
f3dfb636c4 lcl: add new property TBitBtn.GlyphShowMode and new function TBitBtn.CanShowGlyph
git-svn-id: trunk@19909 -
2009-05-10 15:52:24 +00:00
paul
f602e242f8 lcl: add TCustomBitBtn.LoadGlyphFromStock, simplify LoadGlyphFromLazarusResource
git-svn-id: trunk@19789 -
2009-05-04 04:34:39 +00:00
paul
beb1e199bb lcl: add helper function to get stock button and dialog images and captions:
- GetButtonCaption,
  - GetButtonIcon
  - GetDialogCaption
  - GetDialogIcon

git-svn-id: trunk@19784 -
2009-05-03 14:59:50 +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
paul
6e808b8716 lcl: publish missed events for TBitBtn (#issue #0013350)
git-svn-id: trunk@19030 -
2009-03-19 01:33:30 +00:00
paul
0c3dd5eb0e lcl: skip properties which exists in VCL and does not exists in LCL TForm.OldCreateOrder and TBitBtn.Style (part of issue #0001182)
git-svn-id: trunk@18514 -
2009-01-31 11:36:09 +00:00
paul
e04fd0e3a7 lcl: fix enabled handling of speedbutton (it could enter an endless loop before with repaint bugs #0008689, #0012911)
git-svn-id: trunk@18102 -
2009-01-04 11:26:04 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
paul
11fd229957 formatting, cleanup
git-svn-id: trunk@16799 -
2008-09-30 01:46:39 +00:00
paul
fa7ae42825 lcl: add TCustomBitBtn.LoadGlyphFromLazarusResource
git-svn-id: trunk@16648 -
2008-09-19 14:18:30 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
paul
c157756168 lcl: call HandleNeeded before checking of maskhandle when adding bitmap to the imagelist (fixes #0011692)
git-svn-id: trunk@16011 -
2008-08-09 16:40:07 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
e90a4cab8b * fixed transparency of speedbutton glyph (issue #11571)
git-svn-id: trunk@15668 -
2008-07-03 23:47:36 +00:00
paul
1843642237 lcl: rearrange some class fields as suggested by Luiz to reduce occupied memory
git-svn-id: trunk@15201 -
2008-05-22 02:10:13 +00:00
vincents
3d2bb7d1e3 LCL: published ParentFont property for TBitBtn, TPage and TNotebook (issue #11307)
git-svn-id: trunk@15181 -
2008-05-19 13:06:20 +00:00
marc
c81003eefa * Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file

git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +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
paul
7c484cc832 implement drawing different state images (Up, Down, Disabled, Hot) for gtk1/gtk2 bitbtns
git-svn-id: trunk@13331 -
2007-12-14 17:53:50 +00:00
paul
d27b65a627 ButtonGlyph:
- allow setting bigger glyphcount than 4 (limited by High(TGlyphCount)). current limit is 5
- clear imagelist and imageindexes after glyph change to prevent possible garbage drawing

git-svn-id: trunk@13295 -
2007-12-12 14:19:25 +00:00
paul
e0946dbb84 ButtonGlyphs:
- extend TNumGlyphs - now 1..5
- extend TButtonState - bsHot added
- restore bsExclusive painting
- handling bsHot state
SpeedButtons:
- handle new state bsHot

git-svn-id: trunk@13286 -
2007-12-12 01:57:38 +00:00
paul
4db33cbc97 - remove obsoleted code from TButtonGlyph.Draw
- dont shift speedbutton glyph in down state if it intersects border

git-svn-id: trunk@13164 -
2007-12-05 15:05:29 +00:00
paul
fd3a23fd89 lcl: implement imagelist cache to reduce amount of imagelists for bitbtns and speedbuttons
git-svn-id: trunk@12906 -
2007-11-17 17:08:58 +00:00
paul
38ac66bbd3 - speedup imagelist a bit (thanks to Marc)
- make speedbutton glyph more shiny when mouse over the button

git-svn-id: trunk@12780 -
2007-11-08 09:58:45 +00:00
paul
ee80b0fd46 ImageList:
- InsertBitmap improved to add multiple bitmaps from one big
- GetBitmap extended to get Bitmaps with different effects
- add DrawToDC to win32 imagelist to give ability to draw without TCanvas (having only HDC)

TButtonGlyph:
- use internal imagelist to perform different state drawing of glyph

TBitBtn:
- send ButtonGlyph to widgetset instead of TBitmap to perform different state drawing

git-svn-id: trunk@12779 -
2007-11-08 08:36:03 +00:00
mattias
223e59af66 LCL: fixed AlignControls when ClientRect changes during update, LCL: AutoSize now uses WithThemeSpace as default, gtk1 intf: implemented GetPreferredSize for WithThemeSpace, LCL: changed TButton/TBitBtn.BorderSpacing.InnerBorder from 4 to 0, IDE: removed InnerBorder values from IDE dialogs
git-svn-id: trunk@12615 -
2007-10-28 00:33:23 +00:00
mattias
18fa72e639 LCL: TBitBtn: implemented NumGlyphs from Giuliano Colla
git-svn-id: trunk@12467 -
2007-10-14 22:23:19 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +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
mattias
99e2799127 LCL: TSpeedButton: added PaintBackground
git-svn-id: trunk@11852 -
2007-08-23 20:31:46 +00:00
vincents
2d643365e0 LCL: TCustomSpeedbutton now uses TControl.OnMouseEnter and TControl.OnMouseLeave from Luiz (bug #9399)
git-svn-id: trunk@11775 -
2007-08-10 11:02:39 +00:00
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
vincents
72e8b7d4b3 lcl: if a speedbutton is not part of a group a dblclick is translated to two click events fixes bug #8625
git-svn-id: trunk@11256 -
2007-06-01 17:38:41 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
db807d1a6d LCL: TSpeedButton: fixed Down state during OnClick from Stephano
git-svn-id: trunk@11201 -
2007-05-25 10:23:25 +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
e3c799d085 - fixed bug with themed drawing in buildlazdialog.pas noticed by Vincent (under win2000)
- enabled speedbutton themed drawing (previously was disabled with ifdef)

git-svn-id: trunk@11175 -
2007-05-22 15:46:58 +00:00
paul
dc5845e19a - implement speedbutton theme painting (disabled through define UseThemes now)
git-svn-id: trunk@11163 -
2007-05-18 14:14:13 +00:00
mattias
23019e0308 IDE: added TCustomSpeedButton.OnMouseEnter/Exit from Graeme
git-svn-id: trunk@11034 -
2007-04-29 21:20:09 +00:00
mattias
cfd297adf3 debian package creation script: extended to support amd64, powerpc and sparc from Peter Mugaas
git-svn-id: trunk@11020 -
2007-04-28 18:33:38 +00:00
vincents
395cbb23b9 reverted previous commit, Lazarus uses TSpeedButton.OnDblClick in the component bar
git-svn-id: trunk@10909 -
2007-04-07 11:19:30 +00:00
vincents
81ec2d6fa8 LCL: removed TSpeedButton.OnDblClick (Delphi compatible), fixes bug #8625
git-svn-id: trunk@10908 -
2007-04-07 11:01:54 +00:00
marc
e4deb6932e * made ActiveDefaultButtonChanged naming more consistent with other routines
* added some handle checks

git-svn-id: trunk@10733 -
2007-03-10 02:48:32 +00:00
jesus
ce908d7e72 lcl: added showcaption property to TSpeedButton
git-svn-id: trunk@10721 -
2007-03-08 21:34:11 +00:00
vincents
ba85e84687 LCL: published dragging related properties
patch by: Paul Ishenin

git-svn-id: trunk@10648 -
2007-02-16 08:31:43 +00:00
vincents
ff7a9a5c84 lcl: checkbox and radiobutton have ParentColor is true by default (bug #8284)
git-svn-id: trunk@10614 -
2007-02-08 22:43:23 +00:00
micha
ef8bd1af9f implement calling TSpeedButton.Click for accelerator key (issue #7911, patch by Boguslaw Brandys)
git-svn-id: trunk@10590 -
2007-02-05 17:32:20 +00:00
vincents
7ef1dc90d4 LCL: published T(DB)CheckBox.Color and ParentColor (bug #8185)
git-svn-id: trunk@10540 -
2007-01-30 15:33:39 +00:00
jesus
b56bef2991 moved MouseEnter,MouseLeave from private to protected section for TCustomSpeedButton
git-svn-id: trunk@10355 -
2006-12-28 19:54:18 +00:00
mattias
062208ae24 made TColorButton a TCustomSpeedButton descendant from Tom Gregorovic
git-svn-id: trunk@10161 -
2006-11-02 19:44:07 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
909bde3051 fixed TRadioButton updating sibling buttons, when no handles are created
git-svn-id: trunk@9579 -
2006-07-10 00:31:40 +00:00
mattias
47a7425d7c set button/bitbtn borderspacing.innerborder to 4
git-svn-id: trunk@9335 -
2006-05-22 08:10:49 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
bc2f516a32 now speedbuttons has transparent from Darek
git-svn-id: trunk@9181 -
2006-04-25 16:06:39 +00:00
mattias
96da86f260 published some Font properties, that now works under win32 and gtk1
git-svn-id: trunk@9165 -
2006-04-23 20:22:22 +00:00
mattias
0bf04077bf added gtk TMemo font and color implmentation from Darek
git-svn-id: trunk@9077 -
2006-04-04 19:00:57 +00:00
vincents
36b2299e1a removed TSize from LCLType (fixes issue #1702)
git-svn-id: trunk@8738 -
2006-02-15 22:18:07 +00:00
vincents
c4d786f6cc published NumGlyphs (issue #1412)
git-svn-id: trunk@8118 -
2005-11-09 14:55:43 +00:00
vincents
afe0734734 clean up of fpcadds
git-svn-id: trunk@8101 -
2005-11-07 23:25:45 +00:00
mattias
553243c2a4 clean up
git-svn-id: trunk@7998 -
2005-10-29 16:04:41 +00:00
mattias
912b242bea implemented TBitBtn override GetDefaultBitBtnGlyph
git-svn-id: trunk@7997 -
2005-10-29 15:58:40 +00:00
mattias
06a1976a71 published TSpeedButton.Font
git-svn-id: trunk@7870 -
2005-10-01 00:38:24 +00:00
mattias
aac6d79b71 TBitBtn now calls AdjustSize on change
git-svn-id: trunk@7748 -
2005-09-19 22:07:12 +00:00
mattias
620a533b3c published TButton.Color
git-svn-id: trunk@7627 -
2005-09-04 23:28:33 +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
vincents
7ecd5dbcf0 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
mattias
88b387c76e published TBitBtn.AutoSize
git-svn-id: trunk@7288 -
2005-06-25 16:38:47 +00:00
mattias
a7b16d2f92 started TButtonActionLink
git-svn-id: trunk@7125 -
2005-05-02 09:17:08 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
micha
8355126972 update speedbutton state if Enabled changed (fixes bug #735)
git-svn-id: trunk@7100 -
2005-04-24 13:42:04 +00:00
micha
fbb495bee3 implement active default control switching
pressing return key executes active default control action

git-svn-id: trunk@7080 -
2005-04-17 18:41:15 +00:00
mattias
a4f497026b fixed ambigious with ambiguous
git-svn-id: trunk@7011 -
2005-03-23 10:45:06 +00:00
marc
cc648ec617 * Delphi compat, TButton.Click is public
git-svn-id: trunk@6978 -
2005-03-18 01:18:44 +00:00
mattias
0b4faac301 various Delphi compatibilities from C Western
git-svn-id: trunk@6910 -
2005-03-07 00:52:51 +00:00
mattias
7d8b514be9 moved LCL navigation key handling to key up, so that interface has the chance to handle keys
git-svn-id: trunk@6815 -
2005-02-19 21:54:08 +00:00
mattias
2329bedca6 published TButton.OnMouseEnter/Leave, added lcl test for single button
git-svn-id: trunk@6810 -
2005-02-19 17:52:56 +00:00
mattias
f91a0b7b97 fixed loading TSpeedButton.Down from Yoyong
git-svn-id: trunk@6775 -
2005-02-09 11:25:19 +00:00
vincents
8e64bd00ae fixed fpc 1.0.x compilation
git-svn-id: trunk@6773 -
2005-02-08 21:46:23 +00:00
mattias
87c170a682 fixed several dialogs to react on esacpe
git-svn-id: trunk@6582 -
2005-01-14 00:27:05 +00:00
micha
4d130c0508 implement transparency (actually, non-transparency)
git-svn-id: trunk@6481 -
2005-01-04 14:23:37 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
mattias
d9f87ef6eb updatepofiles is now case sensitive,
replaced many places, where Application was needlessly Owner
updated po files, started Configure IDE Install Package dialog,
implemented removing double file package links

git-svn-id: trunk@6388 -
2004-12-18 10:20:22 +00:00
mattias
b00a14bfc5 published TSpeedButton.OnDoubleClick
git-svn-id: trunk@6369 -
2004-12-12 23:40:55 +00:00
mattias
d5177800f0 codeexplorer: using lower recursive depth
git-svn-id: trunk@6139 -
2004-10-15 13:28:22 +00:00
mattias
8f32b28a3f calling updating notebook tab after realize, needed for close btns
git-svn-id: trunk@6138 -
2004-10-15 12:04:09 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00