paul
65417e2d6d
carbon: draw down(=checked) flat speedbuttons
...
git-svn-id: trunk@12517 -
2007-10-19 00:07:06 +00:00
paul
7c58c3e26b
carbon: draw mixed and checked state of buttons (radio and checkbox)
...
git-svn-id: trunk@12516 -
2007-10-18 23:41:32 +00:00
tombo
1a9ab26796
Carbon intf: TSynEdit fixed textout, improved scrolling
...
- enhanced clipboard to use more text formats
- TComboBox.OnDropDown and OnCloseUp partial implementation
git-svn-id: trunk@12509 -
2007-10-17 20:00:01 +00:00
mattias
e4a0241fcb
Makefiles: removed some fcl dependencies
...
git-svn-id: trunk@12495 -
2007-10-16 22:47:51 +00:00
marc
6201a838de
* resolved #9687 . The width in bytes of an image was calculated wrong when bpp < 8
...
git-svn-id: trunk@12464 -
2007-10-14 18:02:49 +00:00
tombo
af3f55e16f
Carbon intf: completed TClipboard
...
git-svn-id: trunk@12424 -
2007-10-12 15:14:00 +00:00
tombo
0b9b60dd65
Carbon intf: Applied #0009905 : Some entries in the Carbon CursorToThemeCursor array were wrong, and a fix is suggested from James Chandler Jr. (added to Contributors.txt)
...
- implemented #0009889 : Carbon TSaveDialog ignores InitialDir
- fixed #0009888 : Carbon: impossible to have menus with Modal forms
git-svn-id: trunk@12409 -
2007-10-10 19:02:13 +00:00
tombo
b96d6a2a15
Carbon intf: started implementation of TClipboard - pasting text is working
...
- fixed Cursor changing for TControl
- fixed SetForegroundWindow
git-svn-id: trunk@12380 -
2007-10-08 11:25:00 +00:00
tombo
697e09d161
Carbon intf: fixed #0009686 : Carbon TPanel.color ingored
...
- fixed #0009801 Carbon TScrollBar calls OnScroll inappropriately
- flat speed buttons do not draw its border
- improved theme content rect
git-svn-id: trunk@12349 -
2007-10-06 14:58:29 +00:00
tombo
4fc95f2b20
Carbon intf: fixed #0009732 : Carbon SpinEdit accepts return key
...
- fixed #0009688 : Carbon OpenDialog.Filter is ignored...
- fixed #0009716 : Carbon TSpinEdit active area is to the RIGHT of the component.
- removed DrawFrameControl from Carbon - use base implementation
git-svn-id: trunk@12332 -
2007-10-05 13:22:48 +00:00
sekelsenmat
ea7c9a28a9
Moved the minimum necessary types and constants from commctrl to lcltype to allow compilation of gtk, gtk2, carbon and qt.
...
git-svn-id: trunk@12321 -
2007-10-04 19:39:15 +00:00
tombo
ce78835f46
Carbon: updated README.txt
...
git-svn-id: trunk@12309 -
2007-10-04 09:43:18 +00:00
tombo
0dc2093687
Carbon intf: fix monochromatic bitmaps
...
git-svn-id: trunk@12155 -
2007-09-24 07:13:19 +00:00
tombo
82944ea49d
Carbon intf: fixed bugs #0009713 : Carbon Form.Show does not bring already displayed window to front and #0009714 : Carbon menuitem remains active after selecting Form.show
...
git-svn-id: trunk@12107 -
2007-09-21 09:12:19 +00:00
tombo
a750c30815
Carbon intf: fixed #0009656 : Carbon TSpinEdit Spinners do not generate 'OnChange' event
...
git-svn-id: trunk@12021 -
2007-09-13 13:23:16 +00:00
tombo
31336d1110
Carbon intf.: fixed bug #0009409 : Carbon Widgetset: Radio TMenuItem does not update
...
git-svn-id: trunk@12007 -
2007-09-12 11:02:01 +00:00
tombo
a41d43cb80
Carbon intf: added FontPanel headers from Free Pascal 2.1.4 to allow 2.0.4 compilation
...
git-svn-id: trunk@11987 -
2007-09-10 11:27:25 +00:00
tombo
5efbc8540f
Carbon intf: fixed invalid CGRect conversion with help from Tobias Giesen
...
git-svn-id: trunk@11968 -
2007-09-08 16:28:05 +00:00
tombo
97024d8fc5
Carbon intf: partially implemented TFontDialog
...
git-svn-id: trunk@11949 -
2007-09-06 12:29:06 +00:00
tombo
f488c6af5e
Carbon intf:
...
- improved custom control focusing
- fixed visibility in IDE designer
- improved file dialog filtering using masks
LCL masks: added TParseStringList for parsing mask lists
git-svn-id: trunk@11944 -
2007-09-05 11:38:47 +00:00
tombo
6d207da78e
Carbon intf:
...
- fixed setting root menu
- working: TArrow, TPairSplitter
git-svn-id: trunk@11936 -
2007-09-04 11:31:47 +00:00
tombo
0c6910d00f
Carbon intf:
...
- Fixed text metrics is now rounded instead of truncated as suggested by Phil J. Hess
- GetTextExtent accepts empty strings and returns zero size
- scrolling should now partially work!!!, implemented TScrollingWinControl.ScrollBy
- force 32-bit bitmaps to allow supported context creation
git-svn-id: trunk@11928 -
2007-09-03 12:16:24 +00:00
tombo
f8b9b1966c
Carbon inf:
...
- fixed bug #0009410 : Carbon TMainMenu does not reflect currently focused form
- fixed bug #0009409 : Carbon Widgetset: Radio TMenuItem does not update
- fixed bug #0009266 : UTF8 conversion problem with the output of components when using the cabon interace
- applied patch #0009423 : Fix for Carbon custom control keyboard focus from Jonas Maebe, added to Contributors.txt
- corrected DefaultBitmap and CGBitmapContext creation
- fixed ExtTextOut origin with rotated font
- fixed FindCarbonFontID, implemented Get/SetWindowOrgEx from Phil J. Hess
git-svn-id: trunk@11915 -
2007-09-02 15:00:10 +00:00
vincents
13ad7cf3a2
carbon widgetset: fixed compilation
...
git-svn-id: trunk@11880 -
2007-08-29 19:17:57 +00:00
paul
abe113718c
- move TWidgetset.GetListBoxXXX to TWSCustomListBox.GetXXX (where XXX in [GetIndexAtY, GetItemRect]) *untested on Carbon and wince*
...
- implement GetIndexAtY and GetItemRect for TQtWsListBox
git-svn-id: trunk@11875 -
2007-08-28 17:44:28 +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
marc
6f46409e23
* fixed fileselection for a 2nd time
...
git-svn-id: trunk@11853 -
2007-08-23 21:41:16 +00:00
paul
187f84e25e
typo
...
git-svn-id: trunk@11688 -
2007-07-31 14:52:54 +00:00
sekelsenmat
599b947018
Fixed ExtTextOut on Carbon to be able to fill a background area.
...
git-svn-id: trunk@11470 -
2007-07-12 10:37:49 +00:00
paul
c4eda87b12
- Distinct TCustomForm.Position poScreenCenter and poDesktopCenter. ScreenCenter uses sizes of primary Screen but DesktopCenter whole desktop size.
...
- reimplement QT GetSystemMetrics for SM_CXSCREEN, SM_CYSCREEN and move old method to SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN
git-svn-id: trunk@11450 -
2007-07-09 12:50:20 +00:00
paul
962d6f164c
- crNone cursor for gtk and carbon (issue #8962 )
...
git-svn-id: trunk@11400 -
2007-06-29 08:22:12 +00:00
tombo
84c63ae4dd
Carbon intf:
...
- working: TListBox, TCheckListBox - patch from Giulio Bernardi
- implemented regions
- fixed: font rotation, editing spin edit
- partially implemented OnDropFiles with help of Phil J. Hess
git-svn-id: trunk@11394 -
2007-06-27 15:36:10 +00:00
vincents
c9d897b72c
carbon interface: fixed compilation broking during the TButton move
...
git-svn-id: trunk@11382 -
2007-06-26 12:44:33 +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
tombo
9c17ab1e6f
Carbon intf: implemented setting pixel color of TCanvas
...
git-svn-id: trunk@11322 -
2007-06-14 12:08:41 +00:00
sekelsenmat
ca76f52525
Fixed compilation of the carbon interface with FPC 2.3.x
...
git-svn-id: trunk@11308 -
2007-06-10 18:38:07 +00:00
paul
4512cc87b8
- carbon header painting
...
git-svn-id: trunk@11288 -
2007-06-06 03:24:08 +00:00
tombo
c09bbe5a88
Carbon intf:
...
- implemented ComboBox DropDownList style
- working: T(Float)SpinEdit
- Buttons and Bars moved from CarbonPrivate to separate units
git-svn-id: trunk@11284 -
2007-06-05 13:28:23 +00:00
paul
8fc54eb966
drawing carbon splitter through ThemeServices (with -dUseThemes)
...
git-svn-id: trunk@11235 -
2007-05-31 07:31:16 +00:00
paul
6ab44daa2b
cleanup
...
git-svn-id: trunk@11234 -
2007-05-31 02:09:19 +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
tombo
8d6bdc994f
Carbon intf. Themes: PushButton (used by TSpeedButton or BuildLazDialog) and UserButton style should look like BevelButton
...
git-svn-id: trunk@11183 -
2007-05-23 15:18:24 +00:00
tombo
d07861fb82
Carbon intf:
...
- UserPane replaced by custom HIView
- managing GDI objects selection
- working TSplitter
git-svn-id: trunk@11182 -
2007-05-23 14:25:56 +00:00
paul
2d1bc7a00f
- initial implementation of TCarbonThemeServices (for speedbutton themed painting)
...
git-svn-id: trunk@11171 -
2007-05-21 07:07:56 +00:00
tombo
1d3d886efd
Carbon intf:
...
- improved capturing, TForm.BorderStyle
- fixed mouse pos bug while tracking
- working TSpeedButton
git-svn-id: trunk@11144 -
2007-05-15 11:05:44 +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
tombo
8babe22532
Carbon intf:
...
- memory leak fix: removed ref. counting from registered events, removed events unregistering
- implemented GetCapture
- memory leak fixed in destroying menu items
git-svn-id: trunk@11122 -
2007-05-10 10:47:14 +00:00
tombo
6a51600353
Carbon intf.: improved TSpeedButton look
...
git-svn-id: trunk@11063 -
2007-05-03 12:52:33 +00:00
tombo
dd02769d5f
Carbon intf:
...
- improved TScrollingWinControl
- moved some DbgS to LCLProc
git-svn-id: trunk@11006 -
2007-04-26 11:18:35 +00:00
tombo
cdf272468e
Carbon intf:
...
- fixed TBitBtn.Default bug
- improved TBitBtn.NumGlyphs
- started TScrollingWinControl
git-svn-id: trunk@10996 -
2007-04-24 12:02:32 +00:00