Commit Graph

23418 Commits

Author SHA1 Message Date
lazarus
06516e70d4 MG: activated GetWindowOrgEx
git-svn-id: trunk@224 -
2001-03-13 15:02:14 +00:00
lazarus
5718818c2a MG: fixed random function results
git-svn-id: trunk@221 -
2001-03-12 12:17:02 +00:00
lazarus
106110f999 MG: bugfix for readstream
git-svn-id: trunk@220 -
2001-03-12 09:40:44 +00:00
lazarus
960f9acdb1 bugfix
git-svn-id: trunk@217 -
2001-03-09 17:08:15 +00:00
lazarus
ab68959328 added streaming to tgraphic, added tpicture
git-svn-id: trunk@211 -
2001-03-05 14:20:04 +00:00
lazarus
cee16124c1 + added support for message dialogs (messagedialogs.inc)
+ added some pixmaps for message dialogs(messagedialogpixmaps.inc)
stoppok

git-svn-id: trunk@208 -
2001-03-03 00:50:34 +00:00
lazarus
7ef5168c08 + added support for message dialogs
stoppok

git-svn-id: trunk@207 -
2001-03-03 00:48:03 +00:00
lazarus
8802de661f Added some debug code for the top,left reporting problem.
Shane

git-svn-id: trunk@204 -
2001-02-28 13:17:34 +00:00
lazarus
99d36d5c1e MWE:
+ Added the -gl option the get some info on crashes

git-svn-id: trunk@202 -
2001-02-25 17:16:52 +00:00
lazarus
a6404f82e0 Made interfaces.pp consistent across widget sets. CAW
git-svn-id: trunk@196 -
2001-02-24 17:07:55 +00:00
lazarus
e290c25646 Make interfaces.pp consistent across the widget sets. CAW
git-svn-id: trunk@195 -
2001-02-24 17:07:01 +00:00
lazarus
93cb00f62f small bugfixes + added TOIOptions
git-svn-id: trunk@189 -
2001-02-21 22:55:26 +00:00
lazarus
9b472a0458 MWE:
* Fixed zipinstall
  * fixed clean
  * fixed build with compiler from CVS

git-svn-id: trunk@188 -
2001-02-20 23:12:25 +00:00
lazarus
376564528b MWE:
* some fixes

git-svn-id: trunk@187 -
2001-02-20 20:52:14 +00:00
lazarus
041250d1cf Changes for wordcompletion and many other things from Mattias.
Shane

git-svn-id: trunk@186 -
2001-02-20 16:53:27 +00:00
lazarus
d7c1389787 Added some functions
Shane

git-svn-id: trunk@184 -
2001-02-16 19:13:31 +00:00
lazarus
3fbeb6110f MWE:
* Updated makefiles for packaging support
  * created temporary lazarusmake.ini to use with fpcmake

git-svn-id: trunk@182 -
2001-02-14 21:06:35 +00:00
lazarus
bde7e85bed Trying to get the last control of the last form focused when a dialog closes.
Still working on it.
Shane

git-svn-id: trunk@177 -
2001-02-06 20:59:17 +00:00
lazarus
7a970da46b Changed InvalidateControl
Shane

git-svn-id: trunk@176 -
2001-02-06 18:23:51 +00:00
lazarus
77cd73123e Shane
git-svn-id: trunk@175 -
2001-02-06 18:19:38 +00:00
lazarus
ee40879606 Changed TSpeedbutton in gtkobject so it erases itself when it's set to visible=false;
Shane

git-svn-id: trunk@174 -
2001-02-06 14:52:47 +00:00
lazarus
467b5fc459 Changed the files from mode delphi to mode objfpc
Shane

git-svn-id: trunk@173 -
2001-02-06 13:55:23 +00:00
lazarus
aa81046e12 Fixes from Mattias for EditorOPtions
Fixes to COmpiler that should allow people to compile if their path is set up.
Changes to code completion.
Shane

git-svn-id: trunk@172 -
2001-02-06 13:38:58 +00:00
lazarus
67fe309404 Goto dialog added
Shane

git-svn-id: trunk@171 -
2001-02-04 19:23:26 +00:00
lazarus
5eb3c3af49 Code cleanup
Shane

git-svn-id: trunk@170 -
2001-02-04 18:24:42 +00:00
lazarus
6ecb60e9b4 Code cleanup and JITFOrms bug fix.
Shane

git-svn-id: trunk@168 -
2001-02-04 04:18:12 +00:00
lazarus
bf2acd12f4 Codecompletion changes.
Added code to Uniteditor for code completion.

Also, added code to gtkobject.inc so forms now get keypress events.
Shane

git-svn-id: trunk@166 -
2001-02-02 20:13:39 +00:00
lazarus
a60f0a22ae Start of code completion code.
Shane

git-svn-id: trunk@165 -
2001-02-02 14:23:38 +00:00
lazarus
43ca80415d TScrollbar created and a lot of code added.
It's cose to working.
Shane

git-svn-id: trunk@163 -
2001-02-01 19:34:50 +00:00
lazarus
b63fd4b108 Started the code completion.
Shane

git-svn-id: trunk@162 -
2001-02-01 16:45:20 +00:00
lazarus
ab5868d740 Changed to TCOmboBox focusing.
Shane

git-svn-id: trunk@160 -
2001-01-31 21:16:45 +00:00
lazarus
f74fc3c637 Commitng source with new editor.
Shane

git-svn-id: trunk@155 -
2001-01-31 13:03:33 +00:00
lazarus
5ea2433be7 MWE:
+ added $mode objfpc directive

git-svn-id: trunk@150 -
2001-01-30 22:56:54 +00:00
lazarus
87da23955b Added 2 files for the TStatusbar
Shane

git-svn-id: trunk@148 -
2001-01-30 18:15:57 +00:00
lazarus
596fb74e0a Added code for TStatusBar
I'm now capturing WMPainT and doing the drawing myself.
Shane

git-svn-id: trunk@147 -
2001-01-30 18:15:02 +00:00
lazarus
5db12a2d5c Changes for TComboBox events KeyPress Focus.
Shane

git-svn-id: trunk@143 -
2001-01-28 21:06:07 +00:00
lazarus
d0a3aae6d1 Fixed the problem with Changed for ComboBoxs
Shane

git-svn-id: trunk@141 -
2001-01-28 03:51:42 +00:00
lazarus
b9bfc36a44 MWE:
* fixed lil bug I commetted yesterday (listbox crash)

git-svn-id: trunk@139 -
2001-01-25 21:38:57 +00:00
lazarus
2661a323d9 MWE:
= moved some types to gtkdef
  + added WinWidgetInfo
  + added some initialization to Application.Create

git-svn-id: trunk@135 -
2001-01-24 23:26:40 +00:00
lazarus
033fc13f37 Removed gtkDrawDefualt signal function from gtkcallback.inc
It was no longer used.
Shane

git-svn-id: trunk@134 -
2001-01-24 03:21:03 +00:00
lazarus
c7c10a56c7 MWE:
- Removed old LM_InvalidateRect
  - did some cleanup in old  code
  + added some comments  on gtkobject data (gtkproc)

git-svn-id: trunk@133 -
2001-01-23 23:33:55 +00:00
lazarus
b83c55f212 Fixxed the errors I commited with Unionrect
Shane

git-svn-id: trunk@132 -
2001-01-23 19:13:57 +00:00
lazarus
c9bfc42a4d Fixxed bug in RestoreDC
Shane

git-svn-id: trunk@131 -
2001-01-23 19:01:10 +00:00
lazarus
66c98f419a Slight modification to Invalidaterect.
Shane

git-svn-id: trunk@130 -
2001-01-23 18:43:12 +00:00
lazarus
0c11c51967 Added InvalidateRect to gtkwinapi.inc
Shane

git-svn-id: trunk@129 -
2001-01-23 18:42:10 +00:00
lazarus
6bde1f02ae Minor changees
Shane

git-svn-id: trunk@127 -
2001-01-18 13:27:31 +00:00
lazarus
b86d3c39a1 Changed LResources to TLResources
Shane

git-svn-id: trunk@124 -
2001-01-16 16:21:29 +00:00
lazarus
001301df01 Fixed a stupid error I caused by using a variable as an index in main.pp and this variable sometimes caused an exception because the index was out of range.
Shane

git-svn-id: trunk@121 -
2001-01-15 18:25:51 +00:00
lazarus
a38cefe625 Shane
git-svn-id: trunk@119 -
2001-01-14 03:56:57 +00:00
lazarus
05b6ea0354 Minor changes
Shane

git-svn-id: trunk@117 -
2001-01-13 03:09:37 +00:00
lazarus
92261b271b Shiftstate fixed so it reports ssCtrl and ssShift now.
You can use Shift-Ctrl-Up and Down to jump to procedures in the code explorer.
Shane

git-svn-id: trunk@116 -
2001-01-12 20:22:09 +00:00
lazarus
874482b405 Named the speedbuttons in MAINIDE and took out some writelns.
Shane

git-svn-id: trunk@115 -
2001-01-12 18:46:50 +00:00
lazarus
6d9153fbf6 Streaming additions by MAttias
Shane

git-svn-id: trunk@114 -
2001-01-12 18:27:32 +00:00
lazarus
feb921f5b1 Changes for keyevents in the editor.
Shane

git-svn-id: trunk@113 -
2001-01-12 18:10:54 +00:00
lazarus
7b20ab2021 Added some TImageList code.
Added a bookmark resource with 10 resource images.
Removed some of the IFDEF's in mwCustomEdit around the inherited code.
Shane

git-svn-id: trunk@112 -
2001-01-11 20:16:47 +00:00
lazarus
969406d8b7 MWE:
* Fixed make clean
  + moved allunits from exe to unit, skipping link stage

git-svn-id: trunk@111 -
2001-01-10 23:54:59 +00:00
lazarus
69c0f67e66 MWE:
~ minor change

git-svn-id: trunk@110 -
2001-01-10 23:53:30 +00:00
lazarus
a392379d1d Added the Nudge feature to the IDE.
Shane

git-svn-id: trunk@109 -
2001-01-10 20:12:29 +00:00
lazarus
176191f0cf Started taking KeyDown messages in TDesigner
Shane

git-svn-id: trunk@108 -
2001-01-09 21:06:06 +00:00
lazarus
fd402e04ac Worked on moving controls. It's just not working with the X and Y coord's I'm getting.
Shane

git-svn-id: trunk@107 -
2001-01-09 18:23:21 +00:00
lazarus
416eed0941 MWE:
~ Changed makefiles
  ~ Removed testform from lararus and changed it into program
  * some formatting

git-svn-id: trunk@106 -
2001-01-08 23:48:33 +00:00
lazarus
e914a86c61 MWE:
~ applieed patch from Peter Vreman to reflect compiler fix

git-svn-id: trunk@105 -
2001-01-08 21:59:36 +00:00
lazarus
0a09a437ad Minor changes
git-svn-id: trunk@99 -
2001-01-05 18:56:23 +00:00
lazarus
32bbe50f33 ViewUnits1, ViewForms1 and MessageDlg are all loaded from their resources and all controls are auto-created on them.
There are still a few problems with some controls so I haven't converted all forms.
Shane

git-svn-id: trunk@97 -
2001-01-05 17:44:37 +00:00
lazarus
a1ea547079 Moved lresources.
Moved CreateLFM to Main.pp
Changed Form1 and TFOrm1 to MainIDE and TMainIDE
Shane

git-svn-id: trunk@96 -
2001-01-04 20:33:53 +00:00
lazarus
da8f1b2837 Removed some writelns and changed the property editor for TStrings a bit.
Shane

git-svn-id: trunk@95 -
2001-01-04 16:12:54 +00:00
lazarus
536fafd89b Tested TCustomEdit.Readonly, MaxLength and CharCase.
Shane

git-svn-id: trunk@94 -
2001-01-04 15:09:05 +00:00
lazarus
bff114a928 Minor changes to TEdit.
Not tested.
Shane

git-svn-id: trunk@93 -
2001-01-04 13:52:00 +00:00
lazarus
2f4f81f07e The Speedbutton now has a numglyphs setting.
I started the TStringPropertyEditor

git-svn-id: trunk@91 -
2001-01-03 18:44:54 +00:00
lazarus
b94c169301 Speedbuttons can now draw disabled images.
Shane

git-svn-id: trunk@88 -
2000-12-29 20:32:33 +00:00
lazarus
27f9719f6a Shane
git-svn-id: trunk@87 -
2000-12-29 19:20:27 +00:00
lazarus
0fa9bc58f7 TStatusBar's create and destroy were not set to override TWinControls so they were never called.
Shane

git-svn-id: trunk@85 -
2000-12-29 18:33:54 +00:00
lazarus
4be859d5cd Added a dropdown image to the resource and a downarrow button by the OPEN button.
Shane

git-svn-id: trunk@84 -
2000-12-29 17:50:53 +00:00
lazarus
f691b58971 Added more images to the resource.
Shane

git-svn-id: trunk@81 -
2000-12-29 15:04:07 +00:00
lazarus
c9e26ce998 Using the lresources.pp and registering components.
This is a major change but will create much more flexibility for the IDE.
Shane

git-svn-id: trunk@78 -
2000-12-29 13:14:05 +00:00
lazarus
bed2aff0c4 Added the Popupmenu code to the LCL.
Now you can right click on the editor and a PopupMenu appears.
Shane

git-svn-id: trunk@76 -
2000-12-22 19:55:38 +00:00
lazarus
90b0558cba Added GetChildren
Shane

git-svn-id: trunk@72 -
2000-12-20 17:35:58 +00:00
peter
c169803e96 * regenerated
git-svn-id: trunk@70 -
2000-12-19 21:18:02 +00:00
lazarus
4ccb1fbc5a Removed IDEEDITOR. This causes the PROJECT class to not function.
Saving projects no longer works.

I added TSourceNotebook and TSourceEditor.  They do all the work for saving/closing/opening units.  Somethings work but they are in early development.
Shane

git-svn-id: trunk@68 -
2000-12-19 18:43:13 +00:00
lazarus
4ac1b588ad Updated OI from Mattias
Shane

git-svn-id: trunk@63 -
2000-12-12 14:16:43 +00:00
lazarus
730e64351f Changed the DEFINE in qt/interfaces.pp
Shane

git-svn-id: trunk@62 -
2000-12-06 14:58:38 +00:00
lazarus
503f8131c6 Set some defaults in interfacebase.inc
Shane

git-svn-id: trunk@61 -
2000-12-06 14:54:38 +00:00
lazarus
d823c5ccff MWE:
- removed designer from uses clause,
    it is not needed

git-svn-id: trunk@59 -
2000-12-01 23:42:15 +00:00
lazarus
62cc3bcd41 Modified Gloabal so TDesignForm isn't included anymore.
Shane

git-svn-id: trunk@56 -
2000-12-01 18:12:40 +00:00
lazarus
3952fe23db changed the TCOmponentInterface SetPropByName. It works for a few properties, but not all.
Shane

git-svn-id: trunk@55 -
2000-12-01 15:50:39 +00:00
lazarus
8ad22a1c8f Changed TDesigner. It's now notified when a control is added to it's CustomForm.
It's created in main.pp when New Form is selected.

Shane

git-svn-id: trunk@53 -
2000-11-30 21:43:38 +00:00
lazarus
fe6058b7fc New Object Inspector code
Shane

git-svn-id: trunk@52 -
2000-11-29 21:22:35 +00:00
lazarus
f28a735d19 Added the Object Inspector code.
Added more form editor code.
Shane

git-svn-id: trunk@46 -
2000-11-27 18:52:38 +00:00
lazarus
2a2fc723d4 Added TCustomForm.Notification so the TDesigner is notified of actions.
Added more code for getting info via RTTI
Shane

git-svn-id: trunk@44 -
2000-11-21 17:33:37 +00:00
lazarus
fe47d09840 MWE:
* fixed some selection code
  + Added selection sample

git-svn-id: trunk@40 -
2000-10-09 22:50:33 +00:00
peter
fd870cae44 * regenerated
git-svn-id: trunk@39 -
2000-10-01 21:05:55 +00:00
peter
52f1b8b83a * regenerated
git-svn-id: trunk@38 -
2000-09-27 21:11:16 +00:00
peter
e091a582e8 * regenerated
git-svn-id: trunk@36 -
2000-09-20 19:50:47 +00:00
lazarus
a2060eac49 MWE:
+ Added CreateCompatibeleBitamp function
  + Updated TWinControl.WMPaint
  + Added some checks to avoid gtk/gdk errors
  - Removed no fixed warning from GetDC
  - Removed some output

git-svn-id: trunk@34 -
2000-09-10 23:08:31 +00:00
lazarus
8d46c53658 MWE:
* Updated makefiles for FPC release 1.0  binary units
  * Changed creation, now LCL unit distributions are possible
  * Moved interfaces.pp from LCL to interface dirs

git-svn-id: trunk@33 -
2000-09-10 19:58:48 +00:00
lazarus
92b80ced3a Added a few files for the start of creating classes for the editor. [SHANE]
git-svn-id: trunk@32 -
2000-08-28 14:23:49 +00:00
lazarus
5672e45e1d Minor modifications for SynEdit .
Shane

git-svn-id: trunk@31 -
2000-08-14 12:31:12 +00:00
lazarus
f8a1263111 Adding all the Synedit files.
Changed the GDK_KEY_PRESS and GDK_KEY_RELEASE stuff to fix the problem in the editor with the shift key being ignored.
Shane

git-svn-id: trunk@30 -
2000-08-11 14:59:09 +00:00
lazarus
81ae5c8dee Added some winapi calls.
Most don't have code yet.
SetTextCharacterExtra
CharLowerBuff
IsCharAlphaNumeric
Shane

git-svn-id: trunk@29 -
2000-08-10 18:56:24 +00:00
lazarus
1937465711 Adding commondialog.pp and removing customdialog.inc
git-svn-id: trunk@27 -
2000-08-10 11:01:06 +00:00
lazarus
708a392932 Changed TCustomDialog to TCommonDialog
Shane

git-svn-id: trunk@26 -
2000-08-10 10:55:45 +00:00
lazarus
04bd08aab8 Added more code for the find function.
Shane

git-svn-id: trunk@25 -
2000-08-09 18:32:10 +00:00
lazarus
109626d9c4 Changed the TCUstomForm create function. I am getting it ready to read the resources to auto-create the controls...
Anslo changes TScreen.AddForm and TScreen.RemoveForm.  They were being passed TFOrm's instead of TCustomForms.
Shane

git-svn-id: trunk@24 -
2000-08-09 14:15:04 +00:00
lazarus
5e1b091aee Slight modification to CreateFontIndirect.
I check to see if the GdiObject^.GDIFontObject is nil.  If so After the code to retry the weight and slant I added code to retry the Family and Foundry.
Shane

git-svn-id: trunk@21 -
2000-08-07 17:06:39 +00:00
lazarus
1cc50fde23 MWE:
= Moved ObjectToGTKObject to GTKProc unit
  * Fixed array checking in LoadPixmap
  = Moved LM_SETENABLED to API func EnableWindow and EnableMenuItem
  ~ Some cleanup

git-svn-id: trunk@17 -
2000-07-30 21:48:34 +00:00
lazarus
77a1bb679d changed some comments, stoppok
git-svn-id: trunk@15 -
2000-07-23 19:03:10 +00:00
lazarus
5aaf084e37 menus will be destroyed now, stoppok
git-svn-id: trunk@14 -
2000-07-23 19:01:33 +00:00
lazarus
6630718ac0 more cleanups, stoppok
git-svn-id: trunk@13 -
2000-07-23 18:59:35 +00:00
lazarus
0fa9db6224 workaround for possible compiler bug (KEYSTATE), stoppok
git-svn-id: trunk@12 -
2000-07-23 10:53:41 +00:00
lazarus
ced2c525c7 - cleanups in IntSendMessage3
- minor cleanups in other functions
stoppok

git-svn-id: trunk@11 -
2000-07-23 10:51:53 +00:00
lazarus
8e0c8245fa added text for LM_Destroy, stoppok
git-svn-id: trunk@10 -
2000-07-23 10:49:47 +00:00
lazarus
f2242c2d8e - some more cleanups (removal of unused variables), stoppok
git-svn-id: trunk@9 -
2000-07-16 20:59:03 +00:00
lazarus
b3206798a8 Added procedure ListBox.Clear (changes by chris, added by stoppok)
git-svn-id: trunk@8 -
2000-07-16 12:45:01 +00:00
lazarus
22127cbbef added OnMouseEnter, OnMouseLeave property (changes by chris, committed by stoppok)
git-svn-id: trunk@7 -
2000-07-16 12:44:31 +00:00
lazarus
553b33058f Made one Glyph to BitBtn.Kind "All" (changes by chris, added by stoppok)
git-svn-id: trunk@6 -
2000-07-16 12:42:29 +00:00
lazarus
c730c47bd0 Added procedure ListBox.Clear (changes made by christer, added to cvs
by stoppok)

git-svn-id: trunk@5 -
2000-07-16 12:39:53 +00:00
lazarus
c103f649b3 Added OnMouseEnter, OnMouseLeave property
(code from christer, added by stoppok)

git-svn-id: trunk@4 -
2000-07-16 12:37:52 +00:00
michael
f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00