Commit Graph

285 Commits

Author SHA1 Message Date
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
lazarus
0986a72b0f MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@777 -
2002-02-09 01:46:32 +00:00
lazarus
876d96e817 Fixed alignment of multiline TLabel.
Simplified and prettified MessageBoxen.

git-svn-id: trunk@775 -
2002-02-09 01:46:31 +00:00
lazarus
8881110579 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@773 -
2002-02-09 01:46:30 +00:00
lazarus
349421ad28 MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@772 -
2002-02-09 01:46:29 +00:00
lazarus
3c89be8141 MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@770 -
2002-02-09 01:46:28 +00:00
lazarus
664c4ebebf MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@768 -
2002-02-09 01:46:27 +00:00
lazarus
164859d39c MG: fixed designer component deletion
git-svn-id: trunk@765 -
2002-02-09 01:46:26 +00:00
lazarus
34ab2cdf10 MG: ShortCut support for buttons from Andrew
git-svn-id: trunk@764 -
2002-02-09 01:46:25 +00:00
lazarus
6a19dcfe33 MG: fixed speedbutton in designmode
git-svn-id: trunk@761 -
2002-02-09 01:46:24 +00:00
lazarus
4cf549126b MG: fixed unallocated spinedit handle bug
git-svn-id: trunk@759 -
2002-02-09 01:46:23 +00:00
lazarus
0368a16f32 MG: fixed mouse capturing, OI edit focus
git-svn-id: trunk@757 -
2002-02-09 01:46:22 +00:00
lazarus
9e3d612153 MG: fixed double click recognition
git-svn-id: trunk@756 -
2002-02-09 01:46:21 +00:00
lazarus
76ec3220a0 MG: fixed bracket hilighting
git-svn-id: trunk@753 -
2002-02-09 01:46:20 +00:00
lazarus
a59ea6d93e MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@752 -
2002-02-09 01:46:19 +00:00
lazarus
0097bf0ce6 MG: improved theme support from Andrew
git-svn-id: trunk@751 -
2002-02-09 01:46:18 +00:00
lazarus
95f4a8bd3a MG: freeing more unused GCs
git-svn-id: trunk@750 -
2002-02-09 01:46:17 +00:00
lazarus
1580317416 MG: added TDeviceContextMemManager
git-svn-id: trunk@749 -
2002-02-09 01:46:16 +00:00
lazarus
db7c768ec3 MG: reduced output
git-svn-id: trunk@748 -
2002-02-09 01:46:15 +00:00
lazarus
535971744d MG: fixed mem leaks
git-svn-id: trunk@747 -
2002-02-09 01:46:14 +00:00
lazarus
2cdaebdae9 MG: fixed mem some leaks in ide and gtk
git-svn-id: trunk@746 -
2002-02-09 01:46:13 +00:00
lazarus
1178bab300 MG: accelerated new/dispose of gdiobjects
git-svn-id: trunk@745 -
2002-02-09 01:46:12 +00:00
lazarus
9824c0cbe1 MG: design signals for gtk internal widgets
git-svn-id: trunk@744 -
2002-02-09 01:46:11 +00:00
lazarus
7184c53542 MG: removed ClientRectBugfix defines
git-svn-id: trunk@743 -
2002-02-09 01:46:10 +00:00
lazarus
2d9e85e554 MG: added some IDE menuicons, fixed submenu indicator bug
git-svn-id: trunk@742 -
2002-02-09 01:46:09 +00:00
lazarus
03e8d313cf MG: added changes from Andrew (Clipping)
git-svn-id: trunk@741 -
2002-02-09 01:46:08 +00:00
lazarus
56d3bb2cfe MG: started menuitem icon, checked, radio and groupindex
git-svn-id: trunk@740 -
2002-02-09 01:46:07 +00:00
lazarus
010cdacf4c MG: started enhanced menuitem
git-svn-id: trunk@739 -
2002-02-09 01:46:06 +00:00
lazarus
22f277cd67 MG: activated App_Paintable for TCustomForms
git-svn-id: trunk@738 -
2002-02-09 01:46:05 +00:00
lazarus
1b13671e45 MG: added graphics extensions from Andrew Johnson
git-svn-id: trunk@737 -
2002-02-09 01:46:04 +00:00
lazarus
b4e1c388c0 MG: added property TMenuItems.RightJustify
git-svn-id: trunk@736 -
2002-02-09 01:46:03 +00:00
lazarus
1ebc694967 MG: main bar speedbar open arrow now shows recent projects and files
git-svn-id: trunk@735 -
2002-02-09 01:46:02 +00:00
lazarus
445c38646b MG: recent file menus are now updated instantly
git-svn-id: trunk@734 -
2002-02-09 01:46:01 +00:00
lazarus
834b4c61aa MG: TMenuItem can now be created/destroyed/moved at any time
git-svn-id: trunk@733 -
2002-02-09 01:46:00 +00:00
lazarus
d5aeeacdc9 MG: TMenuItem.Caption can now be set after creation
git-svn-id: trunk@732 -
2002-02-09 01:45:59 +00:00
lazarus
5aa8706df6 MG: TMenuItems can now be enabled and disabled
git-svn-id: trunk@731 -
2002-02-09 01:45:58 +00:00
lazarus
3b59710734 MG: fixed BadCursor bug and Circle Reference of FixedWidget of csPanel
git-svn-id: trunk@730 -
2002-02-09 01:45:57 +00:00
lazarus
2074dee40b MG: fixed client events
git-svn-id: trunk@729 -
2002-02-09 01:45:56 +00:00
lazarus
d986734622 MG: source notebook pagenames are now updated more often
git-svn-id: trunk@728 -
2002-02-09 01:45:55 +00:00
lazarus
8660e5fb99 MG: fixed get widget position for inherited gdkwindows
git-svn-id: trunk@727 -
2002-02-09 01:45:54 +00:00
lazarus
a4b326b6aa MG: fixed eventmask for realized windows
git-svn-id: trunk@726 -
2002-02-09 01:45:53 +00:00
lazarus
9ca93d0a2e MG: fixed setcolor
git-svn-id: trunk@725 -
2002-02-09 01:45:52 +00:00
lazarus
d519f188a3 MG: fixed parser for external vars
git-svn-id: trunk@724 -
2002-02-09 01:45:51 +00:00
lazarus
446cb480be MG: added new tool: Guess misplaced $IFDEF/$ENDIF
git-svn-id: trunk@723 -
2002-02-09 01:45:50 +00:00
lazarus
97d139948c MG: in design mode the mouse cursor is now also set for hidden gdkwindows
git-svn-id: trunk@722 -
2002-02-09 01:45:49 +00:00
lazarus
03ad87f31c MG: TControl.Cursor is now set, reduced auto reaction of widgets in design mode
git-svn-id: trunk@721 -
2002-02-09 01:45:48 +00:00
lazarus
c28e4a8a65 MG: Form Editing: snapping, guidelines, modified on move/resize, creating components in csDesigning, ...
git-svn-id: trunk@720 -
2002-02-09 01:45:47 +00:00
lazarus
af1191cb94 MG: fixed mouse coords and fixed mouse clicked thru bug
git-svn-id: trunk@719 -
2002-02-09 01:45:46 +00:00
lazarus
c4805b1ced MG: fixed persistent caret and implemented Form.BorderStyle=bsNone
git-svn-id: trunk@718 -
2002-02-09 01:45:45 +00:00
lazarus
2ab4322524 MG: fixed window jumping
git-svn-id: trunk@717 -
2002-02-09 01:45:44 +00:00
lazarus
2dc287881d MG: added close buttons and images to TNoteBook and close buttons to source editor
git-svn-id: trunk@716 -
2002-02-09 01:45:43 +00:00
lazarus
f6fe2f1c96 MG: goto bookmark now centers the cursor line
git-svn-id: trunk@715 -
2002-02-09 01:45:42 +00:00
lazarus
e00b19de22 MG: gtk HandleEvents will now process all pending events
git-svn-id: trunk@714 -
2002-02-09 01:45:41 +00:00