Commit Graph

804 Commits

Author SHA1 Message Date
paul
965569b5e8 gtk: replace Write by DbgOut since write cause error if apptype is not console under windows
git-svn-id: trunk@12454 -
2007-10-14 08:35:27 +00:00
marc
d430697f03 * Fixed alpha generation from mask on bigendian for imagelist
git-svn-id: trunk@12451 -
2007-10-14 00:22:38 +00:00
andrew
86ec18eb66 applied patch #9933 from Ales Katona which improved gtk2 FontDialog getting it's info from TFont
git-svn-id: trunk@12448 -
2007-10-13 21:49:11 +00:00
marc
70b62ccbdf * Fixed #9570, GLib-GObject-CRITICAL warnings
git-svn-id: trunk@12434 -
2007-10-13 00:16:02 +00:00
paul
24cb502ff6 gtk2: gtk2 doesnot support position setting before window become visible (default position) under windows
git-svn-id: trunk@12208 -
2007-09-28 06:20:55 +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
mattias
ca365cd4ff h2pas: added tool to convert c function types to pointers
git-svn-id: trunk@11953 -
2007-09-07 10:34:35 +00:00
marc
6767396907 * fixed alpha images on 16 bpp
* fixed adding alpha to images

git-svn-id: trunk@11897 -
2007-09-01 02:46:24 +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
be22076c7a LCL: TCustomUpDown remving old csPanel and using default of TCustomControl ancestor
git-svn-id: trunk@11849 -
2007-08-23 13:28:31 +00:00
mattias
d837b709c7 codetools: directives parser: adding nodes for all directives
git-svn-id: trunk@11847 -
2007-08-23 12:47:33 +00:00
mattias
576644f062 memcheck: updated for fpc 2.3.1
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +00:00
mattias
f9f7d157a3 codetools: implemented function to simplify some types of compiler directives
git-svn-id: trunk@11754 -
2007-08-07 14:21:13 +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
83af777229 gtk intf: fixed LineTo to not paint last pixel if Pen.Width<=1
git-svn-id: trunk@11711 -
2007-08-02 11:46:06 +00:00
mattias
1ce8a18caf LCL: TBitmapCanvas: now keeping bitmap selected on DeselectHandles - otherwise there is no content left in the DC
git-svn-id: trunk@11696 -
2007-07-31 21:35:21 +00:00
mattias
95f4b69572 gtk2 intf: using a gtk_im_multicontext_new to use the gtk input method handling - e.g. dead keys for UTF8KeyPress
git-svn-id: trunk@11687 -
2007-07-31 13:49:36 +00:00
tombo
9a4689733f GTK2 intf: Fixed spin edit bug #0009253 and #0009205 from Valdas Janknas
git-svn-id: trunk@11587 -
2007-07-21 12:15:17 +00:00
mattias
f4679373e8 gtk1 intf: fixed creating handle of TCustomMemo
git-svn-id: trunk@11560 -
2007-07-17 23:38:39 +00:00
mattias
6d3cb78cf0 gtk intf: changed default of showing a form in taskbar
git-svn-id: trunk@11553 -
2007-07-17 21:41:16 +00:00
mattias
8f7f42ab15 gtk2 intf: disabled hiding forms from taskbar, because you loose many comfort functions in many window managers
git-svn-id: trunk@11552 -
2007-07-17 21:25:41 +00:00
sekelsenmat
5e691d9635 Moved creation of hints from CreateComponent to HintWindow.CreateHandle on Gtk.
git-svn-id: trunk@11549 -
2007-07-17 19:34:21 +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
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
jesus
7bae212259 LCL and IDE, gtk, TArrow now is sensible to mouse events, fixes ProjectOptions->Forms arrows
git-svn-id: trunk@11418 -
2007-07-04 06:21:45 +00:00
tombo
bdecf2b5b9 Gtk1/2 intf: implemented OnDropFiles event
git-svn-id: trunk@11401 -
2007-06-29 11:32:45 +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
mattias
801d3a0023 IDE: project options form: anchoring notebook to okbutton, gtk intf: color clHighlightText, gtk2 intf: dummy page now without gdkwindow - not eating events, LCL: treeview: removed RecreateWnd call
git-svn-id: trunk@11385 -
2007-06-27 07:44:01 +00:00
andrew
4797644111 Fixed gtk2 bug #8009 where windowstate was ignored if set before the form was shown
git-svn-id: trunk@11306 -
2007-06-09 17:07:17 +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
537db4ddcf gtk2 intf: implemented mouse wheel up/down messages
git-svn-id: trunk@11261 -
2007-06-01 23:17:26 +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
20a3fd2a24 gtk2 intf: moving a widget without resizing now sets the allocation.x/y
git-svn-id: trunk@11246 -
2007-05-31 23:43:23 +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
mattias
0154d0a518 gtk2 intf: fixed setting callbacks if no combobox items count=0, gtk2 intf: not setting gtk accelerators for buttons, gtk2 intf: fixed GetClientOrigin for TNoteBook
git-svn-id: trunk@11241 -
2007-05-31 17:34:17 +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
vincents
9fe9006a80 gtk interfaces: fixed typo, so that gtk1 compiles
git-svn-id: trunk@11192 -
2007-05-24 08:45:18 +00:00
mattias
d45e62cd1b gtk2 intf: disabled removing callbacks, added GetDefaultClientRect for TPage and TNoteBook
git-svn-id: trunk@11189 -
2007-05-23 23:24:14 +00:00
mattias
759a269ca6 gtk intf: resize messages for fixed/client widgets are now kept back and sent for main widgets
git-svn-id: trunk@11184 -
2007-05-23 17:32:10 +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
mattias
d0b8eaa03f gtk2 intf: installing handler for TSpinEdit
git-svn-id: trunk@11147 -
2007-05-15 14:51:09 +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
86605834e9 gtk2 intf: reduced hints
git-svn-id: trunk@11111 -
2007-05-09 07:32:45 +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
2b64f5d099 gtk intf: renamed TDeviceContext.Wnd to TDeviceContext.DCWidget to save many typecasts
git-svn-id: trunk@11104 -
2007-05-08 12:58:13 +00:00
mattias
0d2a3b970c gtk intf: fixed mouse events for TListBox
git-svn-id: trunk@11084 -
2007-05-05 16:05:37 +00:00