Canola
0.8.D001
|
#include <nixie_tubes.h>
Public Member Functions | |
virtual | ~nixie_tubes () |
nixie_tubes () | |
void | set_value (const display &value) |
Private Member Functions | |
void | load_images (void) |
nixie_tubes (const nixie_tubes &rhs) | |
nixie_tubes & | operator= (const nixie_tubes &rhs) |
Private Attributes | |
Gtk::Image | overflow |
Gtk::Image | bezel_left |
nixie_tube | tubes [16] |
Gtk::Image | bezel_right |
Gtk::Image | negative |
Gtk::HBox | tube_layout |
Gtk::EventBox | tube_bg |
Gtk::Image | m1_lamp |
Gtk::Image | m2_lamp |
Gtk::Image | entry_lamp |
Gtk::HBox | lamp_layout |
Gtk::EventBox | lamp_bg |
Glib::RefPtr< Gdk::Pixbuf > | images [14] |
The nixie_tubes class is used to represent the array of 16 nixie tubes on the calculator.
Definition at line 33 of file nixie_tubes.h.
nixie_tubes::~nixie_tubes | ( | ) | [virtual] |
The destructor.
Definition at line 22 of file nixie_tubes.cc.
The default constructor.
Definition at line 27 of file nixie_tubes.cc.
nixie_tubes::nixie_tubes | ( | const nixie_tubes & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
void nixie_tubes::load_images | ( | void | ) | [private] |
The load_images method is used to load the images required to display the nixie tubes and other indicator lamps.
Definition at line 67 of file nixie_tubes.cc.
nixie_tubes& nixie_tubes::operator= | ( | const nixie_tubes & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void nixie_tubes::set_value | ( | const display & | value | ) |
The set_value method may be used to set the appearance of the nixie tubes and indicator lamps, whenever the indicator display may have changed.
value | The value to be displayed. |
Definition at line 90 of file nixie_tubes.cc.
Gtk::Image nixie_tubes::bezel_left [private] |
The bezal_left instance variable is used to remember the appearance of the filler widget for the left hand side of the recess the nixie tubes sit in.
Definition at line 80 of file nixie_tubes.h.
Gtk::Image nixie_tubes::bezel_right [private] |
The bezal_right instance variable is used to remember the appearance of the filler widget for the right hand side of the recess the nixie tubes sit in.
Definition at line 94 of file nixie_tubes.h.
Gtk::Image nixie_tubes::entry_lamp [private] |
The entry_lamp instance variable is used to remember the appearance and state of the Entry Lamp.
"Entry Lamp
"This lamp is used when executing a program. The lamp glows when program advancement is stopped by ENT, SJ or EJ instructions, indicating that the cakculator is waiting for instruction from the operator. The four instructions to be put in by the operator are as follows.
(i) The program is advanced as it is by the [START] key operation. (ENT, SJ, EJ)
(ii) Data is read in by the operation of entry keys and the [START] key, and the program calculation is advanced to the following step. (ENT)
(iii) By the operation of the [SJ] key, the program is caused to jump to the specified step. (SJ)
If the [STSRT] key is depressed instead, the program proceeds without jumping. (SJ)
(iv) While data is being read into the calculator by the operation of entry keys and the [START] key, the program is caused to jump to the specified step.
If the [START] key is depressed without entry, the program proceeds without jumping.
Definition at line 183 of file nixie_tubes.h.
Glib::RefPtr<Gdk::Pixbuf> nixie_tubes::images[14] [private] |
The images instance variable is used to remember the varous images required to rember the various indicator lamps.
Definition at line 201 of file nixie_tubes.h.
Gtk::EventBox nixie_tubes::lamp_bg [private] |
The lamp_bg instance variable is used to remember the background color for the three indicator lamps below the nixie tubes.
Definition at line 195 of file nixie_tubes.h.
Gtk::HBox nixie_tubes::lamp_layout [private] |
The lamp_layour instance variable is used to remember the positions of the three indicator lamps below the nixie tubes.
Definition at line 189 of file nixie_tubes.h.
Gtk::Image nixie_tubes::m1_lamp [private] |
The m1_lamp instance variable is used to remember appearance and state of the M1 lamp.
"Memory 1 Lamp
"Glows when values other than zero are stored in Memory 1, indicating that Memory 1 is in use. Goes off automatically when Memory 1 is cleared by the [CM1] key, indicating that no values are stored in Memory 1."
Definition at line 133 of file nixie_tubes.h.
Gtk::Image nixie_tubes::m2_lamp [private] |
The m2_lamp instance variable is used to remember the appearance and state of the M2 lamp.
"Memory 2 Lamp
"Glows when values other than zero are stored in Memory 2, indicating that Memory 2 is in use. Goes off automatically when Memory 2 is cleared by the [CM2] key, indicating that no values are stored in Memory 2."
Definition at line 147 of file nixie_tubes.h.
Gtk::Image nixie_tubes::negative [private] |
The minus_lamp instance variable is used to remember appearance and state of the Minus Lamp to the right of the nixie tubes.
"Minus Lamp
"Glows when the value is negative, indicating that the indicated value is negative."
Definition at line 106 of file nixie_tubes.h.
Gtk::Image nixie_tubes::overflow [private] |
The overflow_lamp instance variable is used to remember appearance and state of the Overflow Lamp to the left of the nixie tubes.
"Overflow Lamp
"Glows in any one of the following cases, causing entry and operation to be stopped. 1) When entry exceeds 16 digits. 2) When two or more keys are touched simultaneously by mistake. 3) When the integer part of the calculation result exceeds 16 digits. 4) When the integer part of the value stored in a memory exceeds 16 digits.
Definition at line 73 of file nixie_tubes.h.
Gtk::EventBox nixie_tubes::tube_bg [private] |
The tube_bg instance variable is used to remember the background color for the nixie tubes and upper indicator lamps.
Definition at line 119 of file nixie_tubes.h.
Gtk::HBox nixie_tubes::tube_layout [private] |
The tube instance variable is used to remember the positions and scales of the overflow indicator, nixie tubes and negativive indicator.
Definition at line 113 of file nixie_tubes.h.
nixie_tube nixie_tubes::tubes[16] [private] |
The bnixie_tubes instance variable is used to remember the appearance and state of each of the nixie tubes. They include a little of the bezel, as well.
Definition at line 87 of file nixie_tubes.h.