- Timestamp:
- Mar 29, 2016 10:05:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geovis/trunk/RendererCmd.cpp
r6084 r6218 3263 3263 } 3264 3264 3265 static int 3266 PlacardEnableOp(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 3265 3278 static CmdSpec placardOps[] = { 3266 3279 {"config", 1, PlacardConfigOp, 6, 6, "attrlist style padding layerName"}, 3280 {"enable", 1, PlacardEnableOp, 4, 4, "bool layerName"}, 3267 3281 }; 3268 3282 static int nPlacardOps = NumCmdSpecs(placardOps);
Note: See TracChangeset
for help on using the changeset viewer.