Commit Graph

18 Commits

Author SHA1 Message Date
lazarus
21eea01db1 MG: fixed freeing Glyph in TBitBtn.SetKind
git-svn-id: trunk@3497 -
2002-10-10 20:34:33 +00:00
lazarus
27f7ca3e31 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@3373 -
2002-09-27 20:52:23 +00:00
lazarus
5aab225599 MG: removed the 1x1 bitmap from TBitBtn
git-svn-id: trunk@3337 -
2002-09-13 16:58:27 +00:00
lazarus
539b2d26ca MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@3276 -
2002-09-03 08:07:20 +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
3a2ecbd393 MG: DrawFramControl now uses gtk style, transparent STrechBlt
git-svn-id: trunk@1722 -
2002-06-01 08:41:28 +00:00
lazarus
ecfc86ab66 MG: changed license to LGPL
git-svn-id: trunk@1667 -
2002-05-10 06:05:58 +00:00
lazarus
8d718a011d Improved TSpeedButton (Glyph, Spacing, Margin, drawing)
Added PageCount to TNotebook
Optimized component selection buttons a bit.

git-svn-id: trunk@1456 -
2002-02-24 20:51:24 +00:00
lazarus
5710c6c271 MG: fixed speedbuttons numglyphs>1 and started IDE debugging
git-svn-id: trunk@358 -
2001-10-18 13:01:33 +00:00
lazarus
12fdcee41e MG: speedbuttonglyph centered, buttonglyph border fixed
git-svn-id: trunk@312 -
2001-07-03 10:30:32 +00:00
lazarus
fad535a99c MG: bugfixes
git-svn-id: trunk@286 -
2001-06-06 12:30:41 +00:00
lazarus
c966642d4d Fixed typo MAH
git-svn-id: trunk@261 -
2001-04-13 13:37:13 +00:00
lazarus
3bcf623f2a Made fix to buttonglyph to use the correct size of single glyph
Made fix to StretchBlt to use the correct height and width
     Both of these corrected the Win32 Speedbutton problem        MAH

git-svn-id: trunk@260 -
2001-04-13 13:22:23 +00:00
lazarus
d8de02b1dc MG: fixed many unreleased DC and GDIObj bugs
git-svn-id: trunk@228 -
2001-03-19 14:00:52 +00:00
lazarus
5718818c2a MG: fixed random function results
git-svn-id: trunk@221 -
2001-03-12 12:17:02 +00:00
lazarus
2f4f81f07e The Speedbutton now has a numglyphs setting.
I started the TStringPropertyEditor

git-svn-id: trunk@91 -
2001-01-03 18:44:54 +00:00
lazarus
b94c169301 Speedbuttons can now draw disabled images.
Shane

git-svn-id: trunk@88 -
2000-12-29 20:32:33 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00