comparison engine/core/view/camera.i @ 18:40a7c9618ade

* new function which lists instances in a rect
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 07 Jul 2008 01:40:57 +0000
parents 4a0efb7baf70
children 90005975cdbb
comparison
equal deleted inserted replaced
17:ae46cee19e76 18:40a7c9618ade
35 ExactModelCoordinate toMapCoordinates(ScreenPoint screen_coords, bool z_calculated=true); 35 ExactModelCoordinate toMapCoordinates(ScreenPoint screen_coords, bool z_calculated=true);
36 void setEnabled(bool enabled); 36 void setEnabled(bool enabled);
37 bool isEnabled(); 37 bool isEnabled();
38 38
39 void getMatchingInstances(ScreenPoint screen_coords, Layer& layer, std::list<Instance*>& instances); 39 void getMatchingInstances(ScreenPoint screen_coords, Layer& layer, std::list<Instance*>& instances);
40 void getMatchingInstances(Rect screen_rect, Layer& layer, std::list<Instance*>& instances);
40 void getMatchingInstances(Location& loc, std::list<Instance*>& instances, bool use_exactcoordinates=false); 41 void getMatchingInstances(Location& loc, std::list<Instance*>& instances, bool use_exactcoordinates=false);
41 RendererBase* getRenderer(const std::string& name); 42 RendererBase* getRenderer(const std::string& name);
42 void resetRenderers(); 43 void resetRenderers();
43 44
44 void refresh(); 45 void refresh();