![]() |
|
Allegro Paint Program |
Matt Smith
Member #783
November 2000
|
Just in time for 2001. I've done a painting program made with the Allegro GUI and my MAGE lib. Tested with MingW32, it's not quite finished but it's usable. WINDOWS BINARY HERE only 30K, needs Alleg40.DLL More links in a few hours when I've tested the DJGPP and Linux builds, and written a quick readme. HAPPY NEW YEAR [ December 31, 2001: Message edited by: MattSmith ] |
23yrold3yrold
Member #1,134
March 2001
![]() |
What's a MAGE lib? Do the drawing functions work by magical or something? -- |
Matt Smith
Member #783
November 2000
|
When science is sufficient well advanced, it is indistinguishable from magic My (or matt's) Allegro GUI Extensions. Very few are used in this program so far ('cos they all buggy like) but it'll kick some butt when it's working smooth. There's a lot of life in the old GUI yet. I actually build a lib.a in the makefile and then link to that. It's the first time I've managed that |
23yrold3yrold
Member #1,134
March 2001
![]() |
"work by magical" ... gotta love my grammer. Pretty cool. I especially like the little window in the lower-right corner. Nice idea. -- |
Matt Smith
Member #783
November 2000
|
"sufficient well advanced" me too The little window is from Neopaint on the ST. It was cool there because the mouse was very lo-res. I'll hafta fix the proper zoom because it's tricky to get the right pixel in the liddle weendow. I ditched the full-screen zoom because it slowed spraying down, but I've figgered how to deal with that. I've stayed as close as possible to the original GUI mechanisms so it'll be easy to merge with other libs and editors and stuff. I'm going to have finer palette control than PSP but otherwise that's what I'm aiming at with this partickler program. mm booze nice PS you have to double click the tools to get their options because I can't embed dialogs in the toolbar yet. [ December 31, 2001: Message edited by: MattSmith ] |
Matt Smith
Member #783
November 2000
|
New version, same link. not much different but a nasty bug removed. You can also set the run resolution and depth in the CFG file. |
Fladimir da Gorf
Member #1,565
October 2001
![]() |
OK! OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori) |
Matt Smith
Member #783
November 2000
|
do_line() spray is a good idea. I've got more important stuff to do than refine the tools though. You can add that when I release the source. This is supposed to be a kit for building your own custom paint program. Maybe it's better to build it as a DOS program for smoothness. I've only posted the Win bin so far as it's tiny compared to the source or the DOS binary. It only gets laggy on mine if I have a console with it, or if IE or OE are running. I think that's a problem with all Allegro programs in a window. I'm going to move on to my drawing program for a while. They use the same library and I've got to be careful I don't make the API too specific to one or the other. Thanks for the feedback. I'll put it on my todo list. The Windows shutdown is safe enough except for the memory leakage that is bound to happen. Fixing that will have to wait until I'm done testing on all O/S. |
Matt Smith
Member #783
November 2000
|
The source is now up, and compiles under DJGPP or MingW32. It is much smoother either way because the last binary I posted uses GFX_GDI (i was testing something) This new version of MAGE includes a half-written drawing program that doesn't do anything useful yet. This uses my libs equivalent of MFCs CDocument class so things like zoom work OK already. Grab it here, put it in your mage folder, tar -xcfz ./mage04_s.tar.gz and make. [Edit: oops I put .zip in the link when it's a .tar.gz. If this bothers you get djtar or powerarchiver you lazy k'niggets] [ January 06, 2002: Message edited by: MattSmith ] |
|