Commit Graph

136 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