EasyManuals Logo
Home>Casio>Calculator>ClassPad 300

Casio ClassPad 300 Programming Guide

Casio ClassPad 300
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #54 background imageLoading...
Page #54 background image
For example, say that you have two drawing modes: point drawing and line drawing.
The pen down in point drawing mode would create a point at that location. A pen down
in line drawing mode would either mark the end of a line or the beginning of a line. You
can isolate these two pen down events by creating two SCMode classes and using them
with an SCWindowWithMode. Before you begin a line draw, switch the window to the
line drawing mode. Then all events will be handled appropriately. If you change to point
drawing, switch modes to point drawing. To change modes simply pass your SCMode
class to your SCWindowWithMode with this function:
void SetMode (SCMode *mode);
MathWindow
Class Name Derived From Styles Signals
MathWindow SCWindowWithMode/
CPUndoThing
FF_NONE
FF_THIN
FF_THICK
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
MathWindow is a simple window that allows the editing or displaying of 2D math. This
window can be placed anywhere inside a PEG window class, but is normally put inside
an AbstractMathWindow object. MathWindow does not support scrolling. Instead, the
AbstractMathWindow class provides a frame in which the MathWindow can be
posititioned inside.
The following is an example that creates a MathWindow and places some 2D math
inside:
PegRect rr = {0,1,100,100};
MathWindow *m_math = new MathWindow(rr,1 ,0 ,false ,10 , 10);
m_math->SetMathObject(CPString_to_LinearMathObject("((1/2)^2)"));
AddR(m_math);
54

Table of Contents

Other manuals for Casio ClassPad 300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio ClassPad 300 and is the answer not in the manual?

Casio ClassPad 300 Specifications

General IconGeneral
BrandCasio
ModelClassPad 300
CategoryCalculator
LanguageEnglish

Related product manuals