Commit Graph

1138 Commits

Author SHA1 Message Date
mattias
a105dce7ce fixed transient windows
git-svn-id: trunk@2276 -
2002-08-17 23:41:12 +00:00
mattias
d44114cef5 double byte char font started
git-svn-id: trunk@2273 -
2002-08-17 23:41:12 +00:00
mattias
0851e8ccab added Timer patch from Vincent Snijders
git-svn-id: trunk@2271 -
2002-08-17 23:41:12 +00:00
mattias
971752d7be started OnMouseEnter and OnMouseLeave
git-svn-id: trunk@2270 -
2002-08-17 23:41:11 +00:00
lazarus
89e58fb85c MG: improved TScreen and ShowModal
git-svn-id: trunk@2267 -
2002-08-17 23:41:11 +00:00
lazarus
329820a368 MG: added GetDCOffset
git-svn-id: trunk@2264 -
2002-08-17 23:41:11 +00:00
mattias
db8d1de469 localized gtk interface
git-svn-id: trunk@2263 -
2002-08-17 23:41:11 +00:00
mattias
88d60a89fa implemented removing, re-adding, updating project dependencies
git-svn-id: trunk@2260 -
2002-08-17 23:41:11 +00:00
mattias
ee3cc2df62 implemented build lazarus extra options -d
git-svn-id: trunk@2256 -
2002-08-17 23:41:11 +00:00
mattias
fcb96fab66 started OnMouseEnter and OnMouseLeave
git-svn-id: trunk@2255 -
2002-08-17 23:41:10 +00:00
mattias
84c890b989 fixed TComboBox.OnChange
git-svn-id: trunk@2249 -
2002-08-17 23:41:10 +00:00
mattias
17a19514d5 reduced output
git-svn-id: trunk@2248 -
2002-08-17 23:41:10 +00:00
mbukovjan
093eee01fa Fixes to MaxLength. TCustomMemo now has MaxLength, too.
git-svn-id: trunk@2247 -
2002-08-17 23:41:10 +00:00
lazarus
f99696de4f MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@2243 -
2002-08-17 23:41:10 +00:00
mattias
665c7e910f reduced focus handling and improved focus setting
git-svn-id: trunk@2242 -
2002-08-17 23:41:10 +00:00
lazarus
722f0659bb MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@2240 -
2002-08-17 23:41:09 +00:00
lazarus
c4d033418f MG: implemented hints
git-svn-id: trunk@2239 -
2002-08-17 23:41:09 +00:00
lazarus
3aeb3bd06f MG: fixed setting gdk pen style
git-svn-id: trunk@2238 -
2002-08-17 23:41:09 +00:00
mattias
97994fe9c7 fixed TMemo.WordWrap
git-svn-id: trunk@2237 -
2002-08-17 23:41:09 +00:00
mattias
806dff6651 fixed key grabbing
git-svn-id: trunk@2234 -
2002-08-17 23:41:09 +00:00
lazarus
2045fe8067 MG: accelerated synedit
git-svn-id: trunk@2232 -
2002-08-17 23:41:09 +00:00
mattias
8725ec61f1 improved focus debugging output
git-svn-id: trunk@2230 -
2002-08-17 23:41:09 +00:00
lazarus
14a479ce44 MG: implemented TMethodList and Application Idle handlers
git-svn-id: trunk@2226 -
2002-08-17 23:41:08 +00:00
mattias
36f75898ef added but not implemented ComboBoxDropDown
git-svn-id: trunk@2225 -
2002-08-17 23:41:08 +00:00
lazarus
796c579129 MG: added TDeviceContextMemManager
git-svn-id: trunk@2224 -
2002-08-17 23:41:08 +00:00
lazarus
4470d1e72c MG: implemented hints
git-svn-id: trunk@2223 -
2002-08-17 23:41:08 +00:00
mattias
cc60da4963 removed SetRadioButtonGroupMode
git-svn-id: trunk@2221 -
2002-08-17 23:41:08 +00:00
lazarus
b0cfee2083 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@2220 -
2002-08-17 23:41:08 +00:00
mattias
a0dcebd355 reduced speedbutton invalidates, added TCanvas.Frame
git-svn-id: trunk@2217 -
2002-08-17 23:41:08 +00:00
lazarus
2f5a28affb MG: implemented TMethodList and Application Idle handlers
git-svn-id: trunk@2211 -
2002-08-17 23:41:07 +00:00
mattias
20c16133bf fixed TRadioGroup.ItemIndex=-1
git-svn-id: trunk@2210 -
2002-08-17 23:41:07 +00:00
mattias
24234b5c94 fixed clipboard waiting and kwrite targets
git-svn-id: trunk@2208 -
2002-08-17 23:41:07 +00:00
mattias
abd7e6ce94 fixed gtk warning on setting item height
git-svn-id: trunk@2206 -
2002-08-17 23:41:07 +00:00
lazarus
0f8821429c MG: fixed unreleased gdiRegions
git-svn-id: trunk@2205 -
2002-08-17 23:41:07 +00:00
lazarus
5d34a4e031 MG: fixed radiobutton mousedown after
git-svn-id: trunk@2203 -
2002-08-17 23:41:07 +00:00
lazarus
3588cfdbec MG: mouse cursors are now allocated on demand
git-svn-id: trunk@2198 -
2002-08-17 23:41:06 +00:00
mattias
38f8725c91 implemented changing dependency version
git-svn-id: trunk@2197 -
2002-08-17 23:41:06 +00:00
lazarus
67e947a35b MG: accelerators are now shared between non modal forms
git-svn-id: trunk@2193 -
2002-08-17 23:41:06 +00:00
lazarus
3c67429d0a MG: accelerated new/dispose of gdiobjects
git-svn-id: trunk@2190 -
2002-08-17 23:41:06 +00:00
mattias
e717242eba added IsWindowVisible
git-svn-id: trunk@2189 -
2002-08-17 23:41:06 +00:00
mattias
37cddc2821 fixed testall example
git-svn-id: trunk@2188 -
2002-08-17 23:41:06 +00:00
mattias
359d02ddf0 added LM_APPENDTEXT from hernan
git-svn-id: trunk@2186 -
2002-08-17 23:41:05 +00:00
mattias
9dd4377ab8 added more Delphi win32 compatibility functions
git-svn-id: trunk@2185 -
2002-08-17 23:41:05 +00:00
mattias
cbf91e11ce fixed checking menuitems
git-svn-id: trunk@2184 -
2002-08-17 23:41:05 +00:00
lazarus
02b3856fd0 MG: impoved focussing, unfocussing on destroy and fixed unit search
git-svn-id: trunk@2182 -
2002-08-17 23:41:05 +00:00
lazarus
b186454475 MG: fixed frmactivate
git-svn-id: trunk@2180 -
2002-08-17 23:41:05 +00:00
mattias
abcd6ea5cc fixed mem leak of tooltips in GetStyle
git-svn-id: trunk@2176 -
2002-08-17 23:41:04 +00:00
lazarus
2cddba2318 MG: broke LCL<->interface circles
git-svn-id: trunk@2174 -
2002-08-17 23:41:04 +00:00
mattias
4b70d5fa02 fixed clipping origin in stretchblt
git-svn-id: trunk@2171 -
2002-08-17 23:41:04 +00:00
mattias
a076aa44fc started package registration
git-svn-id: trunk@2170 -
2002-08-17 23:41:04 +00:00
lazarus
b2d018bc6d MG: fixes for fpc1.1
git-svn-id: trunk@2169 -
2002-08-17 23:41:04 +00:00
mattias
18773f3584 custom controls now support child wincontrols
git-svn-id: trunk@2165 -
2002-08-17 23:41:03 +00:00
lazarus
e36197ff51 AJ:Minor fixes for Win32 GTK compiling
git-svn-id: trunk@2164 -
2002-08-17 23:41:03 +00:00
lazarus
093d4f4717 AJ: minor fixes for FPC 1.1
git-svn-id: trunk@2163 -
2002-08-17 23:41:03 +00:00
mattias
4f2f914830 implemented ShowWindow for gtk2
git-svn-id: trunk@2161 -
2002-08-17 23:41:03 +00:00
mattias
b0deed02d2 added exception handling for createpixmapindirect
git-svn-id: trunk@2158 -
2002-08-17 23:41:03 +00:00
ajgenius
ece0b53fc0 initial changes to fix mask vs. region clipping
git-svn-id: trunk@2154 -
2002-08-17 23:41:02 +00:00
lazarus
eff265aa39 AJ: Moved form contents creation to gtkproc for code
reuse between GNOME and GTK, and to make GNOME MDI
    programming easier later on.

git-svn-id: trunk@2151 -
2002-08-17 23:41:02 +00:00
lazarus
e9c3c86527 MG: fixed uncapturing of mouse
git-svn-id: trunk@2149 -
2002-08-17 23:41:02 +00:00
mattias
5a95c443cd fixed default font
git-svn-id: trunk@2148 -
2002-08-17 23:41:02 +00:00
mattias
5a859b3806 localized gtk interface
git-svn-id: trunk@2145 -
2002-08-17 23:41:01 +00:00
lazarus
8a6133e3c4 MG: accelerators are now shared between non modal forms
git-svn-id: trunk@2142 -
2002-08-17 23:41:01 +00:00
mattias
1d9317b866 fixed untransienting
git-svn-id: trunk@2140 -
2002-08-17 23:41:01 +00:00
lazarus
7e33b812c4 MG: made mouse capturing more strict
git-svn-id: trunk@2139 -
2002-08-17 23:41:01 +00:00
lazarus
0b867d1b21 MG: fixed timers
git-svn-id: trunk@2136 -
2002-08-17 23:41:00 +00:00
mattias
798bb24b11 implemented findeclaration gdb exceptions
git-svn-id: trunk@2135 -
2002-08-17 23:41:00 +00:00
mattias
2a146b5934 added ShowWindow
git-svn-id: trunk@2129 -
2002-08-17 23:41:00 +00:00
lazarus
acbb613ac5 MG: fixed frmactivate
git-svn-id: trunk@2128 -
2002-08-17 23:41:00 +00:00
mattias
69e4aa752c implemented changing TMenuItem.GroupIndex at runtime
git-svn-id: trunk@2123 -
2002-08-17 23:40:59 +00:00
mattias
8494d474c2 added transient deactivation option and updated localization
git-svn-id: trunk@2122 -
2002-08-17 23:40:59 +00:00
lazarus
f6ebb1bb31 AJ: rearranged GTK init stuff for proper GNOME init & less duplication between interfaces
git-svn-id: trunk@2121 -
2002-08-17 23:40:59 +00:00
lazarus
e90b0b7daf MG: fixed timer checking
git-svn-id: trunk@2120 -
2002-08-17 23:40:59 +00:00
lazarus
cce4aadc2f MG: fixed zombie timers
git-svn-id: trunk@2118 -
2002-08-17 23:40:58 +00:00
lazarus
10bb089942 MG: fixes for 1.1
git-svn-id: trunk@2117 -
2002-08-17 23:40:58 +00:00
mattias
a3539b698f fixed uninitialized style
git-svn-id: trunk@2116 -
2002-08-17 23:40:58 +00:00
mattias
e7d65f6940 implemented build lazarus extra options -d
git-svn-id: trunk@2113 -
2002-08-17 23:40:58 +00:00
lazarus
6db6439303 MG: gtk interface now sends keyboard events via DeliverMessage
git-svn-id: trunk@2109 -
2002-08-17 23:40:57 +00:00
mattias
8a3b0768fb fixed set method in OI
git-svn-id: trunk@2108 -
2002-08-17 23:40:57 +00:00
mattias
947e4d8c21 fixed sending TButtonControl.OnClick on every change
git-svn-id: trunk@2106 -
2002-08-17 23:40:57 +00:00
lazarus
45a54d0346 MG: fixes for fpc1.1
git-svn-id: trunk@2105 -
2002-08-17 23:40:57 +00:00
lazarus
a63c3bf7c7 AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
git-svn-id: trunk@2102 -
2002-08-17 23:40:56 +00:00
lazarus
3cfa4548fb MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@2101 -
2002-08-17 23:40:56 +00:00
mattias
c01ac3a4da reduced speedbutton invalidates, added TCanvas.Frame
git-svn-id: trunk@2100 -
2002-08-17 23:40:56 +00:00
mattias
3d9c75633e implemented TMemo.SelLength, improved OI hints
git-svn-id: trunk@2098 -
2002-08-17 23:40:56 +00:00
mattias
0c16169447 fixed clipboard waiting and kwrite targets
git-svn-id: trunk@2096 -
2002-08-17 23:40:55 +00:00
lazarus
6a4f825241 MG: fixed uncapturing of mouse
git-svn-id: trunk@2094 -
2002-08-17 23:40:55 +00:00
lazarus
2b3ce4681a MG: fixed client origin coordinates
git-svn-id: trunk@2092 -
2002-08-17 23:40:55 +00:00
mattias
831bce3844 reduced focus handling and improved focus setting
git-svn-id: trunk@2091 -
2002-08-17 23:40:55 +00:00
mattias
f2b2481e53 fixed synedit mouse pos to logical column
git-svn-id: trunk@2090 -
2002-08-17 23:40:54 +00:00
lazarus
857e635e3c MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@2089 -
2002-08-17 23:40:54 +00:00
mattias
3de794c373 set transient forms with Screen object order
git-svn-id: trunk@2087 -
2002-08-17 23:40:54 +00:00
lazarus
dba5b08be2 MG: made mouse capturing more strict
git-svn-id: trunk@2086 -
2002-08-17 23:40:54 +00:00
lazarus
45e5195ad2 MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@2084 -
2002-08-17 23:40:53 +00:00
mattias
ab650debf3 fixed synedit ensure cursor pos visible with tab chars
git-svn-id: trunk@2083 -
2002-08-17 23:40:53 +00:00
mattias
92282e4044 improved focus debugging output
git-svn-id: trunk@2081 -
2002-08-17 23:40:53 +00:00
lazarus
a229d698b5 AJ: added forcelinebreaks
git-svn-id: trunk@2080 -
2002-08-17 23:40:53 +00:00
lazarus
d536c331cd MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@2079 -
2002-08-17 23:40:53 +00:00
mattias
e909c7698d clean ups
git-svn-id: trunk@2078 -
2002-08-17 23:40:52 +00:00
mattias
bf771a6de7 removed SetRadioButtonGroupMode
git-svn-id: trunk@2077 -
2002-08-17 23:40:52 +00:00
lazarus
379bf37e81 MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@2075 -
2002-08-17 23:40:52 +00:00
lazarus
dca4b01b64 MG: improved TComboBox.SetItemIndex
git-svn-id: trunk@2073 -
2002-08-17 23:40:52 +00:00
lazarus
688e139c86 AJ: started GNOME interface & modified gtk interface so everything is public/protected
git-svn-id: trunk@2072 -
2002-08-17 23:40:51 +00:00
mattias
a4134a4191 fixed TRadioGroup.ItemIndex=-1
git-svn-id: trunk@2071 -
2002-08-17 23:40:51 +00:00
lazarus
ea233b19f2 MG: no OnChange event when app sets Text of TComboBox
git-svn-id: trunk@2070 -
2002-08-17 23:40:51 +00:00
mattias
2de2d41d0a fixes for win32 listbox/combobox from Karl Brandt
git-svn-id: trunk@2069 -
2002-08-17 23:40:51 +00:00
mattias
5fab612e19 fixed setting activecontrol after createwnd
git-svn-id: trunk@2065 -
2002-08-17 23:40:50 +00:00
lazarus
afea81a59f MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@2064 -
2002-08-17 23:40:50 +00:00
mattias
242b61c96f added history to identifier completion
git-svn-id: trunk@2062 -
2002-08-17 23:40:50 +00:00
mattias
ce20604cdd focus fixes, reduced lpi size
git-svn-id: trunk@2061 -
2002-08-17 23:40:49 +00:00
mattias
32858fba0c improved but not fixed transient windows
git-svn-id: trunk@2058 -
2002-08-17 23:40:49 +00:00
lazarus
44a63cfd06 MG: deactivated transient modal forms
git-svn-id: trunk@2057 -
2002-08-17 23:40:49 +00:00
lazarus
811719d1e2 MG: fixed transient of modal forms
git-svn-id: trunk@2056 -
2002-08-17 23:40:48 +00:00
mattias
c520af0c4e xmlcfg deletion, focus fixes
git-svn-id: trunk@2055 -
2002-08-17 23:40:48 +00:00
mattias
57fd163501 implemented transient windows for all cases
git-svn-id: trunk@2054 -
2002-08-17 23:40:48 +00:00
lazarus
1fb70b7da7 MG: fixed flickering of modal forms
git-svn-id: trunk@2051 -
2002-08-17 23:40:47 +00:00
mattias
f7b096bb6a fixed transient windows
git-svn-id: trunk@2050 -
2002-08-17 23:40:47 +00:00
mattias
e5395755d3 cleanup
git-svn-id: trunk@2048 -
2002-08-17 23:40:47 +00:00
mattias
57973ac038 added more Delphi win32 compatibility functions
git-svn-id: trunk@2046 -
2002-08-17 23:40:46 +00:00
mattias
409cb9b734 added TControl.HandleObjectShouldBeVisible
git-svn-id: trunk@2045 -
2002-08-17 23:40:46 +00:00
lazarus
de73023577 MG: added DoSaveAll before CloseAll
git-svn-id: trunk@2044 -
2002-08-17 23:40:46 +00:00
mattias
f7dd7796e0 added visiblechanging
git-svn-id: trunk@2042 -
2002-08-17 23:40:45 +00:00
mattias
638395d2fc changes for fpc 1.1
git-svn-id: trunk@2041 -
2002-08-17 23:40:45 +00:00
lazarus
85b0cec36c MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com>
Patch includes:
    -fixes Problems with hiding modal forms
    -temporarily fixes TCustomForm.BorderStyle in bsNone
    -temporarily fixes problems with improper tabbing in TSynEdit

git-svn-id: trunk@2040 -
2002-08-17 23:40:45 +00:00
mattias
c33be71941 added included by to unitinfo and a few win32 functions
git-svn-id: trunk@2039 -
2002-08-17 23:40:44 +00:00
mattias
8e6f4e3b2e localized gtk interface
git-svn-id: trunk@2038 -
2002-08-17 23:40:44 +00:00
lazarus
7db6cc75a8 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@2036 -
2002-08-17 23:40:44 +00:00
mattias
8456870b33 added more windows funcs and fixed jump to compiler error end of file
git-svn-id: trunk@2035 -
2002-08-17 23:40:43 +00:00
mattias
3174e94d47 finshed Make Resourcestring dialog and implemented TToggleBox
git-svn-id: trunk@2033 -
2002-08-17 23:40:43 +00:00
lazarus
703f0b916f MG: added patch from Andrew
git-svn-id: trunk@2032 -
2002-08-17 23:40:43 +00:00
mattias
d7d9155d6f custom controls now support child wincontrols
git-svn-id: trunk@2031 -
2002-08-17 23:40:42 +00:00
lazarus
b92fe41b81 Resize cursors in designer.
git-svn-id: trunk@2029 -
2002-08-17 23:40:42 +00:00
mattias
b99e4f7796 added new ... dialog
git-svn-id: trunk@2028 -
2002-08-17 23:40:42 +00:00
lazarus
f54824f409 MG: renamed designerstr.pas to objinspstrconsts.pas
git-svn-id: trunk@2026 -
2002-08-17 23:40:41 +00:00
mattias
82a79bcc79 improved ExtTxtOut: support for char dist array
git-svn-id: trunk@2025 -
2002-08-17 23:40:41 +00:00
mattias
9d03ecd608 fixed setting TTreeView.ScrollBars
git-svn-id: trunk@2024 -
2002-08-17 23:40:41 +00:00
mattias
fc31a23939 combobox height can now be set, added OI item height option
git-svn-id: trunk@2022 -
2002-08-17 23:40:40 +00:00
lazarus
4bb43f437e MG: gtk mlouse events can now be fetched before or after
git-svn-id: trunk@2021 -
2002-08-17 23:40:40 +00:00
mattias
6655ed568d double byte char font started
git-svn-id: trunk@2020 -
2002-08-17 23:40:40 +00:00
lazarus
58e25a3e72 MG: scrollingwincontrol from Andrew
git-svn-id: trunk@2019 -
2002-08-17 23:40:39 +00:00
mattias
b07c5b226d implemented fsUnderLine for ExtTextOut for gtk
git-svn-id: trunk@2017 -
2002-08-17 23:40:39 +00:00
mattias
c5cc5de28a implemented changing TMenuItem.GroupIndex at runtime
git-svn-id: trunk@2016 -
2002-08-17 23:40:39 +00:00
lazarus
40c4529ddb MG: added multiselection to TTreeView
git-svn-id: trunk@2015 -
2002-08-17 23:40:38 +00:00
mattias
06b1f43748 added Timer patch from Vincent Snijders
git-svn-id: trunk@2013 -
2002-08-17 23:40:38 +00:00
mattias
3f45b7a427 fixed TCustomEdit.SelStart when nothing selected
git-svn-id: trunk@2012 -
2002-08-17 23:40:38 +00:00
mattias
8e135ecbd4 fixed scrolling offset of TScrollingWinControl
git-svn-id: trunk@2011 -
2002-08-17 23:40:37 +00:00
lazarus
c30ed6f2fb EchoMode for TCustomEdit. emNone not implemented for GTK+, falls back to emPassword
behaviour.

git-svn-id: trunk@2009 -
2002-08-17 23:40:37 +00:00
lazarus
ba9a1380a2 MG: fixed TMainMenu creation
git-svn-id: trunk@2008 -
2002-08-17 23:40:37 +00:00
mattias
c8bc6b7ad6 fixed TSpinEdit.Value
git-svn-id: trunk@2007 -
2002-08-17 23:40:36 +00:00
lazarus
f7aeef6c24 MG: fixed gdkwindow checks
git-svn-id: trunk@2006 -
2002-08-17 23:40:36 +00:00
lazarus
2a80832e93 Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@2005 -
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
mattias
a8fb5c2730 implemented fsStayOnTop+bsNone for forms under gtk (useful for splash)
git-svn-id: trunk@2001 -
2002-08-17 23:40:35 +00:00
lazarus
4dcdd090d2 MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@2000 -
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
mattias
ddddcfd940 fixed setcolor for streamed components
git-svn-id: trunk@1997 -
2002-08-17 23:40:34 +00:00
lazarus
01d5566007 MG: TNotebook is now streamable
git-svn-id: trunk@1996 -
2002-08-17 23:40:34 +00:00
mattias
c4f54e8a8c clean ups
git-svn-id: trunk@1995 -
2002-08-17 23:40:33 +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
6a8d07fed4 New dialog for multiline caption of TCustomLabel.
Prettified TStrings property editor.
Memo now has automatic scrollbars (not fully working), WordWrap and Scrollbars property
Removed saving of old combo text (it broke things and is not needed). Cleanups.

git-svn-id: trunk@1992 -
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
f5f9fc75f5 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@1990 -
2002-08-17 23:40:32 +00:00
mattias
9f435a220c fixes for win32 listbox/combobox from Karl Brandt
git-svn-id: trunk@1989 -
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
44be5bffe9 MG: double, triple and quad clicks now works
git-svn-id: trunk@1985 -
2002-08-17 23:40:31 +00:00
mattias
8349a42be9 identifier completion: basically working, still hidden
git-svn-id: trunk@1984 -
2002-08-17 23:40:31 +00:00
mattias
e5a72b3c89 further cleanup
git-svn-id: trunk@1982 -
2002-08-17 23:40:30 +00:00
lazarus
7f7fb2cb15 MG: fixed destroying combobox
git-svn-id: trunk@1981 -
2002-08-17 23:40:30 +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
mattias
4a7e4840d0 focus fixes, reduced lpi size
git-svn-id: trunk@1978 -
2002-08-17 23:40:29 +00:00
lazarus
7aa2430516 MG: fixed resetting comobobox text
git-svn-id: trunk@1976 -
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
mattias
695d576ca7 xmlcfg deletion, focus fixes
git-svn-id: trunk@1974 -
2002-08-17 23:40:28 +00:00
lazarus
518962c472 MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@1973 -
2002-08-17 23:40:28 +00:00
lazarus
d76072b95e MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@1972 -
2002-08-17 23:40:27 +00:00
mattias
debbbef933 fixed SetColor
git-svn-id: trunk@1971 -
2002-08-17 23:40:27 +00:00
lazarus
e3d4a67ca1 MG: fixed return polygon point
git-svn-id: trunk@1970 -
2002-08-17 23:40:27 +00:00
lazarus
fb47c94ac2 MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@1968 -
2002-08-17 23:40:26 +00:00
mattias
e376417311 added more Delphi win32 compatibility functions
git-svn-id: trunk@1967 -
2002-08-17 23:40:26 +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
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