Ideally:
if(hyp is off){key sin has shift asin, key cos has shift acos, key tan has shift atan}
key hyp changes these three buttons to point to another json object respectively:
if(hyp is on){key sinh has shift asinh, key cosh has shift acosh, key tanh has shift atanh}
Simpler way:
Make hyp shift {sinh, cosh, tanh, asinh, acosh, atanh}
Issue being popupWindow may not be able to handle all these in one row.
EDIT:
CalcBtn extends ViewSwitcher
Create dynamically the following for each CalcBtn, this is sample structure using sin and sqroot.
Ideally: if(hyp is off){key sin has shift asin, key cos has shift acos, key tan has shift atan} key hyp changes these three buttons to point to another json object respectively: if(hyp is on){key sinh has shift asinh, key cosh has shift acosh, key tanh has shift atanh}
Simpler way: Make hyp shift {sinh, cosh, tanh, asinh, acosh, atanh} Issue being popupWindow may not be able to handle all these in one row.
EDIT: CalcBtn extends ViewSwitcher Create dynamically the following for each CalcBtn, this is sample structure using
sin
andsqroot
.Most complex case:
Trivial case
Usage