Changeset 4829 for nanovis/branches


Ignore:
Timestamp:
Dec 10, 2014, 12:36:27 AM (5 years ago)
Author:
ldelgass
Message:

Add stub imgflush command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.1/Command.cpp

    r4827 r4829  
    9898}";
    9999
     100static int lastCmdStatus;
     101
    100102bool
    101103GetBooleanFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, bool *boolPtr)
     
    21302132}
    21312133
     2134static int
     2135ImageFlushCmd(ClientData clientData, Tcl_Interp *interp, int objc,
     2136              Tcl_Obj *const *objv)
     2137{
     2138    lastCmdStatus = TCL_BREAK;
     2139    return TCL_OK;
     2140}
     2141
    21322142Tcl_Interp *
    21332143initTcl()
     
    21452155    Tcl_CreateObjCommand(interp, "grid",        GridCmd,        NULL, NULL);
    21462156    Tcl_CreateObjCommand(interp, "heightmap",   HeightMapCmd,   NULL, NULL);
     2157    Tcl_CreateObjCommand(interp, "imgflush",    ImageFlushCmd,  NULL, NULL);
    21472158    Tcl_CreateObjCommand(interp, "legend",      LegendCmd,      NULL, NULL);
    21482159    Tcl_CreateObjCommand(interp, "screen",      ScreenCmd,      NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.