function show(&$driver) { $status = parent::show($driver); global $g_config; if ($g_config['renderforms']) { $driver->field_pushbuttonimage($this->get_left_padding(), $this->get_top_padding(), $this->get_width() + $this->get_padding_left() + $this->get_padding_right(), $this->get_height() + $this->get_padding_top() + $this->get_padding_bottom(), $this->_field_name, $this->_field_value, $this->_action_url); } return $status; }
function mb_image(&$viewport, $x, $y) { $imagebox = new ImgBox($this->marker_image); $imagebox->moveto($x - $imagebox->get_width(), $y + $imagebox->get_height()); $imagebox->show($viewport); }