Commit Graph

151 Commits

Author SHA1 Message Date
lazarus
db3b4cf2e7 MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@1185 -
2002-02-09 01:48:03 +00:00
lazarus
165c114f9e 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@1177 -
2002-02-09 01:48:02 +00:00
lazarus
d9dc30377f MG: accelerated designer drawings
git-svn-id: trunk@1170 -
2002-02-09 01:48:01 +00:00
lazarus
9fe5a56c15 MG: added patch from Andrew
git-svn-id: trunk@1159 -
2002-02-09 01:48:00 +00:00
lazarus
26106c6c21 MG: gradient fill, minor issues from Andrew
git-svn-id: trunk@1155 -
2002-02-09 01:47:59 +00:00
lazarus
38c4697f8a MG: scrollingwincontrol from Andrew
git-svn-id: trunk@1151 -
2002-02-09 01:47:58 +00:00
lazarus
3580de3baa MG: improved TScreen and ShowModal
git-svn-id: trunk@1143 -
2002-02-09 01:47:57 +00:00
lazarus
2a6219cfd8 MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@1139 -
2002-02-09 01:47:57 +00:00
lazarus
99bcca963c MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@1131 -
2002-02-09 01:47:55 +00:00
lazarus
121072f723 MG: replaced C-style operators
git-svn-id: trunk@1124 -
2002-02-09 01:47:54 +00:00
lazarus
fb79ae6e7f MG: fixed unreleased gdiRegions
git-svn-id: trunk@1117 -
2002-02-09 01:47:53 +00:00
lazarus
e7a0cb32f6 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@1109 -
2002-02-09 01:47:52 +00:00
lazarus
2128439bcd MG: added changes from Andrew (Clipping)
git-svn-id: trunk@1104 -
2002-02-09 01:47:51 +00:00
lazarus
d4332213c0 MG: added gdkpixbuf.pp and changes from Andrew Johnson
git-svn-id: trunk@1093 -
2002-02-09 01:47:50 +00:00
lazarus
30cec09ad4 MG: added graphics extensions from Andrew Johnson
git-svn-id: trunk@1085 -
2002-02-09 01:47:49 +00:00
lazarus
28a08810d9 MG: added property TMenuItems.RightJustify
git-svn-id: trunk@1082 -
2002-02-09 01:47:48 +00:00
lazarus
e7575ea85f MG: TMenuItem can now be created/destroyed/moved at any time
git-svn-id: trunk@1073 -
2002-02-09 01:47:47 +00:00
lazarus
c3aa9369cb MG: codecompletion now checks for filebreaks, savefile now checks for filedate
git-svn-id: trunk@1067 -
2002-02-09 01:47:46 +00:00
lazarus
df220e0edf MG: TMenuItem.Caption can now be set after creation
git-svn-id: trunk@1062 -
2002-02-09 01:47:45 +00:00
lazarus
4daf38e39a MG: moved RectVisible, ExcludeClipRect and IntersectClipRect to interface dependent functions
git-svn-id: trunk@1049 -
2002-02-09 01:47:44 +00:00
lazarus
e8786384f5 MG: improved TFont for XLFD font names
git-svn-id: trunk@1048 -
2002-02-09 01:47:43 +00:00
lazarus
5cc1a09fbd MG: added command line help
git-svn-id: trunk@1038 -
2002-02-09 01:47:42 +00:00
lazarus
e24a2e0d3d MG: started mouse bugfix and completed Makefile.fpc
git-svn-id: trunk@1028 -
2002-02-09 01:47:41 +00:00
lazarus
8ca55b2b02 MG: changed license to LGPL
git-svn-id: trunk@1021 -
2002-02-09 01:47:40 +00:00
lazarus
bab00f8600 MG: further clientrect bugfixes
git-svn-id: trunk@1020 -
2002-02-09 01:47:39 +00:00
lazarus
a8cd67bd10 MG: fixed parser of end blocks in initialization section added label sections
git-svn-id: trunk@1010 -
2002-02-09 01:47:38 +00:00
lazarus
c9e180acac TPanel implemented.
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.

git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
f80c09271e MG: added TCanvas.Polygon and TCanvas.Polyline
git-svn-id: trunk@568 -
2002-01-02 15:24:59 +00:00
lazarus
5a1f41e5ad MG: added TCanvas.Ellipse, TCanvas.Pie
git-svn-id: trunk@557 -
2001-12-28 11:41:51 +00:00
lazarus
32a7b72b7e MG: implemented TCanvas.Arc
git-svn-id: trunk@555 -
2001-12-27 16:31:28 +00:00
lazarus
6db5507f43 MG: implemented DestroyCaret
git-svn-id: trunk@511 -
2001-12-12 14:23:19 +00:00
lazarus
beb8444fd0 MG: fixes for parser and linkscanner and small cleanups
git-svn-id: trunk@420 -
2001-11-14 19:10:03 +00:00
lazarus
a7787f8119 Changes to make toggling between form and unit work.
Added BringWindowToTop
Shane

git-svn-id: trunk@419 -
2001-11-14 17:46:59 +00:00
lazarus
2a1b1f2558 MG: CLIPBOARD
git-svn-id: trunk@411 -
2001-11-12 16:56:09 +00:00
lazarus
54395a0848 MG: fixed caret lost, gtk cleanup, bracket lvls, bookmark saving
git-svn-id: trunk@345 -
2001-10-10 17:55:06 +00:00
lazarus
b8d28a65c6 MG: reduced paint messages
git-svn-id: trunk@300 -
2001-06-26 21:44:33 +00:00
lazarus
1e8f005ddf MWE:
* Fixed some syntax errors for the latest 1.0.5 compiler

git-svn-id: trunk@289 -
2001-06-14 23:13:30 +00:00
lazarus
b11e8615f1 * TTimer uses winapi-interface now instead of sendmessage-interface, stoppok
git-svn-id: trunk@258 -
2001-04-06 22:25:15 +00:00
lazarus
0b8e9b01d6 MG: setwindowpos + bugfixes
git-svn-id: trunk@240 -
2001-03-26 14:58:32 +00:00
lazarus
5718818c2a MG: fixed random function results
git-svn-id: trunk@221 -
2001-03-12 12:17:02 +00:00
lazarus
d7c1389787 Added some functions
Shane

git-svn-id: trunk@184 -
2001-02-16 19:13:31 +00:00
lazarus
b83c55f212 Fixxed the errors I commited with Unionrect
Shane

git-svn-id: trunk@132 -
2001-01-23 19:13:57 +00:00
lazarus
c9bfc42a4d Fixxed bug in RestoreDC
Shane

git-svn-id: trunk@131 -
2001-01-23 19:01:10 +00:00
lazarus
0c11c51967 Added InvalidateRect to gtkwinapi.inc
Shane

git-svn-id: trunk@129 -
2001-01-23 18:42:10 +00:00
lazarus
503f8131c6 Set some defaults in interfacebase.inc
Shane

git-svn-id: trunk@61 -
2000-12-06 14:54:38 +00:00
lazarus
8d46c53658 MWE:
* Updated makefiles for FPC release 1.0  binary units
  * Changed creation, now LCL unit distributions are possible
  * Moved interfaces.pp from LCL to interface dirs

git-svn-id: trunk@33 -
2000-09-10 19:58:48 +00:00
lazarus
5672e45e1d Minor modifications for SynEdit .
Shane

git-svn-id: trunk@31 -
2000-08-14 12:31:12 +00:00
lazarus
f8a1263111 Adding all the Synedit files.
Changed the GDK_KEY_PRESS and GDK_KEY_RELEASE stuff to fix the problem in the editor with the shift key being ignored.
Shane

git-svn-id: trunk@30 -
2000-08-11 14:59:09 +00:00
lazarus
81ae5c8dee Added some winapi calls.
Most don't have code yet.
SetTextCharacterExtra
CharLowerBuff
IsCharAlphaNumeric
Shane

git-svn-id: trunk@29 -
2000-08-10 18:56:24 +00:00
lazarus
1cc50fde23 MWE:
= Moved ObjectToGTKObject to GTKProc unit
  * Fixed array checking in LoadPixmap
  = Moved LM_SETENABLED to API func EnableWindow and EnableMenuItem
  ~ Some cleanup

git-svn-id: trunk@17 -
2000-07-30 21:48:34 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00