Commit Graph

239 Commits

Author SHA1 Message Date
lazarus
ba9a1380a2 MG: fixed TMainMenu creation
git-svn-id: trunk@2008 -
2002-08-17 23:40:37 +00:00
lazarus
f7aeef6c24 MG: fixed gdkwindow checks
git-svn-id: trunk@2006 -
2002-08-17 23:40:36 +00:00
lazarus
f8efdc401d MG: fixed LM_LVChangedItem, OnShowHint, small bugs
git-svn-id: trunk@2002 -
2002-08-17 23:40:35 +00:00
lazarus
f7948ac0f1 MG: fixed Polygon and not winding
git-svn-id: trunk@1999 -
2002-08-17 23:40:34 +00:00
lazarus
33c0df6f93 AJ: ignore offset in Polygon Winding, Region/FillRect should take care of it
git-svn-id: trunk@1993 -
2002-08-17 23:40:33 +00:00
lazarus
17b1955795 MG: fixed GetClipBox
git-svn-id: trunk@1991 -
2002-08-17 23:40:32 +00:00
lazarus
8b114c41b6 MG: fixed mouse coords on scrolling wincontrols
git-svn-id: trunk@1986 -
2002-08-17 23:40:31 +00:00
lazarus
2a419eaf2f MG: fixed GetClipBox when clipping region invalid
git-svn-id: trunk@1980 -
2002-08-17 23:40:30 +00:00
lazarus
9c12599844 MG: implemented TControlScrollBar.Size
git-svn-id: trunk@1979 -
2002-08-17 23:40:29 +00:00
lazarus
0af33eac34 MG: fixed GetClipBox
git-svn-id: trunk@1975 -
2002-08-17 23:40:28 +00:00
lazarus
e3d4a67ca1 MG: fixed return polygon point
git-svn-id: trunk@1970 -
2002-08-17 23:40:27 +00:00
lazarus
b1851a66dc AJ: added TShape
git-svn-id: trunk@1966 -
2002-08-17 23:40:26 +00:00
lazarus
300e7ef423 AJ: added IsNullBrush checks to reduce pointless color allocations & GDK function calls
git-svn-id: trunk@1965 -
2002-08-17 23:40:25 +00:00
lazarus
b960c0b55f MG: removed interfaces
git-svn-id: trunk@1958 -
2002-08-17 23:40:24 +00:00
lazarus
44db1cb51c MG: removed interfaces
git-svn-id: trunk@1954 -
2002-08-17 23:40:23 +00:00
lazarus
b8491b804f AJ: fixed initial result in clipping/region routines
git-svn-id: trunk@1951 -
2002-08-17 23:40:22 +00:00
lazarus
12db44ae3f AJ: initialize SelectClipRgn Result
git-svn-id: trunk@1949 -
2002-08-17 23:40:21 +00:00
lazarus
3caa4e4007 MG: impoved focussing, unfocussing on destroy and fixed unit search
git-svn-id: trunk@1944 -
2002-08-17 23:40:20 +00:00
lazarus
47b78dc348 AJ:Minor fixes for Win32 GTK compiling
git-svn-id: trunk@1942 -
2002-08-17 23:40:19 +00:00
lazarus
76e07f6c5f AJ: fixed typo causing gdk cmap error
git-svn-id: trunk@1937 -
2002-08-17 23:40:18 +00:00
lazarus
981168ca07 AJ: Started Form Scrolling
Started StaticText FocusControl
    Fixed Misc Dialog Problems
    Added TApplication.Title

git-svn-id: trunk@1934 -
2002-08-17 23:40:17 +00:00
lazarus
9454877bf2 MG: fixed frmactivate
git-svn-id: trunk@1930 -
2002-08-17 23:40:16 +00:00
lazarus
625b625a5a AJ:minor styles improvement; fixed drawing checks under all(?) themes
git-svn-id: trunk@1927 -
2002-08-17 23:40:15 +00:00
lazarus
b300987be8 MG: fixes for 1.1
git-svn-id: trunk@1925 -
2002-08-17 23:40:14 +00:00
lazarus
349dccf01e MG: fixes for 1.1
git-svn-id: trunk@1923 -
2002-08-17 23:40:13 +00:00
lazarus
f77728bd78 MG: fixes for fpc1.1
git-svn-id: trunk@1921 -
2002-08-17 23:40:12 +00:00
lazarus
cc1e71b882 AJ: minor fixes for FPC 1.1
git-svn-id: trunk@1919 -
2002-08-17 23:40:11 +00:00
lazarus
774fdd98a8 AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
git-svn-id: trunk@1918 -
2002-08-17 23:40:10 +00:00
lazarus
2dc4406e0b MG: fixed uncapturing of mouse
git-svn-id: trunk@1917 -
2002-08-17 23:40:09 +00:00
lazarus
23890c69ab MG: made mouse capturing more strict
git-svn-id: trunk@1916 -
2002-08-17 23:40:08 +00:00
lazarus
3146d859b8 AJ: added forcelinebreaks
git-svn-id: trunk@1915 -
2002-08-17 23:40:07 +00:00
lazarus
0138bc9dc1 AJ: fixed GTK DrawText to use WordWrap, and add DT_EditControl
git-svn-id: trunk@1914 -
2002-08-17 23:40:06 +00:00
lazarus
885ccacc01 MG: fixed timers
git-svn-id: trunk@1913 -
2002-08-17 23:40:05 +00:00
lazarus
9334db90d3 MG: fixed timer checking
git-svn-id: trunk@1912 -
2002-08-17 23:40:04 +00:00
lazarus
50bb9f1120 MG: fixed zombie timers
git-svn-id: trunk@1911 -
2002-08-17 23:40:03 +00:00
lazarus
c63942294a MG: accelerated GetTextMetrics
git-svn-id: trunk@1910 -
2002-08-17 23:40:02 +00:00
lazarus
d638df276b MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@1909 -
2002-08-17 23:40:01 +00:00
lazarus
6353cb60a0 Cleanups
git-svn-id: trunk@1908 -
2002-08-17 23:40:00 +00:00
lazarus
7759160fc7 MG: fixed client origin coordinates
git-svn-id: trunk@1907 -
2002-08-17 23:39:59 +00:00
lazarus
b83211ed1e MG: fixed Ellipse
git-svn-id: trunk@1906 -
2002-08-17 23:39:58 +00:00
lazarus
867a54d87f MG: accelerated FillRect
git-svn-id: trunk@1905 -
2002-08-17 23:39:57 +00:00
lazarus
f2fd93f0d0 MG: added TDeviceContext.SelectedColors
git-svn-id: trunk@1904 -
2002-08-17 23:39:56 +00:00
lazarus
d11033e0ae MG: added TDevContextColorType
git-svn-id: trunk@1903 -
2002-08-17 23:39:55 +00:00
lazarus
ad31763869 MG: accelerated GDIColor allocating
git-svn-id: trunk@1902 -
2002-08-17 23:39:54 +00:00
lazarus
bc646a73db MG: accelerated SelectGDKPenProps
git-svn-id: trunk@1901 -
2002-08-17 23:39:53 +00:00
lazarus
72bdd73d34 MG: accelerated TDynHashArray
git-svn-id: trunk@1900 -
2002-08-17 23:39:52 +00:00
lazarus
e1e34bfca7 MG: added OnDrawItem to OI
git-svn-id: trunk@1899 -
2002-08-17 23:39:51 +00:00
lazarus
831edf6865 MG: added DrawItem to TComboBox/TListBox
git-svn-id: trunk@1898 -
2002-08-17 23:39:50 +00:00
lazarus
abe2d96dd6 MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@1897 -
2002-08-17 23:39:49 +00:00
lazarus
2a155205df MG: changed PDeviceContext into class TDeviceContext
git-svn-id: trunk@1896 -
2002-08-17 23:39:48 +00:00
lazarus
6db7d55819 MG: fixed flickering of modal forms
git-svn-id: trunk@1895 -
2002-08-17 23:39:47 +00:00
lazarus
b9912a1947 MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com>
Here is the run down of what it includes -

 -Vasily Volchenko's Updated Russian Localizations

 -improvements to GTK Styles/SysColors
 -initial GTK Palette code - (untested, and for now useless)

 -Hint Windows and Modal dialogs now try to stay transient to
  the main program form, aka they stay on top of the main form
  and usually minimize/maximize with it.

 -fixes to Form BorderStyle code(tool windows needed a border)

 -fixes DrawFrameControl DFCS_BUTTONPUSH to match Win32 better
  when flat

 -fixes DrawFrameControl DFCS_BUTTONCHECK to match Win32 better
  and to match GTK theme better. It works most of the time now,
  but some themes, noteably Default, don't work.

 -fixes bug in Bitmap code which broke compiling in NoGDKPixbuf
  mode.

 -misc other cleanups/ fixes in gtk interface

 -speedbutton's should now draw correctly when flat in Win32

 -I have included an experimental new CheckBox(disabled by
  default) which has initial support for cbGrayed(Tri-State),
  and WordWrap, and misc other improvements. It is not done, it
  is mostly a quick hack to test DrawFrameControl
  DFCS_BUTTONCHECK, however it offers many improvements which
  can be seen in cbsCheck/cbsCrissCross (aka non-themed) state.

 -fixes Message Dialogs to more accurately determine
  button Spacing/Size, and Label Spacing/Size based on current
  System font.
 -fixes MessageDlgPos, & ShowMessagePos in Dialogs
 -adds InputQuery & InputBox to Dialogs

 -re-arranges & somewhat re-designs Control Tabbing, it now
  partially works - wrapping around doesn't work, and
  subcontrols(Panels & Children, etc) don't work. TabOrder now
  works to an extent. I am not sure what is wrong with my code,
  based on my other tests at least wrapping and TabOrder SHOULD
  work properly, but.. Anyone want to try and fix?

 -SynEdit(Code Editor) now changes mouse cursor to match
  position(aka over scrollbar/gutter vs over text edit)

 -adds a TRegion property to Graphics.pp, and Canvas. Once I
  figure out how to handle complex regions(aka polygons) data
  properly I will add Region functions to the canvas itself
  (SetClipRect, intersectClipRect etc.)

 -BitBtn now has a Stored flag on Glyph so it doesn't store to
  lfm/lrs if Glyph is Empty, or if Glyph is not bkCustom(aka
  bkOk, bkCancel, etc.) This should fix most crashes with older
  GDKPixbuf libs.

git-svn-id: trunk@1894 -
2002-08-17 23:39:46 +00:00
lazarus
7030e3a083 MG: fixed TPanel and Frame3D
git-svn-id: trunk@1893 -
2002-08-17 23:39:45 +00:00
lazarus
a710468718 MG: accelerated designer drawings
git-svn-id: trunk@1892 -
2002-08-17 23:39:44 +00:00
lazarus
bdb01de603 MG: fixed Menu.Free and gdkwindow=nil bug
git-svn-id: trunk@1891 -
2002-08-17 23:39:43 +00:00
lazarus
0f491c43c3 MG: added patch from Andrew
git-svn-id: trunk@1890 -
2002-08-17 23:39:42 +00:00
lazarus
0afb362af3 MG: removed the 1x1 bitmap from TBitBtn
git-svn-id: trunk@1889 -
2002-08-17 23:39:41 +00:00
lazarus
b9766e4853 Cleanups, extended TStatusBar, graphic control cleanups.
git-svn-id: trunk@1888 -
2002-08-17 23:39:40 +00:00
lazarus
2d99e6a27b MG: small bugfixes
git-svn-id: trunk@1887 -
2002-08-17 23:39:39 +00:00
lazarus
30ad4f3cd3 MG: gradient fill, minor issues from Andrew
git-svn-id: trunk@1886 -
2002-08-17 23:39:38 +00:00
lazarus
8a7b304b1c MG: fixed DeleteObject
git-svn-id: trunk@1885 -
2002-08-17 23:39:37 +00:00
lazarus
54e07251dc MG: fixed calculation of bitmap size
git-svn-id: trunk@1884 -
2002-08-17 23:39:36 +00:00
lazarus
6887088c65 MG: scrollingwincontrol from Andrew
git-svn-id: trunk@1883 -
2002-08-17 23:39:35 +00:00
lazarus
41ff3efef6 MG: improved TScreen and ShowModal
git-svn-id: trunk@1882 -
2002-08-17 23:39:34 +00:00
lazarus
27576d3691 Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@1881 -
2002-08-17 23:39:33 +00:00
lazarus
3a9e0899dc MG: fixed scrollbars of TTreeView
git-svn-id: trunk@1880 -
2002-08-17 23:39:32 +00:00
lazarus
e023b9766a MG: set SpecialOrigin
git-svn-id: trunk@1879 -
2002-08-17 23:39:31 +00:00
lazarus
037d82dbfb MG: added GetDCOffset
git-svn-id: trunk@1878 -
2002-08-17 23:39:30 +00:00
lazarus
d014f48d44 MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@1877 -
2002-08-17 23:39:29 +00:00
lazarus
5a35618d19 MG: added jitform error messagedlg
git-svn-id: trunk@1876 -
2002-08-17 23:39:28 +00:00
lazarus
62a39fb029 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@1875 -
2002-08-17 23:39:27 +00:00
lazarus
3a379eec0a MG: fixed GraphicClass.Create
git-svn-id: trunk@1874 -
2002-08-17 23:39:26 +00:00
lazarus
7ff7e844bf MG: fixed drawing of non visual components in designer
git-svn-id: trunk@1873 -
2002-08-17 23:39:25 +00:00
lazarus
0fe28ce670 MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@1872 -
2002-08-17 23:39:24 +00:00
lazarus
89d18dedbb MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@1871 -
2002-08-17 23:39:23 +00:00
lazarus
ff3404c47b MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@1870 -
2002-08-17 23:39:22 +00:00
lazarus
fc0ba22dac MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@1869 -
2002-08-17 23:39:21 +00:00
lazarus
b9d2d985de MG: ShortCut support for buttons from Andrew
git-svn-id: trunk@1868 -
2002-08-17 23:39:20 +00:00
lazarus
9e2bf68600 MG: fixed mouse capturing, OI edit focus
git-svn-id: trunk@1867 -
2002-08-17 23:39:19 +00:00
lazarus
5d315e72e9 MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@1866 -
2002-08-17 23:39:18 +00:00
lazarus
0f3b8ecd6b MG: improved theme support from Andrew
git-svn-id: trunk@1865 -
2002-08-17 23:39:17 +00:00
lazarus
394953846b MG: started debugging of mouse capturing
git-svn-id: trunk@1864 -
2002-08-17 23:39:16 +00:00
lazarus
855cdb2230 MG: fixed non AutoCheck menuitems and editor bookmark popupmenu
git-svn-id: trunk@1863 -
2002-08-17 23:39:15 +00:00
lazarus
34e4bf931b MG: fixed mouse events
git-svn-id: trunk@1862 -
2002-08-17 23:39:14 +00:00
lazarus
d3a11ee5aa MG: freeing more unused GCs
git-svn-id: trunk@1861 -
2002-08-17 23:39:13 +00:00
lazarus
45dc587b13 MG: fixed a mem leak in RestoreDC
git-svn-id: trunk@1860 -
2002-08-17 23:39:12 +00:00
lazarus
2992554161 MG: accelerated synedit
git-svn-id: trunk@1859 -
2002-08-17 23:39:11 +00:00
lazarus
c655147c86 MG: added TDeviceContextMemManager
git-svn-id: trunk@1858 -
2002-08-17 23:39:10 +00:00
lazarus
1c1f23543a MG: removed SaveDC and RestoreDC in ExtTextOut
git-svn-id: trunk@1857 -
2002-08-17 23:39:09 +00:00
lazarus
136746e0a9 MG: accelerations for synedit
git-svn-id: trunk@1856 -
2002-08-17 23:39:08 +00:00
lazarus
5b99a74b9a MG: fixed mem some leaks in ide and gtk
git-svn-id: trunk@1855 -
2002-08-17 23:39:07 +00:00
lazarus
d702a000a2 MG: fixed unreleased gdiRegions
git-svn-id: trunk@1854 -
2002-08-17 23:39:06 +00:00
lazarus
9a909f4469 MG: accelerated new/dispose of gdiobjects
git-svn-id: trunk@1853 -
2002-08-17 23:39:05 +00:00
lazarus
204f5ecba3 MG: reduced mem leak of clipping stuff, still not fixed
git-svn-id: trunk@1852 -
2002-08-17 23:39:04 +00:00
lazarus
2a3d550030 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@1851 -
2002-08-17 23:39:03 +00:00
lazarus
6be96de0d3 MG: removed ClientRectBugfix defines
git-svn-id: trunk@1850 -
2002-08-17 15:45:36 +00:00
lazarus
802d2dfa9e MG: added changes from Andrew (Clipping)
git-svn-id: trunk@1843 -
2002-08-15 15:46:50 +00:00
lazarus
f6b0f29b7e MG: started menuitem icon, checked, radio and groupindex
git-svn-id: trunk@1842 -
2002-08-15 13:37:58 +00:00
lazarus
3c3902b44c MG: added gdkpixbuf.pp and changes from Andrew Johnson
git-svn-id: trunk@1841 -
2002-08-13 07:08:25 +00:00
lazarus
c41c7d6a86 MG: added graphics extensions from Andrew Johnson
git-svn-id: trunk@1833 -
2002-08-08 18:05:48 +00:00