14 #ifndef PGVIRTUALFRAME_H 15 #define PGVIRTUALFRAME_H 55 void setup(PN_stdfloat width, PN_stdfloat height);
57 INLINE
void set_clip_frame(PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top);
58 void set_clip_frame(
const LVecBase4 &clip_frame);
59 INLINE
const LVecBase4 &get_clip_frame()
const;
60 INLINE
bool has_clip_frame()
const;
61 void clear_clip_frame();
66 INLINE
PandaNode *get_canvas_node()
const;
67 INLINE
PandaNode *get_canvas_parent()
const;
70 virtual void clip_frame_changed();
73 void setup_child_nodes();
77 LVecBase4 _clip_frame;
86 static void init_type() {
89 PGItem::get_class_type());
92 return get_class_type();
94 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A basic node of the scene graph or data graph.
This is our own Panda specialization on the default STL map.
This is the base class for all the various kinds of gui widget objects.
This represents a frame that is rendered as a window onto another (possibly much larger) canvas.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This node is placed at key points within the scene graph to indicate the roots of "models": subtrees ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.