Commit Graph

809 Commits

Author SHA1 Message Date
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
mattias
ce8e8b1113 implemented TListBox.TopIndex
git-svn-id: trunk@1964 -
2002-08-17 23:40:25 +00:00
lazarus
bf90f8c32d MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@1963 -
2002-08-17 23:40:25 +00:00
mattias
c1da001b0f fixed uninitialized logbrush
git-svn-id: trunk@1961 -
2002-08-17 23:40:24 +00:00
lazarus
062ae305eb MG: ignoring double clicks for components that dont want them
git-svn-id: trunk@1960 -
2002-08-17 23:40:24 +00:00
lazarus
b960c0b55f MG: removed interfaces
git-svn-id: trunk@1958 -
2002-08-17 23:40:24 +00:00
mattias
6d4ac41744 changes for fpc 1.1
git-svn-id: trunk@1956 -
2002-08-17 23:40:23 +00:00
lazarus
5d1cd8295d MG: fixed mouse capturing, OI edit focus
git-svn-id: trunk@1955 -
2002-08-17 23:40:23 +00:00
lazarus
44db1cb51c MG: removed interfaces
git-svn-id: trunk@1954 -
2002-08-17 23:40:23 +00:00
lazarus
65867d6762 MG: fixed double click recognition
git-svn-id: trunk@1953 -
2002-08-17 23:40:22 +00:00
mattias
632b401809 added included by to unitinfo and a few win32 functions
git-svn-id: trunk@1952 -
2002-08-17 23:40:22 +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
mattias
ed32192473 fixed setting activecontrol to nil when removing component
git-svn-id: trunk@1947 -
2002-08-17 23:40:21 +00:00
lazarus
875c639d05 MG: reduced output
git-svn-id: trunk@1946 -
2002-08-17 23:40:21 +00:00
mattias
3f50a49cd3 Button.Default now sets focus
git-svn-id: trunk@1945 -
2002-08-17 23:40:20 +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
fcf6d2c8ad MG: fixed bracket hilighting
git-svn-id: trunk@1943 -
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
mattias
c0dce55dbc mem leak with tooltips, fix from Jeroen
git-svn-id: trunk@1941 -
2002-08-17 23:40:19 +00:00
lazarus
98df6bbea2 MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@1940 -
2002-08-17 23:40:19 +00:00
mattias
8831ae73d0 custom controls now support child wincontrols
git-svn-id: trunk@1938 -
2002-08-17 23:40:18 +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
72068ba7c7 MG: improved theme support from Andrew
git-svn-id: trunk@1936 -
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
2260ea6b1a MG: fixed non AutoCheck menuitems and editor bookmark popupmenu
git-svn-id: trunk@1933 -
2002-08-17 23:40:17 +00:00
mattias
882fd86034 freeing GDIObjects without AppTerminate
git-svn-id: trunk@1931 -
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
mattias
59e044f78a fixes for fpc 1.1
git-svn-id: trunk@1929 -
2002-08-17 23:40:16 +00:00
lazarus
a8b08fac69 MG: fixed key events and changed pixmap loading
git-svn-id: trunk@1928 -
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
11724122a0 MG: fixed mouse events
git-svn-id: trunk@1926 -
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
a7f7084e68 MG: changed user input events from queue to direct
git-svn-id: trunk@1924 -
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
f4a51bed65 MG: design signals for gtk internal widgets
git-svn-id: trunk@1922 -
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
c79a5b5bc0 MG: fixed parser for Clx enums and empty param lists
git-svn-id: trunk@1920 -
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