Commit Graph

2208 Commits

Author SHA1 Message Date
mattias
e4a0241fcb Makefiles: removed some fcl dependencies
git-svn-id: trunk@12495 -
2007-10-16 22:47:51 +00:00
mattias
87a572d2ad gtk2 intf: only removing ythickness from gtk_button, not from descendants
git-svn-id: trunk@12484 -
2007-10-15 23:33:32 +00:00
mattias
2a5042eef4 gtk2 intf: removed ythickness from preferred sizes of gtk_button
git-svn-id: trunk@12482 -
2007-10-15 22:37:37 +00:00
paul
472b6d5858 gtk: fix RawImage_SetAlpha for non X11 systems (at least for windows)
git-svn-id: trunk@12463 -
2007-10-14 16:20:03 +00:00
paul
1d41ad50f5 fix compilation with VerboseRawImage
git-svn-id: trunk@12462 -
2007-10-14 14:06:56 +00:00
paul
3473b94d76 gtk2: fix DbgDumpBitmap for gtk2
git-svn-id: trunk@12457 -
2007-10-14 09:35:08 +00:00
paul
80a46ffa1d gtk2: fix DbgDumpPixmap for gtk2
git-svn-id: trunk@12456 -
2007-10-14 09:33:34 +00:00
paul
99436e3732 gtk: call RecreateWnd in TGrkWsCustomForm.SetFormBorderStyle since default implementation is empty. Now runtime BorderStyle change in gtk perform change.
git-svn-id: trunk@12455 -
2007-10-14 08:41:59 +00:00
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
9eeadf2bc5 hopefully fixed the problem in the ide where closing an editor file in gtk2 would close all files except the one you wanted. now we query gtk2 for the control key state
git-svn-id: trunk@12450 -
2007-10-13 23:10:11 +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
andrew
2b0f66359e Applied patch from bug #9693 from anatol modified by Ales Katona that fixes gtk2 font properties being updated
git-svn-id: trunk@12445 -
2007-10-13 20:15:46 +00:00
andrew
9a08cb8dc2 fixed gtk1 bug #9017 which caused a crash when listviewstyle is vsReport and no columns are added and
clicking on the dummy column

git-svn-id: trunk@12442 -
2007-10-13 17:04:25 +00:00
andrew
aad1ee73ad removed a commented line that should not have been committed
git-svn-id: trunk@12441 -
2007-10-13 16:48:06 +00:00
andrew
159f5463e6 Fixed gtk1 Listview row height being set to 0
git-svn-id: trunk@12440 -
2007-10-13 16:44:47 +00:00
andrew
87354f6938 Fixed Gtk1 bug #8374 by implementing TGtkWSCustomListView.GetItemAt
git-svn-id: trunk@12436 -
2007-10-13 14:20:50 +00:00
marc
70b62ccbdf * Fixed #9570, GLib-GObject-CRITICAL warnings
git-svn-id: trunk@12434 -
2007-10-13 00:16:02 +00:00
marc
b7c26074b8 * fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550, CreateBitmap returns a gdkbitmap when bpp=1
git-svn-id: trunk@12431 -
2007-10-12 22:20:54 +00:00
mattias
bcd769c266 clean up
git-svn-id: trunk@12405 -
2007-10-10 12:00:40 +00:00
andrew
e628172571 Applied patch from Ales Katona for bug #9885 which fixes gtk2 Combobox OnSelect
git-svn-id: trunk@12395 -
2007-10-09 16:35:38 +00:00
marc
27cda5e7cd * fixed bug #8550 for loading and alignment. Creating a 1bit bitmap when requesten still needs to be done
git-svn-id: trunk@12387 -
2007-10-09 00:10:15 +00:00
paul
4502a2bf23 gtk: fix wrong custom cursor appearance (issue #0009584)
git-svn-id: trunk@12371 -
2007-10-08 08:49:22 +00:00
andrew
f48817397c Applied patch from Ales Katona for bug #9875 which fixes sizing and autosizing a gtk2 SpinEdit
git-svn-id: trunk@12360 -
2007-10-07 18:15:12 +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
b1eb2613c6 gtk intf: reduced warnings
git-svn-id: trunk@12232 -
2007-09-29 10:11:50 +00:00
paul
4f1340e5d6 gtk: reduce amount of gtk warnings in console produced by DrawFrameControl
git-svn-id: trunk@12219 -
2007-09-28 17:30:37 +00:00
paul
7fd0499fa1 gtk: fix SM_CXSCREEN, SM_CYSCREEN, SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN for dual monitors (now poScreenCenter and poDesktopCenter works with gtk2 under windows)
git-svn-id: trunk@12218 -
2007-09-28 17:02:41 +00:00
paul
ead709d041 gtk1/gtk2: try to reduce amount of gtk warnings when you are drawing custom controls with themes
git-svn-id: trunk@12210 -
2007-09-28 08:01:22 +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
paul
b864b14f3d - change some formatting
- fix some verbose strings

git-svn-id: trunk@12207 -
2007-09-28 06:19:02 +00:00
paul
70c6f0d1f9 gtk2: dont send size message to LCL if visibility changed
git-svn-id: trunk@12206 -
2007-09-28 03:35:21 +00:00
paul
df5e7aa81e gtk:
- separate SM_CXSCREEN and SM_CXVIRTUALSCREEN for gtk2 (affects TForm.ScreenPosition screen/desktop center)
- implement SetCursorPos for gtk2 (if version >= 2.8)

git-svn-id: trunk@12196 -
2007-09-27 09:23:06 +00:00
paul
544849a53e gtk: remove unneeded $ifdef HasX
git-svn-id: trunk@12195 -
2007-09-27 07:54:52 +00:00
sekelsenmat
b8ea56b203 Added gtk1 implementation for TTrayIcon.
git-svn-id: trunk@12109 -
2007-09-21 09:53:17 +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
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
c640644c8f * fixed unreferencing nil colormap
git-svn-id: trunk@11932 -
2007-09-03 23:09:13 +00:00
marc
69bf6a17fc * fixed unreferencinf nil visual
git-svn-id: trunk@11931 -
2007-09-03 22:59:19 +00:00
marc
6bf56052f7 * fixed crash on gtk2
git-svn-id: trunk@11930 -
2007-09-03 22:39:06 +00:00
jesus
de35bfb0d6 LCL, gtk1, fixes CombineRgn problem when Dest region equals Src1 or Src2
git-svn-id: trunk@11922 -
2007-09-03 00:30:00 +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
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
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
85bb631db4 codetools: implemented topological sort for code graphs
git-svn-id: trunk@11838 -
2007-08-20 18:02:41 +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