#include <scenevie.h>


Public Types | |
| enum | { NOTOOL = 0, MOVE, DELETE, CHANGECOLOR, EXTRATOOL } |
Public Member Functions | |
| Scene (Coord x1, Coord y1, Coord x2, Coord y2, Glyph *background=nil) | |
| virtual | ~Scene () |
| virtual void | background (Glyph *bg=nil) |
| virtual Coord | x1 () const |
| virtual Coord | y1 () const |
| virtual Coord | x2 () const |
| virtual Coord | y2 () const |
| virtual void | new_size (Coord x1, Coord y1, Coord x2, Coord y2) |
| virtual void | wholeplot (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const |
| virtual int | view_count () const |
| virtual XYView * | sceneview (int) const |
| virtual void | dismiss () |
| virtual void | printfile (const char *) |
| virtual void | modified (GlyphIndex) |
| void | move (GlyphIndex, Coord x, Coord y) |
| void | location (GlyphIndex, Coord &x, Coord &y) const |
| void | show (GlyphIndex, boolean) |
| boolean | showing (GlyphIndex) const |
| virtual void | damage (GlyphIndex) |
| virtual void | damage (Coord x1, Coord y1, Coord x2, Coord y2) |
| virtual void | damage_all () |
| virtual void | tool (int) |
| virtual int | tool () |
| virtual void | help () |
| virtual void | delete_label (GLabel *) |
| virtual void | change_label_color (GLabel *) |
| virtual void | change_line_color (GPolyLine *) |
| virtual void | request (Requisition &) const |
| virtual void | allocate (Canvas *, const Allocation &, Extension &) |
| virtual void | draw (Canvas *, const Allocation &) const |
| virtual void | print (Printer *, const Allocation &) const |
| virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
| virtual void | append (Glyph *) |
| virtual void | append_fixed (Glyph *) |
| virtual void | append_viewfixed (Glyph *) |
| virtual void | prepend (Glyph *) |
| virtual void | insert (GlyphIndex, Glyph *) |
| virtual void | remove (GlyphIndex) |
| virtual void | replace (GlyphIndex, Glyph *) |
| virtual void | change (GlyphIndex) |
| virtual void | change_to_fixed (GlyphIndex, XYView *) |
| virtual void | change_to_vfixed (GlyphIndex, XYView *) |
| virtual GlyphIndex | count () const |
| virtual Glyph * | component (GlyphIndex) const |
| virtual void | allotment (GlyphIndex, DimensionName, Allotment &) const |
| virtual GlyphIndex | glyph_index (const Glyph *) |
| boolean | drawing_fixed_item () const |
| boolean | mark () |
| void | mark (boolean m) |
| virtual void | save_phase1 (ostream &) |
| virtual void | save_phase2 (ostream &) |
| virtual Coord | mbs () const |
| ScenePicker * | picker () |
| Object * | hoc_obj_ptr () |
| void | hoc_obj_ptr (Object *o) |
| boolean | menu_picked () |
Static Public Member Functions | |
| static void | save_all (ostream &) |
| static long | scene_list_index (Scene *) |
| static const Color * | default_background () |
| static const Color * | default_foreground () |
Protected Member Functions | |
| virtual void | save_class (ostream &, const char *) |
Private Member Functions | |
| virtual void | damage (GlyphIndex, const Allocation &) |
| void | append_view (XYView *) |
| void | remove_view (XYView *) |
| void | check_allocation (GlyphIndex) |
Private Attributes | |
| Coord | x1_ |
| Coord | y1_ |
| Coord | x2_ |
| Coord | y2_ |
| SceneInfo_List * | info_ |
| XYView_PtrList * | views_ |
| Glyph * | background_ |
| ScenePicker * | picker_ |
| int | tool_ |
| boolean | mark_ |
| boolean | drawing_fixed_item_ |
| Object * | hoc_obj_ptr_ |
| boolean | menu_picked_ |
| Coord | x1_orig_ |
| Coord | x2_orig_ |
| Coord | y1_orig_ |
| Coord | y2_orig_ |
Static Private Attributes | |
| static Scene * | current_scene_ |
| static Coord | mbs_ |
Friends | |
| class | XYView |
| Scene::Scene | ( | Coord | x1, | |
| Coord | y1, | |||
| Coord | x2, | |||
| Coord | y2, | |||
| Glyph * | background = nil | |||
| ) |
| virtual Scene::~Scene | ( | ) | [virtual] |
| virtual void Scene::allocate | ( | Canvas * | , | |
| const Allocation & | , | |||
| Extension & | ||||
| ) | [virtual] |
| virtual void Scene::allotment | ( | GlyphIndex | , | |
| DimensionName | , | |||
| Allotment & | ||||
| ) | const [virtual] |
| virtual void Scene::append | ( | Glyph * | ) | [virtual] |
| virtual void Scene::append_fixed | ( | Glyph * | ) | [virtual] |
| virtual void Scene::append_viewfixed | ( | Glyph * | ) | [virtual] |
| virtual void Scene::background | ( | Glyph * | bg = nil |
) | [virtual] |
| virtual void Scene::change | ( | GlyphIndex | ) | [virtual] |
| void Scene::check_allocation | ( | GlyphIndex | ) | [private] |
| virtual Glyph* Scene::component | ( | GlyphIndex | ) | const [virtual] |
| virtual GlyphIndex Scene::count | ( | ) | const [virtual] |
Referenced by gr_line_info().
| virtual void Scene::damage | ( | GlyphIndex | , | |
| const Allocation & | ||||
| ) | [private, virtual] |
| virtual void Scene::damage | ( | Coord | x1, | |
| Coord | y1, | |||
| Coord | x2, | |||
| Coord | y2 | |||
| ) | [virtual] |
| virtual void Scene::damage | ( | GlyphIndex | ) | [virtual] |
| virtual void Scene::damage_all | ( | ) | [virtual] |
| static const Color* Scene::default_background | ( | ) | [static] |
| static const Color* Scene::default_foreground | ( | ) | [static] |
| virtual void Scene::dismiss | ( | ) | [virtual] |
| virtual void Scene::draw | ( | Canvas * | , | |
| const Allocation & | ||||
| ) | const [virtual] |
| boolean Scene::drawing_fixed_item | ( | ) | const [inline] |
References drawing_fixed_item_.
| virtual GlyphIndex Scene::glyph_index | ( | const Glyph * | ) | [virtual] |
Reimplemented in Graph.
| virtual void Scene::help | ( | ) | [virtual] |
Reimplemented in Graph, and ShapeScene.
| void Scene::hoc_obj_ptr | ( | Object * | o | ) | [inline] |
References hoc_obj_ptr_.
| Object* Scene::hoc_obj_ptr | ( | ) | [inline] |
References hoc_obj_ptr_.
| virtual void Scene::insert | ( | GlyphIndex | , | |
| Glyph * | ||||
| ) | [virtual] |
| void Scene::location | ( | GlyphIndex | , | |
| Coord & | x, | |||
| Coord & | y | |||
| ) | const |
| virtual Coord Scene::mbs | ( | ) | const [virtual] |
| boolean Scene::menu_picked | ( | ) | [inline] |
References menu_picked_.
| virtual void Scene::modified | ( | GlyphIndex | ) | [virtual] |
| void Scene::move | ( | GlyphIndex | , | |
| Coord | x, | |||
| Coord | y | |||
| ) |
| virtual void Scene::new_size | ( | Coord | x1, | |
| Coord | y1, | |||
| Coord | x2, | |||
| Coord | y2 | |||
| ) | [virtual] |
Reimplemented in Graph.
Reimplemented in Graph.
| ScenePicker* Scene::picker | ( | ) |
| virtual void Scene::prepend | ( | Glyph * | ) | [virtual] |
| virtual void Scene::print | ( | Printer * | , | |
| const Allocation & | ||||
| ) | const [virtual] |
| virtual void Scene::printfile | ( | const char * | ) | [virtual] |
| virtual void Scene::remove | ( | GlyphIndex | ) | [virtual] |
Referenced by GPolyLineItem::erase().
| virtual void Scene::replace | ( | GlyphIndex | , | |
| Glyph * | ||||
| ) | [virtual] |
| virtual void Scene::request | ( | Requisition & | ) | const [virtual] |
| static void Scene::save_all | ( | ostream & | ) | [static] |
| virtual void Scene::save_class | ( | ostream & | , | |
| const char * | ||||
| ) | [protected, virtual] |
| virtual void Scene::save_phase2 | ( | ostream & | ) | [virtual] |
Reimplemented in Graph, and ShapeScene.
| static long Scene::scene_list_index | ( | Scene * | ) | [static] |
Referenced by ivoc_gr_size(), ivoc_view_info(), and ivoc_view_size().
| boolean Scene::showing | ( | GlyphIndex | ) | const |
| virtual int Scene::tool | ( | ) | [virtual] |
| virtual int Scene::view_count | ( | ) | const [virtual] |
Referenced by ivoc_view_info(), and ivoc_view_size().
| virtual void Scene::wholeplot | ( | Coord & | x1, | |
| Coord & | y1, | |||
| Coord & | x2, | |||
| Coord & | y2 | |||
| ) | const [virtual] |
Reimplemented in Graph, and ShapeScene.
| Coord Scene::x1 | ( | ) | const [inline, virtual] |
References x1_.
| Coord Scene::x2 | ( | ) | const [inline] |
References x2_.
| Coord Scene::y1 | ( | ) | const [inline] |
References y1_.
| Coord Scene::y2 | ( | ) | const [inline] |
References y2_.
friend class XYView [friend] |
Glyph* Scene::background_ [private] |
Scene* Scene::current_scene_ [static, private] |
boolean Scene::drawing_fixed_item_ [private] |
Referenced by drawing_fixed_item().
Object* Scene::hoc_obj_ptr_ [private] |
Referenced by hoc_obj_ptr().
SceneInfo_List* Scene::info_ [private] |
boolean Scene::mark_ [private] |
Referenced by mark().
Coord Scene::mbs_ [static, private] |
boolean Scene::menu_picked_ [private] |
Referenced by menu_picked().
ScenePicker* Scene::picker_ [private] |
int Scene::tool_ [private] |
XYView_PtrList* Scene::views_ [private] |
Coord Scene::x1_ [private] |
Referenced by x1().
Coord Scene::x1_orig_ [private] |
Coord Scene::x2_ [private] |
Referenced by x2().
Coord Scene::x2_orig_ [private] |
Coord Scene::y1_ [private] |
Referenced by y1().
Coord Scene::y1_orig_ [private] |
Coord Scene::y2_ [private] |
Referenced by y2().
Coord Scene::y2_orig_ [private] |
1.6.3