mattias
774703c6a9
lcl: TSpeedButton: implemented AutoSize=true
...
git-svn-id: trunk@34398 -
2011-12-25 00:05:58 +00:00
zeljko
dabae664fe
LCL: TGraphicControl.VisuallyEnabled moved to TControl.IsEnabled, also fixed var naming in some units from IsEnabled to AIsEnabled. issue #20291
...
git-svn-id: trunk@32492 -
2011-09-24 08:20:55 +00:00
zeljko
b21be873d3
LCL: Added TGraphicControl.VisuallyEnabled to track if control is really visually enabled (eg Enabled=True but Parent is disabled) during checking Enabled property inside paint and mouse methods.fixes issue #20247
...
git-svn-id: trunk@32393 -
2011-09-17 19:42:30 +00:00
mattias
e6c4ffc414
IDE: parameter hints: button to add missing parameters
...
git-svn-id: trunk@30730 -
2011-05-14 10:49:08 +00:00
juha
0313811e63
LCL: Exit TCustomSpeedButton.DialogChar silently if Message.Msg <> LM_SYSCHAR.
...
git-svn-id: trunk@29854 -
2011-03-15 15:50:03 +00:00
juha
b2fdcc9693
LCL: Replace Assert with a test and DebugLn. With QT there is a warning in Search when pressing Enter.
...
git-svn-id: trunk@29822 -
2011-03-13 19:14:20 +00:00
juha
01db3bb47c
LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
...
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
mattias
75d084a8ed
LCL: fixed TSpeedButton positioning of glyphs if widgetset has ContentRect
...
git-svn-id: trunk@29172 -
2011-01-23 15:40:43 +00:00
mattias
80476d8a9c
LCL: TSpeedButtnon: fixed center glyph without text
...
git-svn-id: trunk@29155 -
2011-01-21 10:45:47 +00:00
mattias
9e4f448c8f
LCL: TSpeedButton: fixed margin
...
git-svn-id: trunk@29123 -
2011-01-19 12:55:46 +00:00
mattias
c7d2d778a0
LCL: TSpeedButton: started AutoSize, added parameter Drawing to GetGlyphSize and GetTextSize
...
git-svn-id: trunk@29122 -
2011-01-19 12:53:12 +00:00
paul
ec1fc668c9
lcl: TSpeedButton should generate a click event if it changes Down state in spite of csClicked state (fixes issue #0018010 )
...
git-svn-id: trunk@28394 -
2010-11-22 06:15:27 +00:00
paul
a2e75a4b8d
lcl: formatting
...
git-svn-id: trunk@28393 -
2010-11-22 06:13:31 +00:00
paul
d5cb0e2fbe
lcl: redo MouseEnter/MouseLeave notifications:
...
- move application mouse events notification from various message handlers to the WND proc of TWinControl
- don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
- don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715 )
- fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner
git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +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
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
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
4a1309f268
lcl: formatting
...
git-svn-id: trunk@19704 -
2009-04-30 08:04:12 +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
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
0607f55e77
lcl: set down state of speedbutton when button was invoked by accelerator (based on patch of Benito van der Zander #0011826 )
...
git-svn-id: trunk@16815 -
2008-10-01 01:23:17 +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
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
32cf8c515d
lcl: simplify assigning image from action to speedbutton, fix assigning image from action to bitbtn
...
git-svn-id: trunk@15165 -
2008-05-16 08:25:19 +00:00
paul
1acd04eb9a
lcl: dont try to load speedbutton glyph from empty resource name - set bitmap to nil in this case (from alexs)
...
git-svn-id: trunk@14918 -
2008-04-21 13:20:26 +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
6055944e29
removed some unneeded component styles
...
git-svn-id: trunk@13460 -
2007-12-26 04:48:15 +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
2e480eb951
revert speedbutton shift changes
...
git-svn-id: trunk@13165 -
2007-12-05 15:25: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
mattias
9a550b80fd
codetools: FindDeclarationAndOverload now starts at property names, proc names, vars, consts and types
...
git-svn-id: trunk@13006 -
2007-11-24 19:11:42 +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
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
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
sekelsenmat
b0f597385c
Patch from Giuliano Colla. Fixed typo in glyph code.
...
git-svn-id: trunk@11576 -
2007-07-19 09:18:16 +00:00
mattias
a07810628b
gtk1 intf: workaround for gtk bug: if there is a theme engine, ignore area parameter of draw events, fix for bug #1152
...
git-svn-id: trunk@11440 -
2007-07-07 10:21:18 +00:00
mattias
d81144b51a
bug 1152: added debug code
...
git-svn-id: trunk@11437 -
2007-07-06 13:41:29 +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
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
f4c7b1d00a
- more clear definition of painting elements
...
git-svn-id: trunk@11180 -
2007-05-23 06:15:07 +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