Commit Graph

196 Commits

Author SHA1 Message Date
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
e4c398a208 MG: added patch from Andrew
git-svn-id: trunk@3361 -
2002-09-18 17:07:30 +00:00
lazarus
109aaa2ab7 MG: started TCollectionPropertyEditor
git-svn-id: trunk@3304 -
2002-09-09 07:26:42 +00:00
lazarus
4f2ae66e68 Fixed and simplified TRadioButton
git-svn-id: trunk@3302 -
2002-09-08 19:09:55 +00:00
lazarus
bb06eb301c EchoMode for TCustomEdit. emNone not implemented for GTK+, falls back to emPassword
behaviour.

git-svn-id: trunk@3296 -
2002-09-07 12:14:50 +00:00
lazarus
054b715d8d 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@3283 -
2002-09-05 10:12:07 +00:00
lazarus
da2e467433 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@3278 -
2002-09-03 11:32:49 +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
77006e3b51 Use comboboxes. Use history. Prettify the dialog. Preselect text on show.
Make the findreplace a dialog. Thus removing resiying code (handled by Anchors now anyway).
Make Anchors work again and publish them for various controls.
SelStart and Co. for TEdit, SelectAll procedure for TComboBox and TEdit.
Clean up and fix some bugs for TComboBox, plus selection stuff.

git-svn-id: trunk@3263 -
2002-08-30 06:46:03 +00:00
lazarus
0820232958 MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@3253 -
2002-08-27 18:45:13 +00:00
lazarus
ee117c5aeb MG: fixed designer component deletion
git-svn-id: trunk@3252 -
2002-08-27 14:33:37 +00:00
lazarus
6670f3b92c MG: replaced C-style operators
git-svn-id: trunk@3242 -
2002-08-25 13:31:35 +00:00
lazarus
982d2882b7 MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@3237 -
2002-08-24 06:51:22 +00:00
lazarus
10c89e7da7 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@3226 -
2002-08-19 20:34:49 +00:00
lazarus
6be96de0d3 MG: removed ClientRectBugfix defines
git-svn-id: trunk@1850 -
2002-08-17 15:45:36 +00:00
lazarus
a7c6ec0711 MG: fixed get widget position for inherited gdkwindows
git-svn-id: trunk@1791 -
2002-07-23 07:40:52 +00:00
lazarus
d9b4ed05d3 MG: activated the clientrect bugfixes
git-svn-id: trunk@1702 -
2002-05-20 14:19:03 +00:00
lazarus
c01f402583 MG: fixed client rectangles, TRadioGroup, RecreateWnd
git-svn-id: trunk@1676 -
2002-05-13 14:47:01 +00:00
lazarus
ecfc86ab66 MG: changed license to LGPL
git-svn-id: trunk@1667 -
2002-05-10 06:05:58 +00:00
lazarus
8e03c7cef1 MG: further clientrect bugfixes
git-svn-id: trunk@1665 -
2002-05-09 12:41:32 +00:00
lazarus
b9f3eb9c5a MG: fixed AdjustClientRect of TGroupBox
git-svn-id: trunk@1626 -
2002-04-22 13:07:46 +00:00
lazarus
25b2c52fe6 MG: fixed save lrs to test dir
git-svn-id: trunk@1621 -
2002-04-21 06:53:55 +00:00
lazarus
b55a0943cc MG: added include comments
git-svn-id: trunk@1618 -
2002-04-18 08:09:03 +00:00
lazarus
d02846cc88 MG: fixed find declaration of forward def class
git-svn-id: trunk@1617 -
2002-04-18 07:53:08 +00:00
lazarus
852eb5a81f GTK Cleanup
Shane

git-svn-id: trunk@1545 -
2002-03-25 17:59:20 +00:00
lazarus
721fce0aee MWE:
+ Published OnClick for TMenuItem
  + Published PopupMenu property for TEdit and TMemo (Doesn't work yet)
  * Fixed debugger running twice
  + Added Debugger output form
  * Enabled breakpoints

git-svn-id: trunk@1450 -
2002-02-20 23:33:24 +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
0d6aff717d MWE: Converted to Unix fileformat
git-svn-id: trunk@585 -
2002-01-09 22:49:25 +00:00
lazarus
d8e9619afb MWE: published OnClick for checkbox family
git-svn-id: trunk@584 -
2002-01-09 22:47:29 +00:00
lazarus
8747750b3d Added a watch dialog.
Shane

git-svn-id: trunk@488 -
2001-12-07 20:12:15 +00:00
lazarus
a5a458d225 MG: fixed customradiogroup OnClick + ItemIndex
git-svn-id: trunk@361 -
2001-10-19 14:27:43 +00:00
lazarus
d175a3aca2 MG: small bugfixes and less notes
git-svn-id: trunk@288 -
2001-06-14 14:57:59 +00:00
lazarus
5cc0992d9c MWE:
+ Turned on longstrings
  + modified memotest to add lines

git-svn-id: trunk@244 -
2001-03-27 21:12:54 +00:00
lazarus
a60f0a22ae Start of code completion code.
Shane

git-svn-id: trunk@165 -
2001-02-02 14:23:38 +00:00
lazarus
b63fd4b108 Started the code completion.
Shane

git-svn-id: trunk@162 -
2001-02-01 16:45:20 +00:00
lazarus
5db12a2d5c Changes for TComboBox events KeyPress Focus.
Shane

git-svn-id: trunk@143 -
2001-01-28 21:06:07 +00:00
lazarus
7b20ab2021 Added some TImageList code.
Added a bookmark resource with 10 resource images.
Removed some of the IFDEF's in mwCustomEdit around the inherited code.
Shane

git-svn-id: trunk@112 -
2001-01-11 20:16:47 +00:00
lazarus
a392379d1d Added the Nudge feature to the IDE.
Shane

git-svn-id: trunk@109 -
2001-01-10 20:12:29 +00:00
lazarus
32bbe50f33 ViewUnits1, ViewForms1 and MessageDlg are all loaded from their resources and all controls are auto-created on them.
There are still a few problems with some controls so I haven't converted all forms.
Shane

git-svn-id: trunk@97 -
2001-01-05 17:44:37 +00:00
lazarus
536fafd89b Tested TCustomEdit.Readonly, MaxLength and CharCase.
Shane

git-svn-id: trunk@94 -
2001-01-04 15:09:05 +00:00
lazarus
bff114a928 Minor changes to TEdit.
Not tested.
Shane

git-svn-id: trunk@93 -
2001-01-04 13:52:00 +00:00
lazarus
f691b58971 Added more images to the resource.
Shane

git-svn-id: trunk@81 -
2000-12-29 15:04:07 +00:00
lazarus
3952fe23db changed the TCOmponentInterface SetPropByName. It works for a few properties, but not all.
Shane

git-svn-id: trunk@55 -
2000-12-01 15:50:39 +00:00
lazarus
fe6058b7fc New Object Inspector code
Shane

git-svn-id: trunk@52 -
2000-11-29 21:22:35 +00:00
lazarus
b3206798a8 Added procedure ListBox.Clear (changes by chris, added by stoppok)
git-svn-id: trunk@8 -
2000-07-16 12:45:01 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00