module 'MCalc'
applicationName = 'MCalc';
generateNameC = 'scientific.xc';
generateNameResDB = 'scientific.res';
generateUidFile = '';
generateCPixmapFile = '';
generateCHeaderFile = '';
generateMask = 4390924;
useMask = 1;
ansiC = 0;
useCPixmaps = 0;
useUILPixmaps = 0;
useCHeaders = 0;
useCUILHeaders = 0;
useCPPHeaders = 0;
value
object 'calc_shell' : XmDialogShell {
	arguments {
	XmNallowShellResize = true;
	XmNtitle = 'MCalc';
	XmNprimary = 1;
	};
object 'calc_form' : XmForm {
	arguments {
	XmNnavigationType = 3;
	XmNautoUnmanage = false;
	XmNhorizontalSpacing = 5;
	XmNverticalSpacing = 5;
	};
object 'digits_rc' : XmRowColumn {
	arguments {
	folded = true;
	XmNnumColumns = 4;
	XmNpacking = 2;
	XmNentryAlignment = 1;
	};
object 'digit7' : XmPushButton {
	arguments {
	XmNlabelString = '7';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)7)';
	};
};
object 'digit4' : XmPushButton {
	arguments {
	XmNlabelString = '4';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)4)';
	};
};
object 'digit1' : XmPushButton {
	arguments {
	XmNlabelString = '1';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)1)';
	};
};
object 'dec_point' : XmPushButton {
	arguments {
	XmNlabelString = '.';
	};
	callbacks {
	XmNactivateCallback = 'decimal_point()';
	};
};
object 'digit8' : XmPushButton {
	arguments {
	XmNlabelString = '8';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)8)';
	};
};
object 'digit5' : XmPushButton {
	arguments {
	XmNlabelString = '5';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)5)';
	};
};
object 'digit2' : XmPushButton {
	arguments {
	XmNlabelString = '2';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)2)';
	};
};
object 'digit0' : XmPushButton {
	arguments {
	XmNlabelString = '0';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)0)';
	};
};
object 'digit9' : XmPushButton {
	arguments {
	XmNlabelString = '9';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)9)';
	};
};
object 'digit6' : XmPushButton {
	arguments {
	XmNlabelString = '6';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char*)6)';
	};
};
object 'digit3' : XmPushButton {
	arguments {
	XmNlabelString = '3';
	};
	callbacks {
	XmNactivateCallback = 'digit_callback((char *)3)';
	};
};
object 'eq_b' : XmPushButton {
	arguments {
	XmNlabelString = '=';
	};
	callbacks {
	XmNactivateCallback = 'Equals()';
	};
};
object 'add_b' : XmPushButton {
	arguments {
	XmNlabelString = '+';
	};
	callbacks {
	XmNactivateCallback = 'Add()';
	};
};
object 'sub_b' : XmPushButton {
	arguments {
	XmNlabelString = '-';
	};
	callbacks {
	XmNactivateCallback = 'Subtract()';
	};
};
object 'mul_b' : XmPushButton {
	arguments {
	XmNlabelString = '*';
	};
	callbacks {
	XmNactivateCallback = 'Multiply()';
	};
};
object 'div_b' : XmPushButton {
	arguments {
	XmNlabelString = '/';
	};
	callbacks {
	XmNactivateCallback = 'Divide()';
	};
};
};
object 'calc_display' : XmText {
	arguments {
	XmNmaxLength = 20;
	XmNcolumns = 20;
	XmNeditable = false;
	XmNcursorPositionVisible = false;
	};
};
object 'unary_rc' : XmRowColumn {
	arguments {
	folded = true;
	XmNnumColumns = 4;
	XmNorientation = 2;
	XmNpacking = 2;
	XmNentryAlignment = 1;
	XmNadjustLast = false;
	};
object 'sin_b' : XmPushButton {
	arguments {
	XmNlabelString = 'sin';
	};
	callbacks {
	XmNactivateCallback = 'Sin()';
	};
};
object 'cos_b' : XmPushButton {
	arguments {
	XmNlabelString = 'cos';
	};
	callbacks {
	XmNactivateCallback = 'Cos()';
	};
};
object 'tan_b' : XmPushButton {
	arguments {
	XmNlabelString = 'tan';
	};
	callbacks {
	XmNactivateCallback = 'Tan()';
	};
};
object 'log_b' : XmPushButton {
	arguments {
	XmNlabelString = 'log';
	};
	callbacks {
	XmNactivateCallback = 'Log10()';
	};
};
object 'ln_b' : XmPushButton {
	arguments {
	XmNlabelString = 'ln';
	};
	callbacks {
	XmNactivateCallback = 'Ln()';
	};
};
object 'm_b' : XmPushButton {
	arguments {
	XmNlabelString = 'M';
	};
	callbacks {
	XmNactivateCallback = 'MemRecall()';
	};
};
object 'sqr_b' : XmPushButton {
	arguments {
	XmNlabelString = 'sqr';
	};
	callbacks {
	XmNactivateCallback = 'Sqrt()';
	};
};
object 'pow_b' : XmPushButton {
	arguments {
	XmNlabelString = 'x^y';
	};
	callbacks {
	XmNactivateCallback = 'RaisePower()';
	};
};
object 'exp_b' : XmPushButton {
	arguments {
	XmNlabelString = 'e^x';
	};
	callbacks {
	XmNactivateCallback = 'Exp()';
	};
};
object 'rec_b' : XmPushButton {
	arguments {
	XmNlabelString = '1/x';
	};
	callbacks {
	XmNactivateCallback = 'Reciprocal()';
	};
};
object 'fact_b' : XmPushButton {
	arguments {
	XmNlabelString = 'x!';
	};
	callbacks {
	XmNactivateCallback = 'Factorial()';
	};
};
object 'mplus_b' : XmPushButton {
	arguments {
	XmNlabelString = 'M+';
	};
	callbacks {
	XmNactivateCallback = 'MemAdd()';
	};
};
object 'and_b' : XmPushButton {
	arguments {
	XmNlabelString = 'And';
	};
	callbacks {
	XmNactivateCallback = 'And()';
	};
};
object 'or_b' : XmPushButton {
	arguments {
	XmNlabelString = 'Or';
	};
	callbacks {
	XmNactivateCallback = 'Or()';
	};
};
object 'xor_b' : XmPushButton {
	arguments {
	XmNlabelString = 'Xor';
	};
	callbacks {
	XmNactivateCallback = 'Xor()';
	};
};
object 'lsh_b' : XmPushButton {
	arguments {
	XmNlabelString = '<<';
	};
	callbacks {
	XmNactivateCallback = 'LeftShift()';
	};
};
object 'rsh_b' : XmPushButton {
	arguments {
	XmNlabelString = '>>';
	};
	callbacks {
	XmNactivateCallback = 'RightShift()';
	};
};
object 'mminus_b' : XmPushButton {
	arguments {
	XmNlabelString = 'M-';
	};
	callbacks {
	XmNactivateCallback = 'MemSubtract()';
	};
};
object 'ac_b' : XmPushButton {
	arguments {
	XmNforeground = color('white');
	XmNbackground = color('orange');
	XmNlabelString = 'AC';
	};
	callbacks {
	XmNactivateCallback = 'ClearAll()';
	};
};
object 'ce_b' : XmPushButton {
	arguments {
	XmNlabelString = 'C';
	};
	callbacks {
	XmNactivateCallback = 'ClearEntry()';
	};
};
object 'sgn_b' : XmPushButton {
	arguments {
	XmNlabelString = '+/-';
	};
	callbacks {
	XmNactivateCallback = 'ChangeSign()';
	};
};
object 'bra_b' : XmPushButton {
	arguments {
	XmNlabelString = '(';
	};
	callbacks {
	XmNactivateCallback = 'OpenParenthesis()';
	};
};
object 'ket_b' : XmPushButton {
	arguments {
	XmNlabelString = ')';
	};
	callbacks {
	XmNactivateCallback = 'CloseParenthesis()';
	};
};
object 'inv_b' : XmToggleButton {
	arguments {
	XmNshadowThickness = 2;
	XmNlabelString = 'Inv';
	XmNmarginLeft = 0;
	XmNindicatorOn = false;
	};
	callbacks {
	XmNvalueChangedCallback = 'inverse_callback()';
	};
};
};
object '' : XmOptionMenu {
	arguments {
	XmNmarginWidth = 0;
	XmNmarginHeight = 0;
	};
object '' : XmLabel GADGET {
	arguments {
	name = 'OptionLabel';
	XmNlabelString = '';
	XmNmarginWidth = 0;
	XmNmarginHeight = 0;
	};
};
object 'drg_cb' : XmCascadeButton GADGET {
	arguments {
	name = 'OptionButton';
	};
object '' : XmPulldownMenu {
	arguments {
	};
object 'deg_b' : XmPushButton {
	arguments {
	XmNlabelString = 'Deg';
	};
	callbacks {
	XmNactivateCallback = 'Degrees()';
	};
};
object 'rad_b' : XmPushButton {
	arguments {
	XmNlabelString = 'Rad';
	};
	callbacks {
	XmNactivateCallback = 'Radians()';
	};
};
object 'gra_b' : XmPushButton {
	arguments {
	XmNlabelString = 'Gra';
	};
	callbacks {
	XmNactivateCallback = 'Gradient()';
	};
};
};
};
};
    attachments {
    attachment {
	XmNrightAttachment = 0 0 0;
	XmNleftAttachment = 1 0 1;
	XmNbottomAttachment = 0 0 0;
	XmNtopAttachment = 3 4 5;
    };
    attachment {
	XmNleftAttachment = 1 0;
	XmNtopAttachment = 1 0;
    };
    attachment {
	XmNrightAttachment = 1 0;
	XmNleftAttachment = 3 1 15;
	XmNbottomAttachment = 1 0;
	XmNtopAttachment = 3 4 5;
    };
    attachment {
	XmNleftAttachment = 1 0;
	XmNtopAttachment = 3 2 5;
    };
    };
};
};
end module;
