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

437 Commits

Author SHA1 Message Date
Wizzup?
1b4706f1fd Removed settings project
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@393 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 19:52:59 +00:00
Raymond
01be7fef21 Added lil writeln.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@392 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 15:47:18 +00:00
Raymond
5e942f7bde Updated the rev.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@391 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 15:40:03 +00:00
Wizzup?
c387bbde93 Changes for settings.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@389 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 14:34:23 +00:00
Wizzup?
3ff440acc1 Added Settings/Fonts/LoadOnStartUp and fixed a few things
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@387 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 01:56:30 +00:00
Wizzup?
6aaa97b0ee GetSetLoadSaveDefaultKeyValue -> private.
Use GetSetLoadSaveDefaultKeyValueIfNotExists. (w0t)
Also fixes a few minor things.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@386 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:34:58 +00:00
Wizzup?
699432aab6 Comments + changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@385 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-08 00:09:15 +00:00
Wizzup?
de92bc6604 Moar settings
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@383 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 23:14:48 +00:00
Wizzup?
ef804714c4 More changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@382 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 20:25:10 +00:00
Wizzup?
96b83db57d Added some settings.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@381 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-07 19:29:03 +00:00
Wizzup?
c5faba2cb5 Settings added.
Lots of TODO's, but it should be functional for programming uses.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@379 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-06 20:43:16 +00:00
Wizzup?
e4b17843d5 Final, I think.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@378 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-06 19:06:20 +00:00
Wizzup?
aa5fb8bda8 Fixes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@377 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-05 23:05:03 +00:00
Wizzup?
906d4c9b98 Setting test base
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@376 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-05 18:35:42 +00:00
Raymond
6eb1f5af23 lil bug in framefunctionlist
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@375 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 21:55:34 +00:00
Wizzup?
868c1c5d32 Removed BadPoints from TDTM because PascalScript cannot handle it.
Changed GoodPoints -> BadPoints.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@374 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 20:56:47 +00:00
Wizzup?
b2f5a9f77a Added DTM NOT points, made DTM algorithm more dynamic.
Added CTS support for DTM. (May remove later if it becomes slow)



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@371 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-04 19:08:06 +00:00
Raymond
b7f2cf6a61 git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@368 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2010-01-03 19:27:17 +00:00
Raymond
b8b8c5125c Added backwards searching for the functionlist (arrow up)
Added a lil bar for functionlist (easier to drag) and close button
Made the updatetimer go to 30 mins, after first call
Made the versioncheck have a different thread (made it pretty thread safe, afaik)
Made about form show the version

Fixed lil bug with FunctionList(where it would get big borders after selecint an item).

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@367 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 19:27:09 +00:00
Raymond
49779bf2ed Added export to HTML
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@366 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 14:50:26 +00:00
Raymond
215dfea1fd Made some minor changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@365 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 13:47:40 +00:00
Wizzup?
803cd75a59 Reworked input.pas to use TMWindow directly rather than TClient.
Added TargetValid to TMWindow. Appropriate changes in TClient.

Colourpicker now returns coordinates relative to the set Window.
If the window doesn't exist, it will default to desktop.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@364 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 03:45:02 +00:00
Wizzup?
5d9fc3b088 Now checks for an update 10 seconds after startup.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@363 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-03 01:36:54 +00:00
Wizzup?
48242e8cb1 Fix in plugins. Small export change for SetTargetArray.
Added Pointer as Integer to PS.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@360 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:32:46 +00:00
Wizzup?
2dc2725364 Memory leak fix in ToTBitmap. If you use .SetSize and then .LoadFromRawImage,
the previously allocated data is not freed.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@359 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 13:02:57 +00:00
Raymond
f45746a754 Good lpr
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@358 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 17:08:13 +00:00
Wizzup?
1e62434a2e Changes in the updater.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@356 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-01 15:32:23 +00:00
Wizzup?
b9fedf3d0b Updater changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@355 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 22:37:09 +00:00
Wizzup?
4eba136b9c Few changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@354 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 20:38:40 +00:00
Wizzup?
568484d2e0 Small updates + added core for updater
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@353 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 18:17:49 +00:00
Raymond
50b08bd83c Fixed bit64 error.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@350 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-28 00:08:02 +00:00
Raymond
388e50184b Added this ASyncQueCall so that the script gets focus on start.. Not sure whether is should stay in. And made sure your block doesn't get highlighted when doing CodeCompletion
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@347 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 16:43:06 +00:00
Raymond
dd79c05b39 Show the function list default :-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@346 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 16:20:46 +00:00
Raymond
fed81fb976 Fixed a memory leak.
BrigthnessAdjust -> BrightnessAdjust

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@345 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 15:45:05 +00:00
Raymond
ebbd4dcb5c Updated Function list -> now filters..
Still have to clean up the code!

Oh to insert some text after Ctrl+Space'ing press Space,Comma,dot,bracketOpen,BracketClose..

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@343 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-26 12:44:40 +00:00
Raymond
49b18d677a GetDebugImage now ported to PS, thanks to Wizzups leet Bitmap.FromRawImage :D
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@340 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:56:25 +00:00
Wizzup?
8b13311539 Revert of 336.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@337 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 15:40:14 +00:00
Nava2
a176b953e1 I thought I would contribute..
Just some small optimizations, is Ray's CTS2 comparison being fully implemented? If so, there are several procedures in finder.pas that need to be updated.
Also, the FindColorsArea, should it be done like the other finders?

I think several functions are not yet passed to PS, FindColors?

Unless the function list is not complete in its actually list.

Anyways, merry christmas to those who celebrate, and happy holidays to everyone else :)


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@336 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 14:08:27 +00:00
bullzeye95
eb1f32e7b1 Cleaned up and shortened some of the function list code.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@335 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 06:39:59 +00:00
Raymond
afd8871cd6 Pimped the function list..
And!! Even made some kind of ctrl + space list!!! <3<3

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@334 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 01:34:14 +00:00
Raymond
43052b9263 Committing for the sake of committing.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@332 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 17:38:16 +00:00
Raymond
8f88d8a0ab Made the function list functional! :-)
Extra -> Fill Function List

And the dragging w0rks.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@331 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 16:21:31 +00:00
Wizzup?
d5ee9fdbc5 Added a new font loader.
Fonts are loaded at the first script start.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@330 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 11:04:53 +00:00
bullzeye95
5a28193dce Made the function list into a frame, added an edit box to the bottom of it that will later let the user search for a function, and made the function list hidden by default.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@329 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 08:18:24 +00:00
bullzeye95
d281d89d42 Added some more functionality to and fixed some bugs in the function list, and made it hidden by default.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@328 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 01:20:17 +00:00
Wizzup?
edfce61a25 Fix for Windows compilation
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@327 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 20:06:22 +00:00
Wizzup?
7a779be7ca Fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@326 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 18:53:35 +00:00
Wizzup?
a9f52ec1c7 Removed TMWindow.CopyClientToBitmap - please use
TMufasaBitmap.CopyClientToBitmap.
Added a "Set Client" feature to OCRBench, so you can test on runescape.
Also added TMufasaBitmap.ToTBitmap.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@325 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 18:45:03 +00:00
bullzeye95
800916d673 Added docking support to the function list
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@322 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-23 00:33:32 +00:00
Wizzup?
a4779d8520 More fixes for Windows...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@321 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:29:36 +00:00
Wizzup?
be478d0ba1 Changes + Fixes for OCRBench, I forgot to remove -WG.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@320 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:24:43 +00:00
Wizzup?
75aca7ff2b Small change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@319 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 23:04:29 +00:00
Wizzup?
20a66b3854 Big OCR update. Also added redundant ConvTPAArr to mufasatypesutil,
added Copy() to TMufasaBitmap, and added GetDirectories to files.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@318 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 22:52:02 +00:00
bullzeye95
36d0cc2f9c Started on the function list. So far you can drag objects from it into the script, though it just inserts "will implement later" into the script for now...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@317 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 08:57:10 +00:00
bullzeye95
fdf4b9ee35 Made tabs draggable in Linux, made middle click close tabs, and a couple of other tab-related changes that I can't remember
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@316 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 06:10:58 +00:00
Wizzup?
41587968ef Small changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@315 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:55:58 +00:00
Wizzup?
80ce9744c6 More OCR changes, but mainly OCRBench changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@314 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:19:29 +00:00
Wizzup?
e550e54d45 Colourhistory form fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@311 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 20:57:20 +00:00
Wizzup?
aaba36868c Compilation fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@310 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 20:54:14 +00:00
Wizzup?
64ba5b72ec OCR inner api changes. Added ``suppport'' for shadows.
Changed OCRBench a bit more.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@308 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 19:48:57 +00:00
Wizzup?
9bc999fcad Added OCRBench.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@306 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 16:36:30 +00:00
Wizzup?
c3f91d9199 Very sad bug... TImageList.Delete actually sorts the list of the images left,
so all the images of other nodes are invalid. So if an node is deleted, we have
to Clear; the ImageList, en reassign all...
Also made a few changes to OCR.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@305 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-21 15:13:41 +00:00
Raymond
7041409533 Added hide to tray.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@302 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 20:11:11 +00:00
Wizzup?
483d0b71c5 Few fixes when it comes to detection is there was a change to the xml file.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@301 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 17:32:25 +00:00
Wizzup?
a33f1e3f18 Some fixes + added Clear.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@300 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 17:27:46 +00:00
Wizzup?
782e0f5461 Fixed a bug when selecting. Added Load/Save support with XML.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@299 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 17:16:52 +00:00
Wizzup?
b13691bcb3 Added (un)grouping support.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@298 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 01:53:27 +00:00
Wizzup?
f4ad150866 Small fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@297 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 23:45:57 +00:00
Wizzup?
a74bd810c0 New CH
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@296 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 23:34:38 +00:00
Raymond
3e2a64cc7e Testing purposes only
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@295 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 22:55:50 +00:00
Wizzup?
1879c42602 Small oops. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@294 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 21:05:26 +00:00
Wizzup?
446c7a7318 OCR Filter changes, fix in TMWindow
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@293 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-19 18:09:04 +00:00
Wizzup?
28f5c30785 New OCR Filter.
OCR still needs work. Also needs newer fonts.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@286 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 23:13:02 +00:00
Cazax
025aceb591 Added FindColoredArea and FindColoredAreaTolerance.
--Esta línea y las que están debajo serán ignoradas--
M    Units/MMLAddon/PSInc/Wrappers/colour.inc
M    Units/MMLAddon/PSInc/psexportedmethods.inc
M    Units/MMLCore/finder.pas
M    Projects/SAMufasaGUI/testunit.lfm
M    Projects/SAMufasaGUI/project1.lpi
M    Projects/SAMufasaGUI/testunit.lrs


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@285 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 17:49:44 +00:00
Wizzup?
162d716f15 Removed X unit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@284 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 15:06:03 +00:00
Wizzup?
0194a1b55c Seems like the abs(r-g) isn't ok if there's a very bright red/green/blue background for the white text. :) (see uptext7.png)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@283 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 14:57:53 +00:00
Wizzup?
1c025af420 Check out MufasaTests for ocr filter v1
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@282 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-17 14:54:21 +00:00
Wizzup?
cd2ba7e3cb Typo. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@279 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-16 13:47:19 +00:00
Wizzup?
a9b3f15758 RGB in Colour History
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@278 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-16 13:37:07 +00:00
Cazax
0d20ef5b2d git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@276 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-12-11 17:42:07 +00:00
Wizzup?
c1d6c3101d Bigger tray icon. (Too big?)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@274 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-08 19:02:29 +00:00
Wizzup?
35d64fecc4 New (Larger) Icon + Title for Colour Picker Form + Change in DTM.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@272 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-07 20:12:51 +00:00
Raymond
13be2661cf Added some 'basic' functions
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@270 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 22:25:28 +00:00
Wizzup?
b4d56fa979 Changes in doc and code.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@267 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-04 20:57:00 +00:00
Wizzup?
d2e3e278f1 DTM uses CTS 1. FindDTM/FindDTMs are `done' for now. Unless you guys/girls really want AreaShape, then I can add those too.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@264 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 20:18:38 +00:00
Wizzup?
481d3e3cd3 More optimisations. Removed areashape for now.
One thing still needs to optimized - and that is the colour/tolerance matching.
Not too hard, but LOTS of extra code.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@263 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-02 19:04:29 +00:00
Wizzup?
c0132294be Added new DTM Finding. Not done yet, but getting there.
Needs a few obvious optimizations, and rotated isn't implemented yet.
Needs a stress-test script.

Added a script to test the difference between FindColorsTolerance and FindColorsToleranceOptimisation.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@260 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-01 23:41:43 +00:00
Raymond
8e3c093fbb git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@252 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-11-30 15:55:14 +00:00
Raymond
c5d968160f Added DebugImageForm, see debugimageform.mufa for example.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@251 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-29 19:23:25 +00:00
Markus
9d83f53bbb yeye is it allright now? Tested with win32 and Qt api and it worked fine at those now.
Oh, one more bug: colour picker AV's at Qt, just fyi.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@236 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-24 22:02:49 +00:00
Markus
9937ac49eb made the colourhistory form nice :) (aka constraints etc fixed for sexy resizing)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@235 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-23 21:59:40 +00:00
Wizzup?
2682acc57f Added licenses. Removed a few comments.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@234 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 11:08:09 +00:00
Wizzup?
cc3b9d401f Added file writing, reading, etc.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@233 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 09:30:09 +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
1f1cdda543 Fixed a lil shortcuts bug, added exit to File menu, added Exit Icon, added Help menu, added About form.
Changed the exported mouse functions to use Integers & consts, rather than the current Enum (because PascalScript is worthless when it comes to Enums).


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@229 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-12 21:20:29 +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?
f8fc7069d3 Added mouse test + some changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@224 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 20:39:20 +00:00
Wizzup?
afca6a0e10 Added ClickMouse, HoldMouse and ReleaseMouse.
Also added TClickType and TMousePress.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@222 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 00:46:34 +00:00
Raymond
f9b8611336 Deleted imagelist + added OK button (+ enter in the name-edit box results in a close).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@221 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-09 20:15:26 +00:00
Raymond
edbed662b3 Test
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@220 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-09 19:32:09 +00:00
Wizzup?
ca79137a39 Few changes. SetFocus in colourhistory, and moved a few form items in colourhistory.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@219 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-09 14:22:29 +00:00
bullzeye95
a8d4830b71 Fixed some bugs in replace and added a confirmation dialog.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@218 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 19:09:45 +00:00
Wizzup?
270394a397 Added ColorToHSL, so I can run my old neopets script. ^_^
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@217 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:39:28 +00:00
Wizzup?
7ff6765f73 Fixed the position of the colour history form... ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@216 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:27:48 +00:00
Wizzup?
4fb4d6426e Alright, added support for windows, just cause I'm a nice guy.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@215 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:04:35 +00:00
Wizzup?
571ea97bd7 Some more changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@214 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:55:00 +00:00
Wizzup?
13fe985504 Several changes. Removed support for windows, as KeyInput on Windows tries to synchronize after sending a key. This is not a good idea when not on the main thread; and causes crashes. Either Inherit from TKeyInput on windows, and change the calls so that it doesn't call ProcessMessages, or create your own.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@213 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:45:45 +00:00
Wizzup?
74e446d58a Seems one path wasn't added.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@212 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:25:42 +00:00
Wizzup?
a68d70d456 Added KeyUp/KeyDown/KeyPress and SendText. Should work on Windows as well on Linux.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@211 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:23:04 +00:00
Raymond
6b38b276bc Fixed the word highlighting :-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@210 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 15:15:48 +00:00
bullzeye95
b8f4098fc1 I changed the highlighting I added before to a lazarus-style highlighting (gray background on all matching selected letters). I think this is better than what I had originally, but I can easily switch back to the original if requested.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@209 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 09:04:55 +00:00
bullzeye95
1cc120a13d Added a replace option on the edit menu and right click menu and added the ability to highlight all of a selected word in the document
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@208 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 04:45:26 +00:00
bullzeye95
cb02863bb7 Added "Find next" to the right click menu, which finds the next instance of the selected text
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@207 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 20:26:26 +00:00
Wizzup?
854f40ba35 Small fix for view -> CH checkbox
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@206 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 17:49:47 +00:00
Wizzup?
4c6cd3cdc1 Change to allow copying colours. :p
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@205 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 17:43:41 +00:00
Wizzup?
56ae917fda Some fixes + changes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@204 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 16:55:28 +00:00
Wizzup?
c43550a804 Forgot these. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@203 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 15:51:58 +00:00
Wizzup?
cdbd7a748f Colour Picker History! :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@202 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 15:40:45 +00:00
Raymond
7462800afa Now it's actually fixed, I guess.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@201 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 12:52:29 +00:00
Raymond
a1b06a95a3 Added Delete + Close( for the searchpanel) icons
Tweaked Bullzeye's updates a bit, fixed up SearchPanel a bit (now has Match Case + F3 (search next))
TAT WAS IT YA

Oh, fixed several bugs having to deal with .SetFocus

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@200 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 12:44:09 +00:00
bullzeye95
36c1b63de3 Added a right click menu for the synedit; added some actions to the action list and made the main menu and popup menu use them; added some options to the edit menu; made the edit menu and popup menu arguments enabled/disabled based on whether or not they could be used. Do not have an icon for the delete action
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@199 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 05:27:39 +00:00
Wizzup?
00755e9fdd Mouse is now non-silent by default on Linux. This ensures all events are send. Silent wasn't 100% accurate when the client wasn't "activated".
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@198 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 01:57:38 +00:00
Wizzup?
2e8c2da42e Made framescript use formWriteln() as well.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@197 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 00:50:02 +00:00
Raymond
3f85f28244 Eat this stuff!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@196 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-05 19:44:10 +00:00
Raymond
cf8e0f18f8 Fixed lil' bugs in tabs, & changed the way Writeln works @ windows.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@195 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-05 17:03:44 +00:00
Wizzup?
6901684b03 I think one would need the lfm too, for the TTimer... My bad. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@194 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-05 00:59:59 +00:00
Wizzup?
c3a694a46a Add -dTERMINALWRITELN to debug to terminal rather than debug box.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@193 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 23:02:37 +00:00
Wizzup?
366764d910 Writeln() now goes to debug box on Linux too. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@191 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 22:41:06 +00:00
Raymond
eeb04eecfb Now actualy closes
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@190 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 20:25:56 +00:00
Raymond
ef3fc85752 Tabs + closebuttons
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@189 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 20:19:13 +00:00
Raymond
b09a7462a2 GO FOR THIS MADNESS -> Ctrl + F -> Searchpanel, just like FireFox..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@188 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 20:05:35 +00:00
Raymond
1a682964a7 (Please test the search panel again @ linux?)
Oh and you can see the ability of tabs + images (not sure how it looks @ linux)

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@187 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 15:56:28 +00:00
Wizzup?
29d0b3f267 Small fix.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@186 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 20:54:35 +00:00
Wizzup?
61c802d7c0 forking example.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@185 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 20:14:30 +00:00
Raymond
707cfb814a Added kind-of experimental 'firefox-search'.
Will finish it later.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@184 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 17:23:34 +00:00
Wizzup?
751d04436a Made a different RS Text Extractor. I think it works better in most cases,
but it needs some more work. I need to write a floodfill to remove noise.

Apart from that, < 5ms for rs_getuptext isn't bad.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@182 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 12:57:39 +00:00
Wizzup?
5dd8332fc1 I think it fails in quite some cases.
Few fixes for cross platformness.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@180 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 00:44:53 +00:00
Wizzup?
f42c32f1b8 rs_GetUpText should work now in the GUI. It probably still needs internal tweaking, but you can test it now, and report pictures of situations where it does not work.
I may have left some debugging writeln's in - remove them when they annoy you.

Also uploaded the old UpChars font.




git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@179 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 00:40:07 +00:00
Raymond
c3aa2b3e36 Copy image!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@177 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 11:07:41 +00:00
Wizzup?
7b1e8d6f6a Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@175 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 10:18:35 +00:00
Raymond
6936a5c81e Made some changes in CopyClientToBitmap (It does NOT have a bug, unless ReturnData is wrong.. Might wanne look into that Tovenaar) it now has the option to resize the bitmap or not. (Scar does resize the bitmap).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@174 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 09:25:49 +00:00
bullzeye95
79d5a5c5e5 Polished and removed all/most bugs from the tab system, added hints to the buttons, and added a "copy" menu item (no icon)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@173 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 04:10:32 +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
01f971a476 Cleaned up a bit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@171 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 17:23:16 +00:00
Raymond
a23dd1b397 Fuck dragging for linux users!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@170 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 15:30:32 +00:00
Raymond
5d4f147e51 Couldn't switch tabs anymore
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@169 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 15:17:18 +00:00
Raymond
c0a090c01c Some fixes for linux
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@168 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 15:04:03 +00:00
Raymond
a3625f5d07 Did lots on GUI. Tabs extended, now use shortcuts, save all etc. Tab-popup.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@167 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 13:56:54 +00:00
Wizzup?
8a101c65f5 First OCR Function - GetTextAtEx. Currently only for UpText - still much of a stub.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@166 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 11:07:46 +00:00
Raymond
f304e759fa Fixed some little things + Tray has now Run/Pause/Stop. Oh and GPL @ framescript
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@165 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-31 23:31:51 +00:00
Raymond
5318273524 Fixed terminate button.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@164 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-31 22:18:56 +00:00
Raymond
8755708b3a Added tabs... TEST THIS OUT!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@163 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-31 21:44:13 +00:00
Raymond
7e06e85bee Been messing around a bit, haven't changed much.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@162 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-30 20:21:44 +00:00
Nava2
892e09abc8 Added some new types, just made the hueXMod and satXMod variables for speeding up the tolerance finding procedures.
First commit. HA!


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@161 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-27 01:49:52 +00:00
Wizzup?
bf4e1e5a69 FindColor test for people who want to test without PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@159 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-25 20:55:50 +00:00
Raymond
8538097e9d Testing linux commit
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@157 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-25 18:18:24 +00:00
Raymond
ce2ca537cd Sum updates
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@156 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-25 11:01:28 +00:00
Raymond
b2919afafa Added some extra menu's.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@155 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-24 16:00:10 +00:00
Raymond
e1dc236d90 Updated tha gui bish!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@154 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-24 15:37:00 +00:00
Raymond
86a67e64b2 Pimped tha GUI
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@153 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-24 14:01:21 +00:00
Wizzup?
0a8a1b2b66 Whee
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@152 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-23 22:40:41 +00:00
Wizzup?
9eee02476c This may make testing easier. Especially if you don't want to use PascalScript.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@151 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-23 22:21:14 +00:00
Raymond
3b603917a0 FindDeformedBitmapToleranceIn has been improved! Is zeh win now. (beats scar, imo).
Oh and we can now type more than 80 chars a line (in synedit).


git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@147 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-22 14:25:20 +00:00
Wizzup?
a8c22c4ffa Eeh. This should fix the path issue.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@146 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 23:07:05 +00:00
Wizzup?
fdc17555c2 Ray included a wrong path.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@145 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 22:49:37 +00:00
Raymond
f3dae9ae78 .include now quite working..
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@144 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 20:30:11 +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
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
Raymond
7c2fd48297 Updated the GUI a bit :-). Now has Loading/Saving + some elementary stuff.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@134 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 17:57:09 +00:00
Wizzup?
c73e4df23d Empty ocr.pas :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@130 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 21:46:29 +00:00
Wizzup?
c8cb3a1d19 Changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@129 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 20:56:29 +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?
5f8b9009d1 Fix for time. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@126 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:35:50 +00:00
Wizzup?
6c1938cc7f Tell me if I missed anything.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@125 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 15:04:52 +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
Raymond
50218e9320 Bmp stuff + normal font size in GUI.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@120 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-09 22:17:35 +00:00
Wizzup?
e9d2c0a614 CopyClientToBitmap.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@118 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-08 03:54:14 +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?
4857d037c1 Wups, placed the form on my second monitor again. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@112 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-06 18:09:05 +00:00
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?
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?
b3442cc043 Played a bit with the SAMufasaGUI Size, and it's font sizes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@105 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-04 08:55:12 +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
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?
3561203791 Probably moved the form out of your window, fixed. :p
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@96 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 21:46:18 +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?
8ae45b0237 Added a TrayIcon.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@93 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-25 19:29:03 +00:00
Wizzup?
5085ba40c8 Two makefiles
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@92 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-25 00:05:00 +00:00
Wizzup?
47bd23951b Few changes, and added a Makefile.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@91 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-24 07:40:13 +00:00
Raymond
02dc6d6cef git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@90 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-09-23 22:01:19 +00:00
Raymond
f279ee1489 git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@89 3f818213-9676-44b0-a9b4-5e4c4e03d09d 2009-09-23 21:56:51 +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?
efc8843623 Note needs a bit of fixing. (Colour Picker)
Added a comment on the history.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@81 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-23 00:00:51 +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?
0299c4e641 Few changes, disabled some more buttons. Enable them once their function
is implemented.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@78 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 21:04:11 +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?
c49b1d84e9 Some more files for #75.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@76 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 08:16:52 +00:00
Raymond
d24c929443 Added some math functions to PascalScript, changed the GUI a bit (You can now run scripts with F9).
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@72 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 02:08:02 +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
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
Wizzup?
644802c5f3 Forgot to set -O1 to -O2.
Also, newer benchmarks:

765, 503 (RS)
CTS 0  8.782178217822 ms each.
CTS 1 19.019801980198 ms each.
CTS 2 64.970297029703 ms each.



git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@52 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 09:01:10 +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
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
Wizzup?
ccc206e234 Removed a line in testunit that probably doesn't compile on windows. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@45 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 19:00:58 +00:00
Wizzup?
2b0cb40b79 Writeln to GUI -> writeln to console.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@44 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 19:00:21 +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
Wizzup?
1c9e64cb0c A few more changes. Bedtime. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@42 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:24:30 +00:00
Wizzup?
b5e0bbf5ff Added a few include files, pscompile.inc should probably be split up in more include files.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@41 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:15:52 +00:00
Wizzup?
2abd1feb48 Watch the case sensitivity please. ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@40 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:47:21 +00:00
Raymond
9a55b3711f Oops?
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@39 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:28:22 +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?
a12df46efc Silly raymond and his +1's. :)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@29 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 18:39:18 +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?
badc4a3c3b More changes.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@27 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 07:04:42 +00:00
Wizzup?
ea1cac880f Added a test. Works nicely.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@25 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 06:06:58 +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
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?
1365416872 Missed a file.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@20 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 05:24:12 +00:00
Wizzup?
107eb53088 Moved the GUI to it's own project folder. ;-)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@19 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-04 05:17:52 +00:00