A small gui calculator - Acalc
1 Attachment(s)
Here is a small gui calculator I made cause I wanted to check out gadtools.
Needs OS >=2.0 Source is included in the attachment, but you can browse it https://github.com/alexalkis/acalc also. The mode-switching (Simple/Scientific/Programmer's) is not working (yet), as I don't know how to change the UI :P |
1 Attachment(s)
Started on A1200 3.1. Maybe it is VisualPrefs here but want to mention that the string gadget overlaped title bar when ACalc opens an active. If the window is not active the gadget moves behind title bar.
|
1 Attachment(s)
Quote:
|
Ahh nice (works now), I thought already something like that. Also like the constants. If you like to add more constants then cycle-/drop-down gadget or keyboard input would be good. At least you can try/check gadtools. :)
|
1 Attachment(s)
Oldsyle icon made from ACalc window. ;)
|
Quote:
|
Adding some arbitrary precission I needed the gmp and the mpfr libraries.
I've downloaded the sources. Gmp-6.1.0 Code:
./configure --host=x86_64-pc-linux-gnu CC=m68k-amigaos-gcc NM=m68k-amigaos-nm --prefix=/usr/local/amiga/m68k-amigaos/ --enable-assembly=no --enable-shared=no AR=m68k-amigaos-ar RANLIB=m68k-amigaos-ranlib Code:
./configure --host=x86_64-pc-linux-gnu CC=m68k-amigaos-gcc NM=m68k-amigaos-nm --prefix=/usr/local/amiga/m68k-amigaos/ --enable-assembly=no --enable-shared=no AR=m68k-amigaos-ar RANLIB=m68k-amigaos-ranlib Code:
m68k-amigaos-gcc -s -noixemul -Os -o acalc acalc.c -lmpfr -lgmp |
All times are GMT +2. The time now is 01:24. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.