![]() |
![]() |
#1 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 732
|
A small gui calculator - Acalc
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 |
![]() |
![]() |
#2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,326
|
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.
|
![]() |
![]() |
#3 | |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 732
|
Quote:
![]() |
|
![]() |
![]() |
#4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,326
|
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.
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,326
|
Oldsyle icon made from ACalc window.
![]() |
![]() |
![]() |
#6 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 732
|
|
![]() |
![]() |
#7 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 732
|
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 make sudo ln -s /usr/local/amiga/bin/m68k-amigaos-ranlib /usr/bin/m68k-amigaos-ranlib sudo make install 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 Edit file mpfr-impl.h at line 1204 # define MPFR_LCONV_DPTS 0 // alkis was 1 make sudo make install Code:
m68k-amigaos-gcc -s -noixemul -Os -o acalc acalc.c -lmpfr -lgmp |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga calculator | cla | Coders. Releases | 35 | 30 December 2017 15:00 |
BPM calculator for Octamed? | lordofchaos | request.Apps | 4 | 29 May 2013 19:46 |
small GUI bug: ghosting of "write protection" label df0/df1 | rsn8887 | support.WinUAE | 1 | 23 August 2010 17:02 |
Kumiko GUI - Amiga Workbench 3.1 GUI for Windows | milika | Amiga scene | 31 | 18 April 2007 19:16 |
Speccy on Ti-89 calculator | Fred the Fop | Retrogaming General Discussion | 3 | 27 January 2007 02:30 |
|
|