Commit Graph

721 Commits

Author SHA1 Message Date
paul
9e76d7e615 remove OldRawImageProcs
git-svn-id: trunk@13495 -
2007-12-28 06:05:12 +00:00
paul
09d6e02546 remove CreatePixmapIndirect
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
79fbbcfde2 repair VerboseFocus for gtk2
git-svn-id: trunk@13326 -
2007-12-14 04:17:15 +00:00
mattias
2261662fc3 gtk2 intf: removed some unused variables and fixed TNoteBook.ClientOrigin
git-svn-id: trunk@13109 -
2007-12-01 23:33:54 +00:00
mattias
8ac236ef4e gtk intf: removed unused vras
git-svn-id: trunk@12988 -
2007-11-23 15:48:05 +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
paul
f90b1ff958 change gtk DrawText formatting a bit
git-svn-id: trunk@12969 -
2007-11-22 06:09:40 +00:00
paul
821fdb9802 gtk: fix DrawText - it should return height of resulting text instead of 0/1
git-svn-id: trunk@12968 -
2007-11-22 06:03:32 +00:00
paul
c6a5a6d431 - use CreateBrushIndirect for gtk and qt to implement CreatePatternBrush
- use changes of Luiz Americo from 0008814 to pattern brush

git-svn-id: trunk@12874 -
2007-11-15 01:55:33 +00:00
paul
c3039af8d3 gtk DrawText: if count = -1 then use StrLen to get actual count (as in winapi)
git-svn-id: trunk@12868 -
2007-11-14 09:03:53 +00:00
paul
63b2e4b144 gtk: add ref to pixmap in CreatePatternBrush
git-svn-id: trunk@12867 -
2007-11-14 08:50:41 +00:00
paul
129ee739df gtk: implement CreatePatternBrush
git-svn-id: trunk@12865 -
2007-11-14 07:25:17 +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
fd746ab2f9 gtk1/2: implement GetSystemMetrics(SM_CXTHUMB/SM_CYTHUMB)
git-svn-id: trunk@12753 -
2007-11-06 09:11:58 +00:00
mattias
bbf3a6393a images: made vase transparent
git-svn-id: trunk@12724 -
2007-11-03 19:01:50 +00:00
mattias
09342edb8f gtk intf: fixed GetClientRect for notebook
git-svn-id: trunk@12694 -
2007-11-02 10:58:55 +00:00
paul
1c0de89202 gtk: TGtkWidgetSet.FillRect should not fill whole DC if rect is empty
git-svn-id: trunk@12691 -
2007-11-02 09:07:22 +00:00
paul
2f77419302 gtk: make TGtkWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12690 -
2007-11-02 08:30:05 +00:00
paul
d59531f75d gtk: make TGtkWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12686 -
2007-11-02 04:06:10 +00:00
mattias
419f5911b4 LCL: reduced notes
git-svn-id: trunk@12658 -
2007-10-31 09:41:58 +00:00
paul
8649f4eda1 fix gtk LoadBitmapData for images with Width not divided by 8
git-svn-id: trunk@12561 -
2007-10-23 09:01:50 +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
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
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
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
b864b14f3d - change some formatting
- fix some verbose strings

git-svn-id: trunk@12207 -
2007-09-28 06:19:02 +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
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
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
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
576644f062 memcheck: updated for fpc 2.3.1
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +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
ed4224184b gtk1 intf: rotated text, patch from C Western
git-svn-id: trunk@11698 -
2007-07-31 23:26:42 +00:00
mattias
63a8c982ad gtk intf: fixed crash on paste for 64 bit
git-svn-id: trunk@11697 -
2007-07-31 23:13: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
mattias
923e29b086 LCL reduced some x86_64 warnings
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +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
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
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
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
95a4c61120 gtk intf: LineTo now sets GDK_CAP_NOT_LAST to not draw the last pixel
git-svn-id: trunk@11198 -
2007-05-25 09:14:33 +00:00
mattias
f049d742f3 gtk intf: DeleteObject does not raise an exception, if trying to free an object which is still used, but only gives a warning
git-svn-id: trunk@11172 -
2007-05-21 08:31:03 +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
8d7812da86 IDE: completion form is now created on demand and the internal double buffer bitmap is resized correct
git-svn-id: trunk@11130 -
2007-05-12 09:39:20 +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
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
andrew
0d75fcd87f applied patch from Luiz Americo for bug #8754 which removes an unused variable.
git-svn-id: trunk@11040 -
2007-05-01 00:57:51 +00:00
mattias
ef4cb4d516 gtk2 intf: TComboBox: fixed gtk crit when ITemCount=0
git-svn-id: trunk@11015 -
2007-04-27 11:18:59 +00:00
vincents
08761b6cee gtk interface: fixed range errors in underlining short cuts (bug #8602) from Colin Western
git-svn-id: trunk@10861 -
2007-04-03 20:42:46 +00:00
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
vincents
85a311aa33 LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468)
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
vincents
27409f3080 gtk interface: made Rectangle winapi compatible (bug #8342)
git-svn-id: trunk@10782 -
2007-03-22 19:10:10 +00:00
paul
aec06c66dd - fixed error in cursor reading previously introduced by me
- fixed cursor creating code in widgetsets

git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
marc
7db0d40c31 * fixed compilation of win32-gtk2 (doesn't run yet)
* fixed use of correct gtk in pairsplitter
* some cleanup

git-svn-id: trunk@10745 -
2007-03-13 23:53:11 +00:00
mattias
61700dad67 gtk intf: small optimization as suggested by Luiz
git-svn-id: trunk@10726 -
2007-03-09 00:25:38 +00:00
marc
7dcb45bc1f * patch for tpairsplitter by Paul Ishenin
git-svn-id: trunk@10712 -
2007-03-06 00:08:35 +00:00
marc
50cd527148 * Cursor metric patch from Paul Ishenin
git-svn-id: trunk@10693 -
2007-02-26 23:42:56 +00:00
mattias
49242c3818 gtk intf: using default when gdk does not know the physical screen size
git-svn-id: trunk@10642 -
2007-02-14 11:09:42 +00:00
marc
d7051338d9 * global cursor patch from Paul Ishenin
* dragcursor fix
! note: setting of the initial default cursor in gtk needs to be looked at, it should set the cursor as defined by the widget, no the default arrow

git-svn-id: trunk@10609 -
2007-02-07 23:31:44 +00:00
marc
6737a6ef3d * cursor patch from Paul Ishenin
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos

git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
marc
493364664f * improved colormask for cursors
git-svn-id: trunk@10564 -
2007-02-02 00:52:21 +00:00
mattias
89f08fb3a2 LCL: TTreeView: fixed MoveTo moving selection, h2pas: replaced checklst with TTreeView
git-svn-id: trunk@10562 -
2007-02-01 19:57:23 +00:00
marc
92e3d63d75 * Cursor patch from Paul Ishenin
* Disabled setting cursors for gtk2, since it is broken

git-svn-id: trunk@10544 -
2007-01-31 01:11:00 +00:00
marc
5e6f809b63 * made gtk2 keyboard initialisation independent of X
- removed unix -> X implication
* start of some gtk1/2 split

git-svn-id: trunk@10535 -
2007-01-29 23:07:59 +00:00
vincents
c3f3bb0aa0 LCL: removed RadialPie function without angles parameter, renamed RadialPieWithAngles to RadialPie
git-svn-id: trunk@10529 -
2007-01-29 12:33:03 +00:00
marc
6c79de53ed * Keyhandling rework. Virtual keycodes are looked up by the keycode of the key pressed.
+ Added dynamic modifier mask lookup. 

git-svn-id: trunk@10422 -
2007-01-11 01:09:11 +00:00
jesus
667426dd97 gtk: font enumeration support for requested pitch, fontenum example updated
git-svn-id: trunk@10406 -
2007-01-09 09:02:10 +00:00
jesus
5047d80931 gtk fonts: try any combination within font face, if slanted font was not found
git-svn-id: trunk@10397 -
2007-01-08 20:04:01 +00:00
marc
f9b0c15f24 - Removed gtk1-utf8 warning
git-svn-id: trunk@10353 -
2006-12-28 00:08:08 +00:00
jesus
a1ec60a342 gtk1, additional tries if font was not matched
git-svn-id: trunk@10350 -
2006-12-23 06:40:36 +00:00
jesus
582525a478 gtk1, additional check for getting defult font name and fix in getdefaultfontfamily
git-svn-id: trunk@10349 -
2006-12-22 22:55:56 +00:00
jesus
a6d43caf21 fixed mem leak
git-svn-id: trunk@10299 -
2006-12-05 11:45:47 +00:00
mattias
af58c185f9 gtk intf: scrollbar reduced wheel increment
git-svn-id: trunk@10288 -
2006-12-04 00:58:51 +00:00
jesus
0adbb16922 gtk: Ensure text color, use LineInfo.GetLineInfo for TraceGdiCalls
git-svn-id: trunk@10169 -
2006-11-03 21:20:20 +00:00
mattias
d6eb52a88b gtk intf: reduced X queries for GetCursorPos, LCL: extended ControlAtPos to search recursive, gtk2 intf: FindControlAtPos now searches recursive and now finds sub child controls, IDE: renaming units via save-as now consider code renames by user
git-svn-id: trunk@10114 -
2006-10-28 10:50:00 +00:00
mattias
b38f796623 gtk intf: made some gtk1-X functions available to gtk2-X (e.g. XGetWorkArea) from Felipe
git-svn-id: trunk@10099 -
2006-10-23 10:18:30 +00:00
mattias
00b85598ab IDE: improved renaming inherited components
git-svn-id: trunk@10082 -
2006-10-16 18:20:42 +00:00
andrew
a46e121f4a fixed compilation of gtk2 for win32
git-svn-id: trunk@10073 -
2006-10-15 19:10:03 +00:00
mattias
b6f164d0aa IDE: implemented creating designer for hidden component
git-svn-id: trunk@10045 -
2006-10-06 17:28:20 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
mattias
339e49de45 LCL help: fixing path delims after substituting macros
git-svn-id: trunk@9862 -
2006-09-12 09:41:44 +00:00
mattias
cdb8224a6c 64bit fixes
git-svn-id: trunk@9795 -
2006-09-02 20:41:45 +00:00
mattias
b17384ebc1 TButtonGlyph now uses shared bitmaps, improved debugging mem leaks
git-svn-id: trunk@9629 -
2006-07-18 17:20:34 +00:00
mattias
65c428629e IDE: fixed replace all
git-svn-id: trunk@9576 -
2006-07-08 16:36:19 +00:00
mattias
8027a9738d gtk intf: added minimum size for TTrackBar
git-svn-id: trunk@9506 -
2006-06-27 22:08:49 +00:00
mattias
31810fcee6 gtk2 intf: GDI fonts are now pango layouts instead of pango font descriptions, using the font cache similar to gtk1
git-svn-id: trunk@9499 -
2006-06-27 11:28:17 +00:00
mattias
3385779d03 gtk2 intf: added GetDefaultPangoLayout
git-svn-id: trunk@9494 -
2006-06-24 08:35:25 +00:00
mattias
9b52c9bc1d gtk1/2 intf: fixed Arc
git-svn-id: trunk@9472 -
2006-06-22 02:41:09 +00:00
mattias
9e7d3f95e3 added parameter to CreatPublishedMethod to only use the typeinfo, improvements for 64bit
git-svn-id: trunk@9463 -
2006-06-21 18:30:24 +00:00
mattias
95cc15daf6 gtk intf: checking if Rect parameter is nil from Darel
git-svn-id: trunk@9426 -
2006-06-12 19:23:45 +00:00
mattias
1edcb3c436 tComboBox.dropdownCount, prevented double fired OnChange from Darek
git-svn-id: trunk@9361 -
2006-05-27 13:31:50 +00:00
mattias
e4cf644778 gtk2 intf: extended GetRawImageXXX functions to take screen shots
git-svn-id: trunk@9360 -
2006-05-27 12:43:59 +00:00
mattias
236481b49c implemented parameter hints
git-svn-id: trunk@9314 -
2006-05-20 12:53:57 +00:00
jesus
675ab2b3f5 implements Canvas.DrawFocusRect in windows and gtk issue #2095
git-svn-id: trunk@9290 -
2006-05-16 21:22:58 +00:00
mattias
5ff16b41ea gtk intf: implemented cx_maximized from Darek
git-svn-id: trunk@9251 -
2006-05-08 09:14:47 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
9bc02c5002 improved getting selection from xterm and kde apps
git-svn-id: trunk@9129 -
2006-04-15 15:18:34 +00:00
mattias
770fa8ffb2 fixed ExtTextOut getting TextHeight
git-svn-id: trunk@9111 -
2006-04-10 08:45:13 +00:00
mattias
00b7b56f6f reduced overhead TLabel with single lines, added IFNDEF gtk_no_set_modal to deactivate modal forms in gtk intf from Darek
git-svn-id: trunk@9108 -
2006-04-09 20:55:52 +00:00
mattias
252c0feff3 OnSelChange for tComboBox fired only one per click from Darek
git-svn-id: trunk@8957 -
2006-03-18 14:39:13 +00:00
mattias
62ffcbc9b2 added codetools directory cache for units
git-svn-id: trunk@8945 -
2006-03-17 17:10:53 +00:00
mattias
30ce5eafe2 fixed TGtkWidgetSet.DrawText for calculating only one line
git-svn-id: trunk@8934 -
2006-03-13 10:40:55 +00:00
mattias
542ca69199 added TextUTF8Out
git-svn-id: trunk@8928 -
2006-03-13 00:23:09 +00:00
mattias
03aff84390 improved setting custom font for TEdit under gtk2 from Darius
git-svn-id: trunk@8851 -
2006-03-01 01:46:40 +00:00
mattias
5b2f90fcda TWinControl descendant can now get focus by SetFocus under gtk
git-svn-id: trunk@8719 -
2006-02-07 22:16:32 +00:00
vincents
e56517cf55 fixed compilation of gtk2 interface on windows by putting code behind {$ifdef unix} and adding warning in the {$else} branch.
git-svn-id: trunk@8700 -
2006-02-03 21:47:33 +00:00
vincents
f96ac2f4bf changed for Delphi compatibility: changed Width,Height to Right,Bottom from Martin Smat
git-svn-id: trunk@8658 -
2006-01-29 20:25:49 +00:00
mattias
d099feb7f8 fixed gtk Frame3d
git-svn-id: trunk@8650 -
2006-01-28 23:19:18 +00:00
mattias
35d85a8f2f improved assing keycommands by reusing objects
git-svn-id: trunk@8649 -
2006-01-28 23:04:20 +00:00
mattias
4b193a4407 improved color for gtk widgets from Darek
git-svn-id: trunk@8625 -
2006-01-26 20:53:59 +00:00
mattias
fa3cda85f5 added debugging for clipboard
git-svn-id: trunk@8603 -
2006-01-23 10:37:40 +00:00
mattias
4914273463 fixed auto adding package to project on popupmenu
git-svn-id: trunk@8598 -
2006-01-21 22:43:29 +00:00
mattias
d7347356ff implemented compiler options parsed optins with platform independent makros, disabled string highlighting
git-svn-id: trunk@8573 -
2006-01-20 13:38:42 +00:00
mattias
fe9a9c9db9 fixed focusing in gtklist
git-svn-id: trunk@8568 -
2006-01-19 22:54:58 +00:00
mattias
042e4992ac fixed checking package Makefile.fpc ignoring space differences
git-svn-id: trunk@8547 -
2006-01-18 00:02:36 +00:00
mattias
ce294c63d5 various fixes for carbon
git-svn-id: trunk@8428 -
2006-01-04 00:09:36 +00:00
jesus
205d76944f Fixes issues #1443,#1445 and TPageSetupDialog from Boguslaw Brandys
git-svn-id: trunk@8250 -
2005-12-03 21:45:49 +00:00
micha
9bab7af2a9 rename "winapi" function BringWindowToTop to SetForegroundWindow, because BringWindowToTop does not actually bring the window to the top in win32, but only activates it
git-svn-id: trunk@8142 -
2005-11-13 19:44:20 +00:00
mattias
efd9f8762c added simple heuristic for the meaning of PGdkImage^.bpp
git-svn-id: trunk@8075 -
2005-11-06 11:34:14 +00:00
vincents
d5d6476368 fixed gtk compilation
git-svn-id: trunk@8033 -
2005-11-02 13:19:53 +00:00
mattias
da78e6e7a4 implemented TSplitter.Beveled for gtk intf
git-svn-id: trunk@8031 -
2005-11-02 09:10:52 +00:00
mattias
d18878cbcf trying more gtk font combinations from Jesus
git-svn-id: trunk@8011 -
2005-10-31 08:24:56 +00:00
mattias
bb162d5fec implemented manual font selection in editor options
git-svn-id: trunk@8002 -
2005-10-30 12:59:02 +00:00
jesus
991b9379d3 Font enumeration, Screen.fonts, TFontCharset property editor
git-svn-id: trunk@7999 -
2005-10-29 20:06:26 +00:00
mattias
6ca4cd5c5f updated finnish translation from Seppo
git-svn-id: trunk@7995 -
2005-10-29 13:45:32 +00:00
vincents
052c7ffeff fixed gtk2 compilation.
git-svn-id: trunk@7907 -
2005-10-04 13:30:58 +00:00
marc
c943976da2 * Fixed setting layoutrange
git-svn-id: trunk@7843 -
2005-09-27 23:12:54 +00:00
mattias
b0f71e6cd3 added 2 as default gtk intf value for GetSystemMetric(sm_cxedge) and extended TSempahorGrid from Salvatore
git-svn-id: trunk@7839 -
2005-09-26 23:23:18 +00:00
marc
1eb012c515 * Fixed scrolling for TScrollbox in GTK (gtklayout based controls)
git-svn-id: trunk@7734 -
2005-09-18 13:40:54 +00:00
marc
9e5fa20f3f * Fixed gtk2 compilation
git-svn-id: trunk@7672 -
2005-09-11 20:54:27 +00:00
marc
d788e753a8 * fixed bug #853
git-svn-id: trunk@7671 -
2005-09-11 18:43:40 +00:00
mattias
49bbb18e35 TBitmap with transparent pixels now saves in xpm format
git-svn-id: trunk@7554 -
2005-08-22 23:24:26 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
vincents
d2179bb34b - 64 bit fixes to GetWindowLong and callers from Florian
- SetWindowLong now sets a ptrint

git-svn-id: trunk@7446 -
2005-07-29 22:44:07 +00:00
mattias
f3e322eb6c clean up
git-svn-id: trunk@7328 -
2005-07-07 20:56:29 +00:00
mattias
f2ecd38e12 moved some menu intf methods to the TXXXWSMenuItem class from Martin Smat
git-svn-id: trunk@7310 -
2005-07-01 12:07:50 +00:00
mattias
42bb427048 simplifies the gtk 1 and 2 Get/SetMousePos from Andrew Haines
git-svn-id: trunk@7280 -
2005-06-25 09:46:23 +00:00
mattias
9628a2b23e implemented TMouse.SetCursorPos from Andrew
git-svn-id: trunk@7268 -
2005-06-22 17:37:06 +00:00
mattias
36fcecd067 fixed focussing modal forms on gtk intf
git-svn-id: trunk@7221 -
2005-06-03 20:58:23 +00:00
mattias
b2ba0f4418 implemented right justification for menuitems for winapi intf from Martin Smat
git-svn-id: trunk@7191 -
2005-05-21 15:58:44 +00:00
mattias
b7d8308bd3 fixed retrieving TCanvas.Width/Height
git-svn-id: trunk@7181 -
2005-05-18 09:12:21 +00:00
mattias
c0e9b1683c gtk1 intf no longer moves a focused window to another desktop from Andrew Haines
git-svn-id: trunk@7006 -
2005-03-21 18:59:50 +00:00
mattias
22928a36c1 fixed removing focus of a gtk listbox on delete item from Collin Western
git-svn-id: trunk@6999 -
2005-03-21 08:12:10 +00:00
mattias
954f62e620 disabled gtk1 focussing a window, enable it with -dEnableGtkWindowFocus
git-svn-id: trunk@6997 -
2005-03-20 09:45:05 +00:00
mattias
4442c43d56 next try to fix the gtk1 crashing on focussing a window from Andrew Haines
git-svn-id: trunk@6996 -
2005-03-20 09:35:47 +00:00
mattias
2221cce016 gtk1: minimizing windows, missing: window state events from Andrew Haines
git-svn-id: trunk@6990 -
2005-03-19 09:17:20 +00:00
mattias
139b3f1dda next try to fix the crashing when switching focus from Andrew Haines
git-svn-id: trunk@6988 -
2005-03-18 15:32:13 +00:00
mattias
80c38a6712 added gtk1 check for current desktop on focussing windows from Andrew Haines
git-svn-id: trunk@6974 -
2005-03-17 10:10:51 +00:00
mattias
5019fad7e9 published TStringGrid.OnResize/OnChangeBounds and fixed gtk1 intf check in focussing
git-svn-id: trunk@6968 -
2005-03-16 17:45:28 +00:00
mattias
e630464bae added some checks to avoid crashes
git-svn-id: trunk@6964 -
2005-03-16 12:30:15 +00:00
mattias
0c905491cf improved gtk1 intf switching focus to another form from Andrew Haines
git-svn-id: trunk@6959 -
2005-03-16 11:36:21 +00:00
mattias
08fd79653c fixed deleting selected TListBox item under gtk1 from Collin
git-svn-id: trunk@6946 -
2005-03-13 22:35:17 +00:00
mattias
c7ed36c323 implemented gtk2 AppMinimize
git-svn-id: trunk@6921 -
2005-03-08 00:28:03 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
2db9ede5e0 fixed gtk1 font rotating from C Western
git-svn-id: trunk@6901 -
2005-03-05 14:44:01 +00:00
mattias
daf76f7dbc fixed Arc and changed x,y to Left,Top to make meaning more clear
git-svn-id: trunk@6889 -
2005-03-04 13:50:09 +00:00
mattias
cbd283b647 fixed TShape FPCanvas issue
git-svn-id: trunk@6885 -
2005-03-04 12:21:56 +00:00
mattias
0153b8dfc3 fixed loading forms under fpc 1.9.9
git-svn-id: trunk@6878 -
2005-03-02 16:47:20 +00:00
marc
943df8ed1d - Removed double commit (?)
git-svn-id: trunk@6832 -
2005-02-23 01:21:54 +00:00
marc
55f3a45a70 + Added RemoveProp winapi call
* Some maintenace on winapi/lclintf files

git-svn-id: trunk@6830 -
2005-02-23 01:12:47 +00:00
mattias
027b1428e1 xinerama hack is now only enabled when compiled with -dUseXinerama
git-svn-id: trunk@6814 -
2005-02-19 20:36:56 +00:00
mattias
e9a11c2116 fixed 1.0.10 compilation
git-svn-id: trunk@6809 -
2005-02-19 16:30:47 +00:00
mattias
32ed3ffefa added xinerama recognition fro gtk1/fpc1_9+ from C Western
git-svn-id: trunk@6808 -
2005-02-19 16:19:19 +00:00
mattias
925cc87469 fixed some gtk2 intf warnings
git-svn-id: trunk@6789 -
2005-02-17 00:05:25 +00:00
mattias
63ccf16da0 clean up
git-svn-id: trunk@6755 -
2005-02-05 22:48:51 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
a6b0ee0289 implemented gtkwidgetset.IsWindowEnabled
git-svn-id: trunk@6740 -
2005-02-05 13:33:05 +00:00
micha
ed63005188 add platform independent winapi function IsWindowEnabled
git-svn-id: trunk@6738 -
2005-02-05 09:05:51 +00:00
mattias
b32ca7cca8 fixed gtk intf Arc
git-svn-id: trunk@6732 -
2005-02-04 01:04:41 +00:00
mattias
6d4be878cd fixed mem leak
git-svn-id: trunk@6711 -
2005-01-28 17:55:48 +00:00
mattias
948a215e46 added QuestionDlg - a MessageDlg with custom buttons
git-svn-id: trunk@6703 -
2005-01-27 19:03:51 +00:00
mattias
94f6a1142d fixed gtk2 intf from Peter Vreman
git-svn-id: trunk@6667 -
2005-01-22 23:53:43 +00:00
mattias
ed02f73289 improved TLabel autosizing
git-svn-id: trunk@6627 -
2005-01-17 16:42:35 +00:00
mattias
a21cbfceca improved gtk intf to calculate TextHeight
git-svn-id: trunk@6625 -
2005-01-17 15:36:31 +00:00
mattias
ab66df423f fixed TGtkWidgetSet.ExtSelectClipRGN for DCOrigin
git-svn-id: trunk@6608 -
2005-01-16 11:40:11 +00:00
mattias
1ac4c9fdda implemented TPen.Mode=pmXor from Jesus
git-svn-id: trunk@6508 -
2005-01-08 11:03:18 +00:00
mattias
8bf0d5935f clean up, added GetRGBValues
git-svn-id: trunk@6497 -
2005-01-07 18:40:10 +00:00
mattias
3ed44e9dd9 implemented gtk GetTextExtentPoint for UTF8
git-svn-id: trunk@6454 -
2005-01-01 20:17:32 +00:00
mattias
c83f9e671a implemented CodeExplorer auto update on switching source editor page
git-svn-id: trunk@6448 -
2005-01-01 16:04:13 +00:00
mattias
bc7d15ff4b started TFont mirgration to fpCanvas font
git-svn-id: trunk@6406 -
2004-12-22 19:56:44 +00:00
mattias
9a37fb3c97 implemented scrollbar codes for gtk intf from Jesus
git-svn-id: trunk@6404 -
2004-12-21 22:49:29 +00:00
mattias
a802f8afa9 applied patch for smooth scrolling parameters from Jesus
git-svn-id: trunk@6379 -
2004-12-16 19:03:57 +00:00
mattias
7f5fe81d3b implemented bvSpace of TBevelCut
git-svn-id: trunk@6363 -
2004-12-11 01:28:58 +00:00
mattias
c8759cbc2e updated fpdoc sceletons for lcl and gtk intf
git-svn-id: trunk@6316 -
2004-12-01 16:17:18 +00:00
mattias
a56e16653b added more gtk ISO character sets
git-svn-id: trunk@6304 -
2004-11-27 13:57:49 +00:00
mattias
020ed4dbc7 implemented stopping project on close project
git-svn-id: trunk@6273 -
2004-11-20 11:49:15 +00:00
mattias
d2d3030a60 implemented creating classes at run time from any TComponent descendant
git-svn-id: trunk@6272 -
2004-11-20 11:20:06 +00:00
mattias
d4214e5175 impementing changing a TLabel.Font properties Size, Height, Name, Style - set only at Handle creation time
git-svn-id: trunk@6226 -
2004-11-10 18:23:56 +00:00