1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-25 10:42:20 -05:00
Commit Graph

268 Commits

Author SHA1 Message Date
Wizzup?
8648fbb120 More fixes for FindDTM and FindDTMs.
The rotated variant do not function correctly, yet.
I think the entire idea they are based on should be slightly different.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@111 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 18:08:41 +00:00
Wizzup?
a063b83081 Well - DTM needs some more work. It doesn't fully detect what areas it should search in - yet.
Basically:
	x1 = x1 - max(areasize * (negative) distance to main point) <-- Max of all points. Same for the rest.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@109 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 06:52:38 +00:00
Wizzup?
5015ece4e2 mmath
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@108 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 03:42:52 +00:00
Wizzup?
b970995a3d Woot.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@107 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 03:40:44 +00:00
Wizzup?
df029c2fd7 More DTM.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@104 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-04 06:37:34 +00:00
Wizzup?
6cb7800002 Few fixes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@102 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 22:28:29 +00:00
Wizzup?
490c3e1871 Fixed some warnings + added FindDTM and AreaShape.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@100 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 22:11:30 +00:00
Raymond
33b416a939 Fixed.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@99 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:38:40 +00:00
Wizzup?
0f2c4af46f Forgot a file. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@98 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:20:52 +00:00
Wizzup?
88710ef066 Some DTM functions.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@97 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:17:54 +00:00
Wizzup?
b852563368 Fix + comments
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@95 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 21:44:38 +00:00
Wizzup?
950bf6cfa9 Added freeze() to colour test.
Fixed a bug in cts 0, made cst 1 20% faster. Only cts 2 left to optimise.
(Can be optimised a lot!)



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@94 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 02:12:29 +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?
cdb1b97465 Compilation fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@85 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 04:16:05 +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?
f1a223473d DTM shell with some comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@75 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 08:14:43 +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
beb307f24b Added FindColorsTolerance.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@73 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 02:19:44 +00:00
Raymond
abe7c1f8a2 Added CountColorTolerance + SimilarColors.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@71 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-18 22:41:05 +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
Raymond
c477793560 Made plugins global, :-(
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@61 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:56:15 +00:00
Raymond
fafda03ad0 Updated + Added plugins
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@59 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:22:23 +00:00
Wizzup?
f8e5ca80fd Small fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@56 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 19:14:15 +00:00
Wizzup?
3b6aadcf88 FindColors
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@55 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 18:56:02 +00:00
Raymond
ade23dff0d Fixed Finder
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@54 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 18:19:33 +00:00
Wizzup?
c2c6f2e09a Colour_conv
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@53 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 17:14:09 +00:00
Wizzup?
9ba14f16d5 Ah. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@51 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 08:48:00 +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
Raymond
1797201d2a Updated Bitmaps!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@49 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 07:25:40 +00:00
Raymond
dee2b98fd9 FIXED YO ERRORS!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@48 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 05:00:13 +00:00
Wizzup?
5ca4ac75e1 Cleanu
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@47 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 04:46:01 +00:00
Raymond
150ad9fcf1 Added Bitmaps
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@46 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 02:18:35 +00:00
Raymond
02e82f93c3 Wot
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@43 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 18:50:10 +00:00
Raymond
6f80c64d9c PS Added
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@38 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:24:59 +00:00
Wizzup?
9a2b50ef82 Added MMLThread plus comments and and sample for Raymond.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@37 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-11 18:32:57 +00:00
Wizzup?
ddd3a8bb3b Switching to other computer.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@36 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-11 18:09:03 +00:00
Wizzup?
e706a5fd38 Fix for 64 bit.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@35 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-09 22:11:50 +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
Raymond
acfe2a5232 Made some changes!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@33 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-05 20:33:20 +00:00
Wizzup?
036f11e249 Finder class.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@32 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-05 20:08:52 +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
Wizzup?
fd960aa1aa Files + Fixed form popup. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@24 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 05:57:40 +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?
58995711ad Cleaned up the lpi
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@22 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 05:36:50 +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?
65f6b01bc4 Forgot to add windowutil. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@4 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-01 01:42:56 +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