Public Member Functions |
| EngraverFillInterface (int nid, Laxkit::Displayer *ndp) |
virtual | ~EngraverFillInterface () |
| Empty destructor.
|
virtual Laxkit::ShortcutHandler * | GetShortcuts () |
virtual const char * | IconId () |
virtual const char * | Name () |
virtual const char * | whattype () |
virtual const char * | whatdatatype () |
virtual anInterface * | duplicate (anInterface *dup) |
virtual int | UseThisObject (ObjectContext *oc) |
virtual int | UseThis (anObject *newdata, unsigned int mask=0) |
virtual int | UseThis (int id, int ndata) |
| id==4 means make recurse=ndata.
|
virtual int | DrawData (anObject *ndata, anObject *a1=NULL, anObject *a2=NULL, int info=0) |
| Checks for EngraverFillData, then calls PatchInterface::DrawData(ndata,a1,a2,info).
|
virtual int | LBDown (int x, int y, unsigned int state, int count, const Laxkit::LaxMouse *d) |
| Catch a double click to pop up an ImageDialog.
|
virtual int | LBUp (int x, int y, unsigned int state, const Laxkit::LaxMouse *d) |
virtual int | MouseMove (int x, int y, unsigned int state, const Laxkit::LaxMouse *d) |
virtual int | CharInput (unsigned int ch, const char *buffer, int len, unsigned int state, const Laxkit::LaxKeyboard *d) |
virtual int | KeyUp (unsigned int ch, unsigned int state, const Laxkit::LaxKeyboard *d) |
virtual int | Refresh () |
virtual int | Event (const Laxkit::EventData *data, const char *mes) |
virtual void | deletedata () |
virtual PatchData * | newPatchData (double xx, double yy, double ww, double hh, int nr, int nc, unsigned int stle) |
| Return new local EngraverFillData.
|
| PatchInterface (int nid, Laxkit::Displayer *ndp) |
virtual int | UseThis (Laxkit::anObject *newdata, unsigned int mask=0) |
virtual void | Clear (SomeData *d=NULL) |
| Delete data, and flush curpoints. Make needtodraw=1.
|
virtual int | InterfaceOn () |
virtual int | InterfaceOff () |
| Flush curpoints.
|
virtual ObjectContext * | Context () |
virtual void | drawpatch (int roff, int coff) |
| Draw a grid over patch, lines every 1/griddivisions for s and t directions.
|
virtual void | drawpatches () |
| Draw the whole patch.
|
virtual int | DrawData (Laxkit::anObject *ndata, Laxkit::anObject *a1=NULL, Laxkit::anObject *a2=NULL, int info=0) |
virtual int | scan (int x, int y) |
virtual int | SelectPoint (int c, unsigned int state) |
| anInterface () |
| This constructor assigns id=getUniqueNumber().
|
| anInterface (int nid) |
| Constructor to assign just the id, set other stuff to 0.
|
| anInterface (int nid, Laxkit::Displayer *ndp) |
| anInterface (anInterface *nowner, int nid) |
| Constructor to assign owner and id.
|
| anInterface (anInterface *nowner, int nid, Laxkit::Displayer *ndp) |
virtual int | draws (const char *atype) |
| Returns !strcmp(whatdatatype(),atype).
|
virtual void | Clear () |
| Default just calls Clear(NULL).
|
virtual int | RemoveChild () |
| If there is a child, do something to remove it.
|
virtual int | AddChild (LaxInterfaces::anInterface *ch, int absorbcount, int addbefore) |
virtual int | Needtodraw () |
| Must return nonzero if the data needs to be drawn, that is to say Refresh must be called.
|
virtual int | Needtodraw (int n) |
virtual int | MBDown (int x, int y, unsigned int state, int count, const Laxkit::LaxMouse *d) |
virtual int | RBDown (int x, int y, unsigned int state, int count, const Laxkit::LaxMouse *d) |
virtual int | MBUp (int x, int y, unsigned int state, const Laxkit::LaxMouse *d) |
virtual int | RBUp (int x, int y, unsigned int state, const Laxkit::LaxMouse *d) |
virtual int | WheelUp (int x, int y, unsigned int state, int count, const Laxkit::LaxMouse *d) |
virtual int | WheelDown (int x, int y, unsigned int state, int count, const Laxkit::LaxMouse *d) |
virtual int | DeviceChange (const Laxkit::DeviceEventData *e) |
virtual void | ExposeChange (Laxkit::ScreenEventData *e) |
virtual void | ViewportResized () |
| Called after the parent viewport gets resized.
|
virtual void | Mapped () |
| Called after the parent viewport gets mapped (made visible).
|
virtual void | Unmapped () |
| Called after the parent viewport gets mapped (made invisible, such as offscreen, not merely obscured).
|
virtual void | PostMessage (const char *message) |
| If viewport, use that, else app->postmessage().
|
virtual Laxkit::MenuInfo * | ContextMenu (int x, int y, int deviceid) |
| Return a context sensitive menu for screen position (x,y).
|
virtual Laxkit::anXWindow * | CurrentWindow (Laxkit::anXWindow *ncur) |
| Set the window the interface works on to ncur. Returns ncur. If ncur==NULL, then just return current viewport.
|
virtual void | Dp (Laxkit::Displayer *ndp) |
| Set the dp to ndp, and update curwindow/viewport.
|
virtual int | DrawDataDp (Laxkit::Displayer *tdp, SomeData *tdata, Laxkit::anObject *a1=NULL, Laxkit::anObject *a2=NULL, int info=1) |
| Use a different dp to draw data with.
|
virtual flatpoint | realtoscreen (flatpoint r) |
| Do a little extra checking to find what point r should correspond to.
|
virtual flatpoint | screentoreal (int x, int y) |
| Do a little extra checking to find what point (x,y) should correspond to.
|
virtual double | Getmag (int c=0) |
| Do a little extra checking to find what the magnification is.
|
virtual double | GetVMag (int x, int y) |
| Do a little extra checking to find what the magnification is.
|
virtual void | dump_out (FILE *f, int indent, int what, Laxkit::anObject *savecontext) |
| Default settings saving is to output nothing.
|
virtual void | dump_in_atts (LaxFiles::Attribute *att, int flag, Laxkit::anObject *loadcontext) |
| Placeholder for dumping in settings.
|
virtual Attribute * | dump_out_atts (Attribute *att, int what, Laxkit::anObject *savecontext) |
| Default is return NULL. what==0 means write out normal Attribute formatted things.
|
virtual void | dump_in (FILE *f, int indent, int what, Laxkit::anObject *loadcontext, Attribute **att) |
| Read in a file segment as an Attribute, and pass parsing duties to dump_in_atts.
|
virtual | ~DumpUtility () |
| Empty virtual destructor.
|
Interface for dealing with EngraverFillData objects.
*** select multiple datas to adjust. Mesh tinker only on one of them, touch up on many