Commit Graph

7162 Commits

Author SHA1 Message Date
mattias
b91754876e Makefiles: recreated with fpcmake -Tall
git-svn-id: trunk@12824 -
2007-11-11 12:20:00 +00:00
paul
5eb24ebc04 decapitalize Procedure and Function keywords
git-svn-id: trunk@12821 -
2007-11-11 07:57:41 +00:00
sekelsenmat
69c3702ccf Fixes unicode dialogs crash on win32.
git-svn-id: trunk@12819 -
2007-11-10 19:40:58 +00:00
sekelsenmat
7002561862 Fixes unicode support for win32proc.MeasureText and dialogs on win32.
git-svn-id: trunk@12818 -
2007-11-10 18:15:10 +00:00
paul
79d45194b8 dont draw disabled state image for bitbtn in designer
git-svn-id: trunk@12817 -
2007-11-10 18:01:58 +00:00
paul
f32a11b058 make LCLType.MulDiv more winapi compatible by Grzegorz Zakrzewski (issue #0009934)
git-svn-id: trunk@12816 -
2007-11-10 17:15:00 +00:00
paul
2c862f210c removed TCanvas.Color which only Get and Set TCanvas.Brush.Color (TCanvas.Brush.Color should be used instead)
git-svn-id: trunk@12812 -
2007-11-10 14:23:26 +00:00
sekelsenmat
5b8a949fe8 Fixed unicode support for TStatusBar and TListView under windows.
git-svn-id: trunk@12810 -
2007-11-10 12:27:37 +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
329a78831a TRawImage:
- protect PerformEffect from all formats except desired (prevent potential misuse)
- add one more format for painting glyphs of non themed disabled buttons (1 bit instead of grey)
- draw disabled glyph of non themed button with introduced effect (under win32)

git-svn-id: trunk@12808 -
2007-11-10 09:44:50 +00:00
mattias
9210c88cc5 LCL: anchoring opposite to invisible control now uses the opposite side - more intuitive
git-svn-id: trunk@12800 -
2007-11-09 19:29:14 +00:00
paul
6223cf758e fix adding image to TImageList in case Image.Mask = nil (problem with missed component glyphs under linux must be solved) by Marc with my help
git-svn-id: trunk@12797 -
2007-11-09 17:37:26 +00:00
paul
442741d188 gtk2: memo should have border
git-svn-id: trunk@12796 -
2007-11-09 08:44:44 +00:00
paul
c80a848d46 GetSystemMetrics: added SM_CYSIZEFRAME for gtk and qt
git-svn-id: trunk@12795 -
2007-11-09 08:25:33 +00:00
paul
f1ce28907c Menus:
- improved TMenuItem ImageIndex / Bitmap logic
- draw win32 menus with effects (disabled, selected, normal)

git-svn-id: trunk@12794 -
2007-11-09 06:29:07 +00:00
mattias
2f279ae0fa LCL: fixed ExtractFilenameOnly
git-svn-id: trunk@12792 -
2007-11-08 22:11:36 +00:00
mattias
67c7ca8729 LCL: ExtractFileNameOnly reduced overhead
git-svn-id: trunk@12788 -
2007-11-08 16:32:49 +00:00
paul
4c109d5542 dont add empty bitmap to internal imagelist of TButtonGlyph (issue #0010132)
git-svn-id: trunk@12785 -
2007-11-08 14:54:18 +00:00
paul
74d8740bcc more comments
git-svn-id: trunk@12784 -
2007-11-08 13:09:50 +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
paul
5abd76bf7f use imagelist state drawing by theme services
git-svn-id: trunk@12782 -
2007-11-08 10:26:45 +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
paul
95f6b902b7 toolbutton should not change jump under mouse if it is disabled
git-svn-id: trunk@12778 -
2007-11-08 03:04:36 +00:00
paul
e6be90a770 cleanup
git-svn-id: trunk@12777 -
2007-11-08 02:35:38 +00:00
paul
eb11482eee State image drawing:
- implement TRawImage.PerformEffect
- use TRawImage.PerformEffect for State drawing of win32 imagelist (except disabled drawing in manifested exe - in this case os method used)
- implement state drawing of default imagelist

git-svn-id: trunk@12776 -
2007-11-08 02:32:57 +00:00
mattias
b5643a370c LCL: TToolBar: extended CalculatePreferredSize for height
git-svn-id: trunk@12775 -
2007-11-07 23:14:10 +00:00
mattias
5af932d6f0 LCL: TToolBar: implemented simple heuristic for preferredheight from Paul, and calculating NewWidth,NewHeight of WrapButtons
git-svn-id: trunk@12774 -
2007-11-07 23:10:58 +00:00
mattias
dbf55b433f IDE: started code help hint window
git-svn-id: trunk@12766 -
2007-11-07 17:00:51 +00:00
paul
859fbcbdf6 imagelist:
- extend imagelist interface to draw image with more states
- win32: implement drawing of gray state

git-svn-id: trunk@12765 -
2007-11-07 10:14:05 +00:00
paul
5814f58500 revert previous commit (wrong file commited) and commit right file
git-svn-id: trunk@12764 -
2007-11-07 09:14:58 +00:00
paul
f5f14337fe gtk2: fix 2 ListView mem leaks
git-svn-id: trunk@12762 -
2007-11-07 01:43:16 +00:00
tombo
620ffeb1e7 LCL: make TCustomForm.Show Delphi compatible -> bring form to front and activate it
git-svn-id: trunk@12760 -
2007-11-06 10:15:01 +00:00
paul
4e7a9679ed gtk1/2 change CoreWidget of StaticText to EventBox
git-svn-id: trunk@12759 -
2007-11-06 10:13:43 +00:00
paul
4405e4bfd3 TPageControl: better handling TabVisible under win32 (issue #9996)
git-svn-id: trunk@12757 -
2007-11-06 09:24:34 +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
2bc5188cb4 TListView:
- lcl: better handling of TListItem.Checked
- gtk1/2 implemented TListView.Checkboxes and TListItem.Checked

git-svn-id: trunk@12755 -
2007-11-06 09:20:04 +00:00
paul
f67a4dec0f TStaticText:
- gtk1/gtk2: reimplemented through GtkFrame->GtkEventBox->GtkLabel
- win32: BorderStyle and ShowAccelChar now have effect
- qt: BorderStyle and ShowAccelChar now have effect 

git-svn-id: trunk@12754 -
2007-11-06 09:17:41 +00:00
paul
fd746ab2f9 gtk1/2: implement GetSystemMetrics(SM_CXTHUMB/SM_CYTHUMB)
git-svn-id: trunk@12753 -
2007-11-06 09:11:58 +00:00
paul
d497569f75 gtk: replace write with DbgOut (will not crash non-console windows application)
git-svn-id: trunk@12736 -
2007-11-04 08:25:19 +00:00
mattias
6cf44713b0 carbon intf: undo change to ExtTextOut
git-svn-id: trunk@12728 -
2007-11-03 20:52:29 +00:00
mattias
5e807a544e carbon intf: using fractional text rendering if DX parameter is nil
git-svn-id: trunk@12727 -
2007-11-03 20:13:59 +00:00
mattias
bbf3a6393a images: made vase transparent
git-svn-id: trunk@12724 -
2007-11-03 19:01:50 +00:00
marc
f597c76bad * Disabled automatic mask handle creation
git-svn-id: trunk@12723 -
2007-11-03 18:57:04 +00:00
marc
f745b551ef * Changed TImage.Transparent default to Flase (delphi compatible)
git-svn-id: trunk@12722 -
2007-11-03 18:22:15 +00:00
marc
e2a52c1ccb * Implemented missing TBimap.Mask function
git-svn-id: trunk@12721 -
2007-11-03 17:30:24 +00:00
marc
ecf446c193 * Implemented TBitmap mask creation
git-svn-id: trunk@12719 -
2007-11-03 16:58:59 +00:00
marc
ee3d4895ef * fixed compilation with fpc 2.2 on win64
git-svn-id: trunk@12717 -
2007-11-03 16:49:08 +00:00
mattias
59f3b4944b gtk intf: fixed TGtkWidgetSet.GetControlConstraints
git-svn-id: trunk@12714 -
2007-11-03 13:42:06 +00:00
mattias
22b7128760 LCL: fixing endless loop in win32: TWinControl.IsControlMouseMsg recognizes overlapping TWinControl, but will ignore them
git-svn-id: trunk@12713 -
2007-11-03 10:46:54 +00:00