Changeset 6218


Ignore:
Timestamp:
Mar 29, 2016 10:05:31 AM (8 years ago)
Author:
ldelgass
Message:

stub in placard enable toggle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/RendererCmd.cpp

    r6084 r6218  
    32633263}
    32643264
     3265static int
     3266PlacardEnableOp(ClientData clientData, Tcl_Interp *interp, int objc,
     3267                Tcl_Obj *const *objv)
     3268{
     3269    const char *layerName = Tcl_GetString(objv[3]);
     3270    bool enable;
     3271    if (GetBooleanFromObj(interp, objv[2], &enable) != TCL_OK) {
     3272        return TCL_ERROR;
     3273    }
     3274    //g_renderer->enablePlacard(layerName, enable);
     3275    return TCL_OK;
     3276}
     3277
    32653278static CmdSpec placardOps[] = {
    32663279    {"config", 1, PlacardConfigOp, 6, 6, "attrlist style padding layerName"},
     3280    {"enable", 1, PlacardEnableOp, 4, 4, "bool layerName"},
    32673281};
    32683282static int nPlacardOps = NumCmdSpecs(placardOps);
Note: See TracChangeset for help on using the changeset viewer.