Open and draw an image given a name at (x,y).
| 661 | |
| 662 | // Open and draw an image given a name at (x,y). |
| 663 | void ScrollView::Image(const char* image, int x_pos, int y_pos) { |
| 664 | SendMsg("openImage('%s')", image); |
| 665 | SendMsg("drawImage('%s',%d,%d)", |
| 666 | image, x_pos, TranslateYCoordinate(y_pos)); |
| 667 | } |
| 668 | |
| 669 | // Add new checkboxmenuentry to menubar. |
| 670 | void ScrollView::MenuItem(const char* parent, const char* name, |
no test coverage detected