|
| GiViewAdapter (GiPaintView *mainView, GiViewAdapter *refView, int flags) |
|
virtual | ~GiViewAdapter () |
|
GiCoreView * | coreView () |
|
GiImageCache * | imageCache () |
|
UIView * | mainView () |
|
UIView * | getDynView (bool autoCreate) |
|
void | clearCachedData () |
|
void | stopRegen () |
|
void | onFirstRegen () |
|
bool | canShowMagnifier () const |
|
long | acquireFrontDoc (long *gs=NULL) |
|
id< NSLocking > | locker () |
|
int | getFlags () const |
|
int | setFlags (int flags) |
|
int | getAppendCount () const |
|
void | beginRender () |
|
bool | renderInContext (CGContextRef ctx) |
|
int | getAppendID (int index, long &playh) const |
|
void | undo () |
|
void | redo () |
|
bool | startRecord (NSString *path, bool forUndo) |
|
void | stopRecord (bool forUndo) |
|
bool | hasShapesRecorded () |
|
void | onShapesRecorded (NSDictionary *info) |
|
void | onDynDrawEnded () |
|
virtual void | regenAll (bool changed) |
| 标记视图待重新构建显示 更多...
|
|
virtual void | regenAppend (int sid, long playh) |
| 标记视图待追加显示新图形 更多...
|
|
virtual void | redraw (bool changed) |
| 标记视图待更新显示 更多...
|
|
virtual bool | isContextActionsVisible () |
| 返回上下文操作菜单是否可见 更多...
|
|
virtual bool | showContextActions (const mgvector< int > &actions, const mgvector< float > &buttonXY, float x, float y, float w, float h) |
| 显示上下文操作菜单(MgContextAction) 更多...
|
|
virtual void | hideContextActions () |
| 隐藏上下文操作菜单 更多...
|
|
void | setContextActionEnabled (bool enabled) |
|
bool | getContextActionEnabled () const |
|
virtual void | commandChanged () |
| 当前命令已改变 更多...
|
|
virtual void | selectionChanged () |
| 选择集改变的通知 更多...
|
|
virtual void | contentChanged () |
| 图形数据改变的通知 更多...
|
|
virtual void | dynamicChanged () |
| 图形动态拖拉改变的通知 更多...
|
|
virtual void | zoomChanged () |
| 放缩改变的通知 更多...
|
|
virtual void | shapeWillDelete (int sid) |
| 图形将删除的通知 更多...
|
|
virtual void | shapeDeleted (int sid) |
| 删除图形的通知 更多...
|
|
virtual bool | shapeDblClick (int type, int sid, int tag) |
| 通知图形双击编辑 更多...
|
|
virtual bool | shapeClicked (int type, int sid, int tag, float x, float y) |
| 图形点击的通知,返回false继续显示上下文按钮 更多...
|
|
virtual void | showMessage (const char *text) |
|
virtual void | getLocalizedString (const char *name, MgStringCallback *result) |
| 得到本地化文字内容 更多...
|
|
bool | dispatchGesture (GiGestureType type, GiGestureState state, CGPoint pt) |
|
bool | dispatchPan (GiGestureState state, CGPoint pt, bool switchGesture=false) |
|
bool | twoFingersMove (UIGestureRecognizer *sender, int state=-1, bool switchGesture=false) |
|
virtual | ~GiView () |
|
virtual bool | useFinger () |
| 使用手指(true)或鼠标(false)交互 更多...
|
|
virtual void | viewChanged (GiView *oldview) |
| 当前视图改变的通知 更多...
|
|
|
void | setContextButton (UIButton *btn, NSString *caption, NSString *imageName) |
|
int | regenLocked (bool changed, int sid, long playh, bool loading, long &doc0, long &doc1, long &shapes1, long &gs, mgvector< long > *&docs) |
|
void | regen_ (bool changed, int sid, long playh, bool loading) |
|
void | recordShapes (bool forUndo, long changeCount, long doc, long shapes) |
|