1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-11 11:55:02 -05:00
Commit Graph

47 Commits

Author SHA1 Message Date
Wizzup?
17cb6596cc If the current window bitmap is beeing freed, don't raise an exception, but default to desktop and print a warning.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@259 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 13:11:14 +00:00
Wizzup?
d0572ddc18 Several bugfixes.
For the record:
	- One in wait. Integer -> DWord.
	- ActivateClient did not call XFlush(), and wasn't exported either.
	- Bug in SendKeys where it did not release the VK_SHIFT key.
	- Overloaded + and - operators for TPoints



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@253 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-30 19:57:26 +00:00
Wizzup?
f52f2986c4 Some more changes, exceptions and comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@232 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 02:45:00 +00:00
Wizzup?
46aec15209 Mufasa v2 -> Simba!
Did some documentation work, added some comments to some files.
Also added another check in Window.pas to help further debugging.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@231 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-14 01:22:06 +00:00
Raymond
8f220c8796 Cleanup
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@228 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-12 18:22:09 +00:00
Raymond
fce233838d Little clean-up; We need to initalize every record!!!!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@227 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 22:35:26 +00:00
Wizzup?
7fbef67005 Added an Exception when ReturnData encounters an error.
The Exception will be removed once we have taken a look at the bug I just filed.
The bug tracker isn't open yet - so no link for now.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@181 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 02:09:51 +00:00
Raymond
2b7c86831f Fixed error in ReturnData.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@176 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 10:34:41 +00:00
Raymond
a46ff70ce4 Fixed colourpicker.
On windows now uses the OnMouseMove event, displays the correct and x,y.. 
Added a GetDimensionBox to Window, not sure if it works/compiles correctly on Linux.
:-)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@172 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 17:58:57 +00:00
Raymond
dd3d202b44 Bitmap masks added. Little mistake in the RowCalcs, fixed it. RetData now also has a RowLen property.
Added Paths (ScriptPath / AppPath);

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@143 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 19:48:18 +00:00
Raymond
ffb90926b6 Added SetTargetBitmap, and made CallThreadSafe work, hell yeah!
OnDestroy event for bitmaps..
Added PosterizeBitmap
Added window.inc
Added FormTest.mufa

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@141 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 20:11:47 +00:00
Raymond
25d196ee75 Seriously learn the difference between (xe-xs) and Width. KTHNX! Since (xe-xs) <> Width.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@139 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 13:56:12 +00:00
Wizzup?
0109f1c91c Fix for SaveScreenshot on Linux
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@138 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 23:09:36 +00:00
Wizzup?
c59ea10a2c Zo dan.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@127 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:47:46 +00:00
Wizzup?
bd5f01d4c0 GPL v3. (Not aGPL after all.)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@124 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 14:37:31 +00:00
Wizzup?
2cb6eac33c Small fix for window.pas, removed some comments from dtm.pas, and added
more documentation.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@117 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-07 08:22:28 +00:00
Wizzup?
7806e9ceac Added a Window Selector for Linux.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@87 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 20:18:33 +00:00
Wizzup?
79505f7c4d Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@84 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 04:09:52 +00:00
Wizzup?
f49f0ed870 Few changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@82 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 00:10:40 +00:00
Wizzup?
55736bdaaf Enabled the colour picker button. (The Colour Picker is now functional)
The only thing left to do for the colour picker is to add an easy way to access the picker history. :) 



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@80 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 23:58:14 +00:00
Wizzup?
9ffbcc2234 Added TMWindow.SetWindow to pass the GUI's set client data.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@79 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 22:28:10 +00:00
Wizzup?
b5a8426f1e Gui changes:
- Added the TToolBar with the old Buttons.
	- Removed the bug Run button. The Green Run button is now functional.

Window changes:
	- Removed the Client: TObject parameter in TMWindow.Create,
	  the point of TMWindow was to be client independant, so it could
	  be used in the GUI too. This doesn't effect it's functionality in any way.

Client changes:
	Removed the Self variable passed to TMWindow.Create.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@77 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 20:55:15 +00:00
Wizzup?
4a6987a777 Fixed compiling errors on linux. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@74 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 17:37:00 +00:00
Raymond
68c49e0774 Added GetColor
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@70 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 20:08:15 +00:00
Raymond
a8c09d2149 Added CopyClientToBitmap in MBitmaps.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@69 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 05:14:09 +00:00
Raymond
60cb8a6d8b Made MWindow.Free/Unfreeze
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@68 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 02:58:23 +00:00
Raymond
5d58b428ea Removed wrong exceptions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@67 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-16 21:55:04 +00:00
Wizzup?
13c2103030 Added the first initial code of Freeze/Unfreeze.
Added more comments in window.pas.
Added several exception-raises where required.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@66 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-16 07:34:06 +00:00
Wizzup?
5d1ffa2c7d I removed the cts case from the loop (meta-unrolled), as it *really* eats speed.
Feel free to test, though.

Current results are fast enough for now, but I'm sure we can improve the speed a bit more. 
I set the optimalisations to -O2 instead of -01, it makes a difference of about 1.5x with CTS 2.   

Results:
    W, H = 826, 597
    
    FindColorTolerance, with no hit:
        CTS0: 11.316831683168 ms
        CTS1: 25.396039603960 ms
        CTS2: 37.613861386139 ms 




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@50 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 08:46:25 +00:00
Wizzup?
ff4376d290 Added a couple of files, and a few comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@34 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-09 07:08:58 +00:00
Wizzup?
1ade9de27b Compiler Option added:
-dM_MEMORY_DEBUG
Set Output name to "SAMufasaGUI"




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@30 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 19:18:13 +00:00
Wizzup?
faca7515f0 Property changes, and a workaround for a - for now unknown - bug.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@28 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 18:20:45 +00:00
Wizzup?
6d499620f6 Changes. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@26 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 07:04:32 +00:00
Markus
71c7f9bf3d Fixed bug in getclientdimensions:
In conformance with conventions for the  RECT structure, the bottom-right coordinates of the returned rectangle are exclusive. In other words, the pixel at (right, bottom) lies immediately outside the rectangle.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@23 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 05:38:37 +00:00
Wizzup?
adc6d0b6f5 LEKKER
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@18 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 04:26:56 +00:00
Raymond
a6a7f0b247 Lil fix in ActivateClient
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@17 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 04:24:26 +00:00
Raymond
babee3c3d2 Fixed EPIC stuff.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@16 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 03:43:50 +00:00
Wizzup?
f14b73983b Added support for array pointers.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@13 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 01:59:31 +00:00
Wizzup?
50ce4db8b4 Complication fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@12 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-03 04:04:06 +00:00
Raymond
ba1e0833b0 Je ziet maar
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@11 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-03 03:59:26 +00:00
Raymond
abb0020dc5 Made some MSWindows only changed, more will follow.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@10 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-02 23:18:18 +00:00
Wizzup?
93916bf9c1 Tests on a thread now.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@9 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-02 22:40:01 +00:00
Wizzup?
4cc31f4693 Mouse should be done now. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@8 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-02 05:16:29 +00:00
Wizzup?
7e57ca60bb Added Input.Mouse features and Window.SetTarget.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@5 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-01 04:37:28 +00:00
Wizzup?
3a3390f8a5 Added a first CopyClientToBitmap.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@3 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-01 01:42:05 +00:00
Raymond
53f343d58e Litlee IFDEF
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@2 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-08-28 22:29:18 +00:00
Wizzup?
18419b36cc Initial commit for Mufasa v2.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@1 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-08-28 22:19:25 +00:00