Lines Matching defs:box3d
36 #include "box3d.h"
37 #include "ui/tools/box3d-tool.h"
47 #include "box3d-side.h"
68 , box3d(NULL)
95 if (this->box3d) {
209 // remember clicked box3d, *not* disregarding groups (since a 3D box is a group), honoring Alt
215 m.setup(desktop, true, this->box3d);
264 m.setup(desktop, true, this->box3d);
268 if ((event->motion.state & GDK_SHIFT_MASK) && !this->extruded && this->box3d) {
328 // no dragging, select clicked box3d if any
430 desktop->setToolboxFocusTo ("altx-box3d");
500 if (!this->box3d) {
506 SPBox3D *box3d = SPBox3D::createBox3D((SPItem*)desktop->currentLayer());
509 desktop->applyCurrentOrToolStyle(box3d, "/tools/shapes/3dbox", false);
511 this->box3d = box3d;
513 // TODO: Incorporate this in box3d-side.cpp!
515 Box3DSide *side = Box3DSide::createBox3DSide(box3d);
549 box3d_set_z_orders(this->box3d);
550 this->box3d->updateRepr();
559 g_assert(this->box3d);
561 this->box3d->orig_corner0 = this->drag_origin_proj;
562 this->box3d->orig_corner7 = this->drag_ptC_proj;
564 box3d_check_for_swapped_coords(this->box3d);
568 box3d_set_z_orders (this->box3d);
570 box3d_position_set(this->box3d);
581 if (this->box3d != NULL) {
588 this->box3d->orig_corner0 = this->drag_origin_proj;
589 this->box3d->orig_corner7 = this->drag_ptC_proj;
591 this->box3d->updateRepr();
593 box3d_relabel_corners(this->box3d);
597 desktop->getSelection()->set(this->box3d);
601 this->box3d = NULL;