Commit Graph

152 Commits

Author SHA1 Message Date
mattias
9db0976b62 renamed TinterfaceObject.Init to AppInit and TWinControls can now contain childs in gtk
git-svn-id: trunk@1389 -
2002-02-09 01:48:23 +00:00
mattias
babefcd9dd double byte char font started
git-svn-id: trunk@1384 -
2002-02-09 01:48:22 +00:00
mattias
f3288b80b4 added Timer patch from Vincent Snijders
git-svn-id: trunk@1374 -
2002-02-09 01:48:21 +00:00
lazarus
26270cc66d MG: fixed gdkwindow checks
git-svn-id: trunk@1371 -
2002-02-09 01:48:20 +00:00
lazarus
f777645c9e MG: implemented hints
git-svn-id: trunk@1362 -
2002-02-09 01:48:19 +00:00
lazarus
0f5e63d6fe MG: implemented TMethodList and Application Idle handlers
git-svn-id: trunk@1351 -
2002-02-09 01:48:18 +00:00
lazarus
62a2a3ab54 MG: mouse cursors are now allocated on demand
git-svn-id: trunk@1339 -
2002-02-09 01:48:17 +00:00
lazarus
c38c8a75bc AJ: fixed mem leek in FillScreenFonts
git-svn-id: trunk@1326 -
2002-02-09 01:48:16 +00:00
lazarus
d29e780698 MG: impoved focussing, unfocussing on destroy and fixed unit search
git-svn-id: trunk@1310 -
2002-02-09 01:48:15 +00:00
lazarus
7657c373a1 MG: added verbosity to delivermessage
git-svn-id: trunk@1297 -
2002-02-09 01:48:14 +00:00
lazarus
259b9b7a86 MG: fixed memleaks
git-svn-id: trunk@1291 -
2002-02-09 01:48:13 +00:00
lazarus
c96a8c49e3 AJ: Moved form contents creation to gtkproc for code
reuse between GNOME and GTK, and to make GNOME MDI
    programming easier later on.

git-svn-id: trunk@1276 -
2002-02-09 01:48:12 +00:00
lazarus
955bfa3bb1 MG: accelerators are now shared between non modal forms
git-svn-id: trunk@1259 -
2002-02-09 01:48:11 +00:00
lazarus
1fbd419ed4 MG: fixed frmactivate
git-svn-id: trunk@1246 -
2002-02-09 01:48:10 +00:00
lazarus
d105773bca AJ:minor styles improvement; fixed drawing checks under all(?) themes
git-svn-id: trunk@1240 -
2002-02-09 01:48:09 +00:00
lazarus
8271477b12 MG: fixes for 1.1
git-svn-id: trunk@1228 -
2002-02-09 01:48:08 +00:00
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