Commit Graph

69 Commits

Author SHA1 Message Date
mattias
735191d158 new constants for compatibility
git-svn-id: trunk@3694 -
2002-12-12 17:47:46 +00:00
mattias
b608081566 added form editor options for rubberband and colors
git-svn-id: trunk@3667 -
2002-11-27 14:37:37 +00:00
mbukovjan
8027d20e8c Fixes to MaxLength. TCustomMemo now has MaxLength, too.
git-svn-id: trunk@3642 -
2002-11-16 11:22:57 +00:00
lazarus
aedf519f43 MG: fixed TMainMenu creation
git-svn-id: trunk@3624 -
2002-11-12 10:16:17 +00:00
lazarus
88a2927d1c MG: broke LCL<->interface circles
git-svn-id: trunk@3566 -
2002-10-26 15:15:50 +00:00
lazarus
8efa0178f7 MG: broke some interfaces.pp circles
git-svn-id: trunk@3565 -
2002-10-26 11:20:30 +00:00
lazarus
cf9743275e MG: added inputdialog.inc
git-svn-id: trunk@3557 -
2002-10-25 09:47:38 +00:00
lazarus
b06153fbbe MG: broke circle stdctrls.pp <-> forms.pp
git-svn-id: trunk@3556 -
2002-10-25 08:25:44 +00:00
lazarus
17b6fecb78 AJ: Fixed forms <-> stdctrls circular uses
git-svn-id: trunk@3553 -
2002-10-24 19:35:34 +00:00
lazarus
d8abfdaf6a MG: broke graphics.pp <-> clipbrd.pp circle
git-svn-id: trunk@3549 -
2002-10-24 10:05:51 +00:00
lazarus
2f6d95cb38 AJ: Started Form Scrolling
Started StaticText FocusControl
    Fixed Misc Dialog Problems
    Added TApplication.Title

git-svn-id: trunk@3544 -
2002-10-23 20:47:27 +00:00
lazarus
3bfe825372 AJ: moved TCustomStaticText code to include/customstatictext.inc
git-svn-id: trunk@3529 -
2002-10-21 15:51:27 +00:00
lazarus
bb4cebd0bc AJ:switched to gtk_widget_newv to work around array of const
git-svn-id: trunk@3525 -
2002-10-20 22:57:18 +00:00
lazarus
8ef3f22c76 MG: fixes for 1.1
git-svn-id: trunk@3523 -
2002-10-20 21:54:03 +00:00
lazarus
f07eb318fe AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
git-svn-id: trunk@3520 -
2002-10-18 16:08:10 +00:00
lazarus
cc1ad2295f AJ: Improvements to TUpDown; Added TStaticText & GNOME DrawText
git-svn-id: trunk@3510 -
2002-10-14 14:29:50 +00:00
lazarus
e850093571 MG: added DrawItem to TComboBox/TListBox
git-svn-id: trunk@3459 -
2002-10-04 14:24:15 +00:00
lazarus
acd0679554 MG: started customdrawitem
git-svn-id: trunk@3454 -
2002-10-03 18:04:46 +00:00
lazarus
3986fdd872 MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@3452 -
2002-10-03 14:47:31 +00:00
lazarus
adf826a1be AJ: TCustomLabel Autosize, TCustomCheckbox '&' shortcuts started
git-svn-id: trunk@3450 -
2002-10-03 00:08:50 +00:00
lazarus
cdc4491fb2 MG: accelerated unitdependencies
git-svn-id: trunk@3448 -
2002-10-02 16:16:40 +00:00
lazarus
0b38b75404 MG: added various history lists
git-svn-id: trunk@3446 -
2002-10-02 14:23:23 +00:00
lazarus
690a7f150a AJ: Initial TUpDown, minor property additions to improve reading Delphi created forms.
git-svn-id: trunk@3442 -
2002-10-01 18:00:04 +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
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