Commit Graph

186 Commits

Author SHA1 Message Date
lazarus
a442da5798 AJ: GetDefaultFont - try to get GTK builtin value if style fails
git-svn-id: trunk@1223 -
2002-02-09 01:48:07 +00:00
lazarus
381eb07394 AJ:Try and fall back on default style if nil(aka default theme)
git-svn-id: trunk@1209 -
2002-02-09 01:48:06 +00:00
lazarus
bb93cef6db AJ: rearranged GTK init stuff for proper GNOME init & less duplication between interfaces
git-svn-id: trunk@1202 -
2002-02-09 01:48:05 +00:00
lazarus
ba8ca608cd MG: fixes for 1.1
git-svn-id: trunk@1195 -
2002-02-09 01:48:04 +00:00
lazarus
f1558479e3 MG: fixes for fpc1.1
git-svn-id: trunk@1189 -
2002-02-09 01:48:04 +00:00
lazarus
dd5332cf78 AJ: minor fixes for FPC 1.1
git-svn-id: trunk@1180 -
2002-02-09 01:48:02 +00:00
lazarus
a901c7bed6 AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
git-svn-id: trunk@1171 -
2002-02-09 01:48:01 +00:00
lazarus
1fbe65619e MG: fixed uncapturing of mouse
git-svn-id: trunk@1160 -
2002-02-09 01:48:00 +00:00
lazarus
7a183b23af MG: made mouse capturing more strict
git-svn-id: trunk@1153 -
2002-02-09 01:47:59 +00:00
lazarus
c6a80890f6 AJ: added forcelinebreaks
git-svn-id: trunk@1146 -
2002-02-09 01:47:58 +00:00
lazarus
295004fd3d MG: fixed timers
git-svn-id: trunk@1144 -
2002-02-09 01:47:57 +00:00
lazarus
57570d469b MG: fixed timer checking
git-svn-id: trunk@1133 -
2002-02-09 01:47:56 +00:00
lazarus
57931f1398 MG: get always a default font
git-svn-id: trunk@1130 -
2002-02-09 01:47:55 +00:00
lazarus
861fb81b1a MG: accelerated GetTextMetrics
git-svn-id: trunk@1125 -
2002-02-09 01:47:54 +00:00
lazarus
885b07d09b MG: applied cyrillic patch from vasily
git-svn-id: trunk@1115 -
2002-02-09 01:47:53 +00:00
lazarus
44d55b2eb1 MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@1108 -
2002-02-09 01:47:52 +00:00
lazarus
ac3a495b77 MG: fixed client origin coordinates
git-svn-id: trunk@1099 -
2002-02-09 01:47:51 +00:00
lazarus
90ff4d43ee AJ: started GNOME interface & modified gtk interface so everything is public/protected
git-svn-id: trunk@1097 -
2002-02-09 01:47:50 +00:00
lazarus
f021a7cb91 MG: added TDeviceContext.SelectedColors
git-svn-id: trunk@1084 -
2002-02-09 01:47:49 +00:00
lazarus
47cac457c3 MG: added TDevContextColorType
git-svn-id: trunk@1083 -
2002-02-09 01:47:48 +00:00
lazarus
2ed90c3bbc MG: accelerated GDIColor allocating
git-svn-id: trunk@1075 -
2002-02-09 01:47:47 +00:00
lazarus
20b24f86a9 MG: accelerated SelectGDKPenProps
git-svn-id: trunk@1063 -
2002-02-09 01:47:46 +00:00
lazarus
1d0f026fdd MG: JITForms now sets csDesigning before creation
git-svn-id: trunk@1056 -
2002-02-09 01:47:45 +00:00
lazarus
d68790979f MG: fixed TComboBox.ItemIndex on CreateWnd
git-svn-id: trunk@1054 -
2002-02-09 01:47:44 +00:00
lazarus
ab54bf590e MG: improved TComboBox.SetItemIndex
git-svn-id: trunk@1042 -
2002-02-09 01:47:43 +00:00
lazarus
72d7e61348 MG: no OnChange event when app sets Text of TComboBox
git-svn-id: trunk@1040 -
2002-02-09 01:47:42 +00:00
lazarus
3d36c3d268 MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@1032 -
2002-02-09 01:47:41 +00:00
lazarus
612201a886 MG: fixed Ampersands2Underscore
git-svn-id: trunk@1025 -
2002-02-09 01:47:40 +00:00
lazarus
a0c58dfe84 MG: changed PDeviceContext into class TDeviceContext
git-svn-id: trunk@1015 -
2002-02-09 01:47:39 +00:00
lazarus
3af75268c5 MG: fixed setcursor
git-svn-id: trunk@1013 -
2002-02-09 01:47:38 +00:00
lazarus
a316bf10d8 MG: fixed flickering of modal forms
git-svn-id: trunk@1004 -
2002-02-09 01:47:37 +00:00
lazarus
cbc3fc8a57 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@996 -
2002-02-09 01:47:36 +00:00
lazarus
fd91cbcdad 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@989 -
2002-02-09 01:47:35 +00:00
lazarus
0c78e26a03 MWE: Fixed window color
git-svn-id: trunk@988 -
2002-02-09 01:47:34 +00:00
lazarus
7cb6ff5d49 MG: fixed TPanel and Frame3D
git-svn-id: trunk@979 -
2002-02-09 01:47:33 +00:00
lazarus
846c238acb MG: fixed Menu.Free and gdkwindow=nil bug
git-svn-id: trunk@971 -
2002-02-09 01:47:32 +00:00
lazarus
6ad1e3e177 MG: added patch from Andrew
git-svn-id: trunk@965 -
2002-02-09 01:47:31 +00:00
lazarus
7c272bf58d Resize cursors in designer.
git-svn-id: trunk@960 -
2002-02-09 01:47:30 +00:00
lazarus
bfeaa2d226 MG: fixed SelectClipRegion
git-svn-id: trunk@956 -
2002-02-09 01:47:29 +00:00
lazarus
5bb3552d16 MG: small bugfixes
git-svn-id: trunk@952 -
2002-02-09 01:47:28 +00:00
lazarus
7a9b581d4e MG: small bugfixes
git-svn-id: trunk@946 -
2002-02-09 01:47:27 +00:00
lazarus
45f57a9d2d MG: scrollingwincontrol from Andrew
git-svn-id: trunk@940 -
2002-02-09 01:47:26 +00:00
lazarus
34f2392939 MG: fixed streaming visible=false
git-svn-id: trunk@932 -
2002-02-09 01:47:25 +00:00
lazarus
01a76018b7 Enabled cursor property + property editor.
git-svn-id: trunk@929 -
2002-02-09 01:47:24 +00:00
lazarus
065c08288e Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@922 -
2002-02-09 01:47:23 +00:00
lazarus
b2af2afb40 MG: improved GetDCOffset
git-svn-id: trunk@915 -
2002-02-09 01:47:22 +00:00
lazarus
12d3cf70cb MG: added GetDCOffset
git-svn-id: trunk@911 -
2002-02-09 01:47:21 +00:00
lazarus
cf7ddfc52b MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@907 -
2002-02-09 01:47:20 +00:00
lazarus
52002934ae 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@902 -
2002-02-09 01:47:19 +00:00
lazarus
c402ffdf5a Intermediate UI patch to show a bug.
git-svn-id: trunk@899 -
2002-02-09 01:47:18 +00:00
lazarus
82e53e439f 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@894 -
2002-02-09 01:47:17 +00:00
lazarus
732844d0f9 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@893 -
2002-02-09 01:47:16 +00:00
lazarus
62571bb2d4 MG: TNoteBook now starts with no Page and TPage has no auto names
git-svn-id: trunk@887 -
2002-02-09 01:47:15 +00:00
lazarus
1ea0e850b3 MG: fixed destroying combobox
git-svn-id: trunk@883 -
2002-02-09 01:47:14 +00:00
lazarus
3f508c5aea MG: fixed range check error in ampersands2underscore
git-svn-id: trunk@878 -
2002-02-09 01:47:13 +00:00
lazarus
5f5ad40a22 MG: fixed resetting comobobox text
git-svn-id: trunk@874 -
2002-02-09 01:47:12 +00:00
lazarus
a469cde1b7 MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@871 -
2002-02-09 01:47:11 +00:00
lazarus
ae60dce58f MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@869 -
2002-02-09 01:47:10 +00:00
lazarus
533f898524 MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@863 -
2002-02-09 01:47:09 +00:00
lazarus
8b622c33bc MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@861 -
2002-02-09 01:47:08 +00:00
lazarus
fdc0f18043 MG: ShortCut support for buttons from Andrew
git-svn-id: trunk@857 -
2002-02-09 01:47:07 +00:00
lazarus
b6d2afd839 MG: fixed mouse capturing, OI edit focus
git-svn-id: trunk@852 -
2002-02-09 01:47:06 +00:00
lazarus
f8f1bf34a5 MG: fixed bracket hilighting
git-svn-id: trunk@849 -
2002-02-09 01:47:05 +00:00
lazarus
acc8dee85d MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@846 -
2002-02-09 01:47:04 +00:00
lazarus
67c9e4fda7 MG: started form renaming
git-svn-id: trunk@845 -
2002-02-09 01:47:03 +00:00
lazarus
8de2740a09 MG: improved theme support from Andrew
git-svn-id: trunk@840 -
2002-02-09 01:47:02 +00:00
lazarus
b51eaa2182 MG: started debugging of mouse capturing
git-svn-id: trunk@838 -
2002-02-09 01:47:01 +00:00
lazarus
cfd0976d6e MG: freeing more unused GCs
git-svn-id: trunk@834 -
2002-02-09 01:47:00 +00:00
lazarus
76c1e68b1e MG: accelerations for synedit
git-svn-id: trunk@831 -
2002-02-09 01:46:59 +00:00
lazarus
b96dd6f081 MG: fixed mem some leaks in ide and gtk
git-svn-id: trunk@830 -
2002-02-09 01:46:58 +00:00
lazarus
8e1ab56f6f MG: fixed unreleased gdiRegions
git-svn-id: trunk@828 -
2002-02-09 01:46:57 +00:00
lazarus
0a0e8ad9f8 MG: improved Clipping, TextOut, Polygon functions
git-svn-id: trunk@826 -
2002-02-09 01:46:56 +00:00
lazarus
5bd8982a54 MG: design signals for gtk internal widgets
git-svn-id: trunk@824 -
2002-02-09 01:46:55 +00:00
lazarus
40b3e1ab0d MG: fixed broken commit
git-svn-id: trunk@822 -
2002-02-09 01:46:54 +00:00
lazarus
e6c2ff8575 MG: fixed parser for Clx enums and empty param lists
git-svn-id: trunk@819 -
2002-02-09 01:46:53 +00:00
lazarus
acd845a307 MG: fixed keygrabbing key translation
git-svn-id: trunk@818 -
2002-02-09 01:46:52 +00:00
lazarus
b147bce363 MG: added some IDE menuicons, fixed submenu indicator bug
git-svn-id: trunk@815 -
2002-02-09 01:46:51 +00:00
lazarus
c8ac3934aa MG: added changes from Andrew (Clipping)
git-svn-id: trunk@813 -
2002-02-09 01:46:50 +00:00
lazarus
762c65fc9d MG: fixed showing menu accelarator shortcuts
git-svn-id: trunk@812 -
2002-02-09 01:46:49 +00:00
lazarus
d8c238e310 MG: started menuitem icon, checked, radio and groupindex
git-svn-id: trunk@809 -
2002-02-09 01:46:48 +00:00
lazarus
a2a4b6cbc1 MG: fixed BadCursor bug and Circle Reference of FixedWidget of csPanel
git-svn-id: trunk@808 -
2002-02-09 01:46:47 +00:00
lazarus
52a576df81 MG: fixed client events
git-svn-id: trunk@806 -
2002-02-09 01:46:46 +00:00
lazarus
9279e80775 MG: fixed get widget position for inherited gdkwindows
git-svn-id: trunk@804 -
2002-02-09 01:46:45 +00:00
lazarus
c719a442ff MG: fixed eventmask for realized windows
git-svn-id: trunk@802 -
2002-02-09 01:46:44 +00:00
lazarus
dd48bbf613 MG: fixed parser for external vars
git-svn-id: trunk@800 -
2002-02-09 01:46:43 +00:00
lazarus
d41e778643 MG: added new tool: Guess misplaced $IFDEF/$ENDIF
git-svn-id: trunk@798 -
2002-02-09 01:46:42 +00:00
lazarus
ff5eb49919 MG: non visual component icons are now centered
git-svn-id: trunk@796 -
2002-02-09 01:46:41 +00:00
lazarus
f0e8121019 MG: in design mode the mouse cursor is now also set for hidden gdkwindows
git-svn-id: trunk@794 -
2002-02-09 01:46:40 +00:00
lazarus
24666ef974 MG: TControl.Cursor is now set, reduced auto reaction of widgets in design mode
git-svn-id: trunk@792 -
2002-02-09 01:46:39 +00:00
lazarus
fc7663c834 MG: Form Editing: snapping, guidelines, modified on move/resize, creating components in csDesigning, ...
git-svn-id: trunk@790 -
2002-02-09 01:46:38 +00:00
lazarus
88bf48e66e MG: fixed open file at cursor search path
git-svn-id: trunk@787 -
2002-02-09 01:46:37 +00:00
lazarus
addba36b48 MG: fixed mouse coords and fixed mouse clicked thru bug
git-svn-id: trunk@786 -
2002-02-09 01:46:36 +00:00
lazarus
e1f0a43403 MG: fixed persistent caret and implemented Form.BorderStyle=bsNone
git-svn-id: trunk@784 -
2002-02-09 01:46:35 +00:00
lazarus
a670bbeb86 MG: improved TFont for XLFD font names
git-svn-id: trunk@782 -
2002-02-09 01:46:34 +00:00
lazarus
66bef210af MG: deactivated new system colors, till we got a consistent solution
git-svn-id: trunk@779 -
2002-02-09 01:46:33 +00:00
lazarus
1e9b71be92 MG: added filters and history to TOpenDialog
git-svn-id: trunk@778 -
2002-02-09 01:46:32 +00:00
lazarus
2bdbf435c1 MG: improved TCommon/File/OpenDialog, fixed TListView scrolling and broder
git-svn-id: trunk@776 -
2002-02-09 01:46:31 +00:00
lazarus
c00b1e8211 MG: added gtk rc file support and started stule dependent syscolors
git-svn-id: trunk@774 -
2002-02-09 01:46:30 +00:00
lazarus
6e4c700d00 MG: fixed client rectangles, TRadioGroup, RecreateWnd
git-svn-id: trunk@771 -
2002-02-09 01:46:29 +00:00
lazarus
666f657096 MG: client rect bugs nearly completed
git-svn-id: trunk@769 -
2002-02-09 01:46:28 +00:00