Commit Graph

237 Commits

Author SHA1 Message Date
lazarus
dfd2edf053 MG: added TDevContextColorType
git-svn-id: trunk@919 -
2002-02-09 01:47:22 +00:00
lazarus
20ff816022 MG: accelerated GDIColor allocating
git-svn-id: trunk@912 -
2002-02-09 01:47:21 +00:00
lazarus
d8f12e4804 MG: accelerated SelectGDKPenProps
git-svn-id: trunk@906 -
2002-02-09 01:47:20 +00:00
lazarus
24bd0b08a8 MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@904 -
2002-02-09 01:47:19 +00:00
lazarus
81c4bdafa2 MG: JITForms now sets csDesigning before creation
git-svn-id: trunk@900 -
2002-02-09 01:47:18 +00:00
lazarus
ec7ede3f47 MG: fixed TComboBox.ItemIndex on CreateWnd
git-svn-id: trunk@895 -
2002-02-09 01:47:17 +00:00
lazarus
26717e1d83 MG: improved TComboBox.SetItemIndex
git-svn-id: trunk@890 -
2002-02-09 01:47:16 +00:00
lazarus
f4c44fae10 MG: added DrawItem to TComboBox/TListBox
git-svn-id: trunk@888 -
2002-02-09 01:47:15 +00:00
lazarus
6f1ae50b0a MG: fixed showmodal without Application.MainForm
git-svn-id: trunk@882 -
2002-02-09 01:47:14 +00:00
lazarus
750ed08ad0 MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@881 -
2002-02-09 01:47:13 +00:00
lazarus
0a9930944d AJ: TCustomLabel Autosize, TCustomCheckbox '&' shortcuts started
git-svn-id: trunk@875 -
2002-02-09 01:47:12 +00:00
lazarus
c3a37da303 MG: added SendCachedLCLMessages to interfacebase for wysiwyg
git-svn-id: trunk@873 -
2002-02-09 01:47:11 +00:00
lazarus
6668a00d67 MG: changed PDeviceContext into class TDeviceContext
git-svn-id: trunk@866 -
2002-02-09 01:47:10 +00:00
lazarus
efc3f06b00 MG: fixed transient of modal forms
git-svn-id: trunk@865 -
2002-02-09 01:47:09 +00:00
lazarus
3910775314 MG: fixed flickering of modal forms
git-svn-id: trunk@859 -
2002-02-09 01:47:08 +00:00
lazarus
8f8e7c2a31 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@855 -
2002-02-09 01:47:07 +00:00
lazarus
66157c2b17 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@854 -
2002-02-09 01:47:06 +00:00
lazarus
f179bc7742 MG: fixed TPanel and Frame3D
git-svn-id: trunk@850 -
2002-02-09 01:47:05 +00:00
lazarus
b37639ec39 MG: accelerated designer drawings
git-svn-id: trunk@848 -
2002-02-09 01:47:04 +00:00
lazarus
960069d6bd MG: added patch from Andrew
git-svn-id: trunk@843 -
2002-02-09 01:47:03 +00:00
lazarus
b081c0a951 MG: fixed mem leak in TComboBox
git-svn-id: trunk@841 -
2002-02-09 01:47:02 +00:00
lazarus
069da21d6f MG: replaced halt with raiseexception
git-svn-id: trunk@837 -
2002-02-09 01:47:01 +00:00
lazarus
65d4b907d4 Resize cursors in designer.
git-svn-id: trunk@835 -
2002-02-09 01:47:00 +00:00
lazarus
cb40c565c3 MG: fixed calling DestroyHandle if not HandleAllocated
git-svn-id: trunk@833 -
2002-02-09 01:46:59 +00:00
lazarus
8ca757f0f6 MG: removed the 1x1 bitmap from TBitBtn
git-svn-id: trunk@829 -
2002-02-09 01:46:58 +00:00
lazarus
f2c02170fd Cleanups, extended TStatusBar, graphic control cleanups.
git-svn-id: trunk@827 -
2002-02-09 01:46:57 +00:00
lazarus
3425ca1904 MG: gradient fill, minor issues from Andrew
git-svn-id: trunk@825 -
2002-02-09 01:46:56 +00:00
lazarus
246f198a0e MG: added TLabel.WordWrap for gtk-interface from Vincent
git-svn-id: trunk@823 -
2002-02-09 01:46:55 +00:00
lazarus
45b0bd34d0 MG: TListView now works handleless and SetSelection implemented
git-svn-id: trunk@821 -
2002-02-09 01:46:54 +00:00
lazarus
b2b3f03cef MG: scrollingwincontrol from Andrew
git-svn-id: trunk@820 -
2002-02-09 01:46:53 +00:00
lazarus
8ff70eb8c0 Fixed and simplified TRadioButton
git-svn-id: trunk@817 -
2002-02-09 01:46:52 +00:00
lazarus
97ba666b7e MG: fixed streaming visible=false
git-svn-id: trunk@816 -
2002-02-09 01:46:51 +00:00
lazarus
625d865249 Make TComboboxes sort again, including in OI
git-svn-id: trunk@814 -
2002-02-09 01:46:50 +00:00
lazarus
10b0fcfea4 EchoMode for TCustomEdit. emNone not implemented for GTK+, falls back to emPassword
behaviour.

git-svn-id: trunk@811 -
2002-02-09 01:46:49 +00:00
lazarus
db8e61d100 Enabled cursor property + property editor.
git-svn-id: trunk@810 -
2002-02-09 01:46:48 +00:00
lazarus
648351e905 Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@807 -
2002-02-09 01:46:47 +00:00
lazarus
6e5fba456d MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@805 -
2002-02-09 01:46:46 +00:00
lazarus
a5013f860e MG: activated InvalidateControl for TWinControls
git-svn-id: trunk@803 -
2002-02-09 01:46:45 +00:00
lazarus
7b68ee0230 MG: TNotebook is now streamable
git-svn-id: trunk@801 -
2002-02-09 01:46:44 +00:00
lazarus
6cab36934a 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@799 -
2002-02-09 01:46:43 +00:00
lazarus
65f88cab6d Workaround GTK accelerator bug.
git-svn-id: trunk@797 -
2002-02-09 01:46:42 +00:00
lazarus
328ab9b40f MG: improved streaming error handling
git-svn-id: trunk@795 -
2002-02-09 01:46:41 +00:00
lazarus
d526439109 Added shortcut keys to labels
Support for alphabetically sorting the properties
Standardize message and add shortcuts ala Kylix
Published BorderStyle, unpublished BorderWidth
ShowAccelChar and FocusControl
ShowAccelChar and FocusControl for TLabel, escaped ampersands now work.

git-svn-id: trunk@793 -
2002-02-09 01:46:40 +00:00
lazarus
83ece02b83 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@791 -
2002-02-09 01:46:39 +00:00
lazarus
f697080808 MG: TNoteBook now starts with no Page and TPage has no auto names
git-svn-id: trunk@789 -
2002-02-09 01:46:38 +00:00
lazarus
bd541db19e MG: double, triple and quad clicks now works
git-svn-id: trunk@788 -
2002-02-09 01:46:37 +00:00
lazarus
80bb95f0d1 MG: fixed destroying combobox
git-svn-id: trunk@785 -
2002-02-09 01:46:36 +00:00
lazarus
aacb5b985f MG: fixed range check error in ampersands2underscore
git-svn-id: trunk@783 -
2002-02-09 01:46:35 +00:00
lazarus
dbd0fcac48 MG: fixed resetting comobobox text
git-svn-id: trunk@781 -
2002-02-09 01:46:34 +00:00
lazarus
e667655f3e MG: added failure exit
git-svn-id: trunk@780 -
2002-02-09 01:46:33 +00:00