Skip to content

Commit

Permalink
standardized UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ashblair committed Dec 3, 2022
1 parent 1308123 commit cb91084
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
Empty file modified APCalc.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
APCalc stands for Adjustable Precision Calculator.
The initial precision is 1000 decimal digits.
Numbers are displayed in scientific notation.
The font (in Linux) is MathJax_SansSerif.
Exponents (in Linux) are indicated with a very cool drop 10 symbol inherited from ALGOL (Decimal Exponent Symbol U+23E8 TTF).
Exponents are indicated with a very cool drop 10 symbol inherited from ALGOL (Decimal Exponent Symbol U+23E8 TTF).
Coding was done in C++ on Linux with library gtkmm-3.0
The widgets were GTK Gnome Tool Kit widgets set up with Glade.
The make file expects directories: bin, dep, inc, obj, obj/dbg, obj/rel, rsc, share, & src.
Binary file modified bin/dbg/APCalc
Binary file not shown.
Binary file modified obj/dbg/GUI.o
Binary file not shown.
11 changes: 1 addition & 10 deletions src/GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,7 @@ GUI::GUI(void)
pG->get("OutputBox", oBox);
oBox->set_editable(false);
Pango::FontDescription fdesc;
#ifdef _CROSS_COMPILE
//exp_char = "❿";
//exp_char = "E";
//exp_char = "⓾";
exp_char = "";
//mfloat::exp_char = exp_char;
fdesc.set_family("Cambria_Math");
#else
fdesc.set_family("MathJax_SansSerif");
#endif
fdesc.set_family("Arial");
fdesc.set_size(10 * PANGO_SCALE);
oBox->override_font(fdesc);
otb = Gtk::TextBuffer::create();
Expand Down

0 comments on commit cb91084

Please sign in to comment.