Commit Graph

312 Commits

Author SHA1 Message Date
paul
2580f132b8 correct few asterisk position in the header
git-svn-id: trunk@18850 -
2009-03-01 05:15:17 +00:00
paul
a15dd3c0ef gtk: replace TGtkWidgetSet.ShowHide(AWinControl) with TGtkWidgetSet.SetVisible(AWinControl, const Bollean)
git-svn-id: trunk@18369 -
2009-01-21 06:38:48 +00:00
mattias
d8ca4194ff gtk2 intf: enabling gtk threading when thread manager is set
git-svn-id: trunk@16475 -
2008-09-07 23:16:18 +00:00
mattias
5e37b07ce5 gtk1+2 intf: made FMessageQueue thread safe
git-svn-id: trunk@16328 -
2008-08-31 11:18:41 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +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
d43db7b7f3 * Splitup of TBitmap into TRasterImage, TCustomBitmap, TFPImageBitmap and TBitmap
* Implemented TIcon and reading .ico (including Vista icons)

git-svn-id: trunk@15472 -
2008-06-20 00:21:07 +00:00
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
sekelsenmat
f098565cff Starts separating gtkproc for gtk2 in gtk2proc.
git-svn-id: trunk@14854 -
2008-04-17 01:55:53 +00:00
sekelsenmat
fc312ff2bb Removes the obsolete CListBox under gtk and qt.
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
paul
b66fdb0bab gtk: remove LM_INTERNALPAINT and related things
git-svn-id: trunk@13848 -
2008-01-24 01:37:40 +00:00
paul
e2c49dc18f gtk: move CreateToolbar code to TGtkWsToolBar (fixes #0010530)
git-svn-id: trunk@13788 -
2008-01-18 16:48:14 +00:00
paul
9c545d3562 gtk: TGtkWSDragImageList implementation
git-svn-id: trunk@13753 -
2008-01-15 03:29:00 +00:00
paul
3a02d78daa gtk: implement DrawDefaultDockImage (as blue rectangle)
git-svn-id: trunk@13666 -
2008-01-08 11:15:07 +00:00
marc
a174b6e889 * fixed crash in checklistbox
* fixed overwrite of privateclass on inherited update
* fixed overwrite of privateclass with a "lower" class

git-svn-id: trunk@13663 -
2008-01-07 23:58:16 +00:00
mattias
14fe68ea0b gtk intf: moved FinishCreateHandle to gtk1 - it is usable for gtk1+2
git-svn-id: trunk@13642 -
2008-01-05 22:51:53 +00:00
paul
49f04ab86a fix crash while creating PreviewFileControl
git-svn-id: trunk@13556 -
2008-01-01 13:00:28 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
paul
20c2a16ecc gtk: move CreateComponent code for TStatusBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13469 -
2007-12-26 09:36:23 +00:00
paul
2f0de90ec1 gtk: move CreateComponent code for TPairSplitter, TScrollBox, TScrollBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13467 -
2007-12-26 08:52:02 +00:00
paul
c828678066 LCL:replace direct call of TXXWidgetset.Create by indirect CreateWidgetset(TXXWidgetset) to move some initialization code from units initialization (from graphics.pp) to that new procedure. This fix memory leaks in lazbuild tool which indirectly uses many lcl units but doesnot work with widgetset.
git-svn-id: trunk@13062 -
2007-11-28 10:03:28 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00
marc
da0fae1075 * Splitup somg gtk1/2 component creation code
git-svn-id: trunk@12886 -
2007-11-16 00:49:10 +00:00
marc
13910703cb = Renamed gtkobject includes to gtkwidgetset (that's the name of the class anyway)
+ added gtk1widgetset to make it possible to move ifdefed implementations

git-svn-id: trunk@12885 -
2007-11-15 23:15:11 +00:00
marc
bba6436cd7 * modified patch #0010125 by Grzegorz Zakrzewski and Ales Katona for fixing font modifications other than size
git-svn-id: trunk@12884 -
2007-11-15 22:18:26 +00:00
michael
e22b210485 * renamed to avoid conflict with gtkobject.inc of gtk2 units in packages
git-svn-id: trunk@12577 -
2007-10-24 08:03:07 +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
mattias
4f8d2a8022 IDE: added package option Provides - needed by KOL, gtk intf: reduced warnings, fixed wrong type cast calling gdk_text_extends (crashing Label.OptimalFill=true and miscalculation of width)
git-svn-id: trunk@12080 -
2007-09-19 17:58:52 +00:00
paul
d762d100d9 Gtk:
- vary widget default cursors (default edit cursor is IBeam, others are arrow)
- remove unused cursor map global variable and related stuff

git-svn-id: trunk@12039 -
2007-09-16 05:42:37 +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
vincents
8025a708bc gtk widgetset: remove use of NoGdkPixbufLib define
git-svn-id: trunk@11750 -
2007-08-06 18:48:29 +00:00
mattias
84729d5d9d LCL translations: default charset is now UTF-8, gtk1 and win32 will disable this if needed
git-svn-id: trunk@11657 -
2007-07-28 10:45:56 +00:00
sekelsenmat
8781f4543a Moved the creation of Edit, StaticText and Panel from the old CreateComponent to the new CreateHandle methods on Gtk. Also moved CreateForm into the CreateHandle method.
git-svn-id: trunk@11540 -
2007-07-17 09:31:14 +00:00
mattias
2f1dea96f0 gtk1+2 intf: clean up from Andrew
git-svn-id: trunk@11268 -
2007-06-02 14:02:18 +00:00
mattias
0d0427f294 gtk2 intf: moved menuitem handle creation code from CreateComponent, gtk2 intf: handling menu underscore shortcuts of Application.MainForm
git-svn-id: trunk@11255 -
2007-06-01 16:55:15 +00:00
mattias
fe1ca96a65 LCL: implemented TStaticText.DialogChar to focus FocusControl, gtk2 intf: shortcuts of buttons, radiobuttons, checkboxes are now handled by the LCL
git-svn-id: trunk@11245 -
2007-05-31 21:38:56 +00:00
paul
219599ff13 - added themeservices for gtk
- gtk2 themeservices is descendant of gtk themeservices now

git-svn-id: trunk@11224 -
2007-05-30 06:45:30 +00:00
mattias
1eff85d939 gtk2 intf: improved resizing code to not need the caching trick
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +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
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +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
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
6a41acd5f4 gtk2 intf: the GC of device contexts are now created only when needed
git-svn-id: trunk@11106 -
2007-05-08 16:24:44 +00:00
mattias
0e395c80ce gtk2 intf: TComboBox: fixed widgets used for events
git-svn-id: trunk@11014 -
2007-04-27 10:58:58 +00:00
paul
409d3e41fb cleanup
git-svn-id: trunk@10866 -
2007-04-04 08:34:06 +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
marc
7dcb45bc1f * patch for tpairsplitter by Paul Ishenin
git-svn-id: trunk@10712 -
2007-03-06 00:08:35 +00:00
marc
61b16d06a0 * resolved gtkprivate name conflict
git-svn-id: trunk@10697 -
2007-02-27 23:17:33 +00:00