ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
EditorObjStock Namespace Reference

Helper used for drawing objects : TypeLine, Anchor, Translate, Rotate... More...

Functions

void SetMode (std::string mode)
 
TypeLine GetMode ()
 
bool GetAnchor ()
 
void SetAnchor (bool kbool)
 
bool GetTranslate ()
 
bool GetRotate ()
 
void SetTranslate ()
 
void SetRotate ()
 

Variables

TypeLine fEditorModeObjStock = TypeLine::kNone_line
 defined in TypeObjectLine segment, half-segment. More...
 
bool kAnchor = false
 
bool kTranslate = false
 
bool kRotate = false
 

Detailed Description

Helper used for drawing objects : TypeLine, Anchor, Translate, Rotate...

EditorObjStock, singleton class, try pure static is enough ?? need to save value in ObjectLine Seem pure static ok, do not need class ?? desadvantage ??

tool to draw new ObjectStock, support, tendance, Fibonacci... Not associated to a particular object, can be general enought for extention ?

Setup by GUIMainFrame when using ToolBar, used by CanvasStock

Function Documentation

bool EditorObjStock::GetAnchor ( )
inline

Definition at line 60 of file EditorObjStock.h.

References kAnchor.

Referenced by TPadStock::ExecuteEvent().

Here is the caller graph for this function:

TypeLine EditorObjStock::GetMode ( )
inline

Definition at line 57 of file EditorObjStock.h.

References fEditorModeObjStock.

Referenced by TPadStock::ExecuteEvent().

Here is the caller graph for this function:

bool EditorObjStock::GetRotate ( )
inline

Definition at line 64 of file EditorObjStock.h.

References kRotate.

Referenced by ObjectLineTendance::ExecuteEvent(), and ObjectLineTendance::MoveObjectLine().

Here is the caller graph for this function:

bool EditorObjStock::GetTranslate ( )
inline

Definition at line 63 of file EditorObjStock.h.

References kTranslate.

Referenced by ObjectLineTendance::ExecuteEvent(), and ObjectLineTendance::MoveObjectLine().

Here is the caller graph for this function:

void EditorObjStock::SetAnchor ( bool  kbool)
inline

Definition at line 61 of file EditorObjStock.h.

References kAnchor.

Referenced by MainIndicatorTHStockFrame::HandleToolBar().

Here is the caller graph for this function:

void EditorObjStock::SetMode ( std::string  mode)

Definition at line 23 of file EditorObjStock.cxx.

References fEditorModeObjStock, kNone_line, kSupport, and kTendance.

Referenced by MainIndicatorTHStockFrame::HandleToolBar().

Here is the caller graph for this function:

void EditorObjStock::SetRotate ( )
inline

Definition at line 69 of file EditorObjStock.h.

References kRotate, and kTranslate.

Referenced by ObjectLineTendance::ExecuteEvent().

Here is the caller graph for this function:

void EditorObjStock::SetTranslate ( )
inline

Definition at line 67 of file EditorObjStock.h.

References kRotate, and kTranslate.

Referenced by ObjectLineTendance::ExecuteEvent().

Here is the caller graph for this function:

Variable Documentation

TypeLine EditorObjStock::fEditorModeObjStock = TypeLine::kNone_line

defined in TypeObjectLine segment, half-segment.

Definition at line 16 of file EditorObjStock.cxx.

Referenced by GetMode(), and SetMode().

bool EditorObjStock::kAnchor = false

Definition at line 17 of file EditorObjStock.cxx.

Referenced by GetAnchor(), and SetAnchor().

bool EditorObjStock::kRotate = false

Definition at line 19 of file EditorObjStock.cxx.

Referenced by GetRotate(), SetRotate(), and SetTranslate().

bool EditorObjStock::kTranslate = false

Definition at line 18 of file EditorObjStock.cxx.

Referenced by GetTranslate(), SetRotate(), and SetTranslate().