@@ -23,6 +23,7 @@ namespace Pebbles {
2323 public const string KEY_DECIMAL_PLACES = " decimal-places" ;
2424 public const string KEY_INTEGRATION_RESOLUTION = " integration-resolution" ;
2525 public const string KEY_DERIVATIVE_ACCURACY = " derivative-accuracy" ;
26+ public const string KEY_CALCULUS_MODE = " calculus-mode" ;
2627 public const string KEY_FOREX_API_KEY = " forex-api-key" ;
2728 public const string KEY_FOREX_API_TIMESTAMP = " forex-timestamp" ;
2829 public const string KEY_FOREX_RATES_CACHE = " forex-rates-cache" ;
@@ -32,6 +33,9 @@ namespace Pebbles {
3233 public const string KEY_LAST_INPUT_SCIENTIFIC = " last-input-scientific" ;
3334 public const string KEY_LAST_INPUT_PROGRAMMER = " last-input-programmer" ;
3435 public const string KEY_LAST_INPUT_CALCULUS = " last-input-calculus" ;
36+ public const string KEY_LAST_INPUT_CALCULUS_X = " last-input-calculus-x" ;
37+ public const string KEY_LAST_INPUT_CALCULUS_UPPER_LIM = " last-input-calculus-upper-lim" ;
38+ public const string KEY_LAST_INPUT_CALCULUS_LOWER_LIM = " last-input-calculus-lower-lim" ;
3539 public const string KEY_LAST_INPUT_GRAPHING = " last-input-graphing" ;
3640 public const string KEY_DATE_DIFF_FROM = " date-diff-from" ;
3741 public const string KEY_DATE_DIFF_TO = " date-diff-to" ;
@@ -60,6 +64,7 @@ namespace Pebbles {
6064 keys. append (KEY_GLOBAL_ANGLE_UNIT );
6165 keys. append (KEY_GLOBAL_WORD_LENGTH );
6266 keys. append (KEY_NUMBER_SYSTEM );
67+ keys. append (KEY_CALCULUS_MODE );
6368 keys. append (KEY_LAST_INPUT_SCIENTIFIC );
6469 keys. append (KEY_LAST_INPUT_PROGRAMMER );
6570 keys. append (KEY_LAST_INPUT_CALCULUS );
@@ -181,6 +186,11 @@ namespace Pebbles {
181186 set { set_enum (KEY_NUMBER_SYSTEM , value ); }
182187 }
183188
189+ public bool calculus_mode {
190+ get { return get_boolean (KEY_CALCULUS_MODE ); }
191+ set { set_boolean (KEY_CALCULUS_MODE , value ); }
192+ }
193+
184194 public string last_input_scientific {
185195 owned get { return get_string (KEY_LAST_INPUT_SCIENTIFIC ); }
186196 set { set_string (KEY_LAST_INPUT_SCIENTIFIC , value ); }
@@ -196,6 +206,21 @@ namespace Pebbles {
196206 set { set_string (KEY_LAST_INPUT_CALCULUS , value ); }
197207 }
198208
209+ public string last_input_calculus_x {
210+ owned get { return get_string (KEY_LAST_INPUT_CALCULUS_X ); }
211+ set { set_string (KEY_LAST_INPUT_CALCULUS_X , value ); }
212+ }
213+
214+ public string last_input_calculus_upper_lim {
215+ owned get { return get_string (KEY_LAST_INPUT_CALCULUS_UPPER_LIM ); }
216+ set { set_string (KEY_LAST_INPUT_CALCULUS_UPPER_LIM , value ); }
217+ }
218+
219+ public string last_input_calculus_lower_lim {
220+ owned get { return get_string (KEY_LAST_INPUT_CALCULUS_LOWER_LIM ); }
221+ set { set_string (KEY_LAST_INPUT_CALCULUS_LOWER_LIM , value ); }
222+ }
223+
199224 public string [] last_input_graphing {
200225 owned get { return get_strv (KEY_LAST_INPUT_GRAPHING ); }
201226 set { set_strv (KEY_LAST_INPUT_GRAPHING , value ); }
0 commit comments