Changeset 6002 for geovis/trunk/RendererCmd.cpp
- Timestamp:
- Feb 11, 2016, 1:49:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geovis/trunk/RendererCmd.cpp
r5976 r6002 3380 3380 3381 3381 static int 3382 SelectFeatureOp(ClientData clientData, Tcl_Interp *interp, int objc, 3382 SelectClearOp(ClientData clientData, Tcl_Interp *interp, int objc, 3383 Tcl_Obj *const *objv) 3384 { 3385 g_renderer->clearSelection(); 3386 return TCL_OK; 3387 } 3388 3389 static int 3390 SelectFeatureOp(ClientData clientData, Tcl_Interp *interp, int objc, 3383 3391 Tcl_Obj *const *objv) 3384 3392 { … … 3407 3415 3408 3416 static int 3409 SelectModeOp(ClientData clientData, Tcl_Interp *interp, int objc, 3417 SelectModeOp(ClientData clientData, Tcl_Interp *interp, int objc, 3410 3418 Tcl_Obj *const *objv) 3411 3419 { 3412 //const char *modeStr = Tcl_GetString(objv[2]);3420 const char *modeStr = Tcl_GetString(objv[2]); 3413 3421 // Parse mode string 3414 3422 //Renderer::SelectMode mode; … … 3418 3426 3419 3427 static CmdSpec selectOps[] = { 3428 {"clear", 1, SelectClearOp, 2, 2, ""}, 3420 3429 {"feature", 1, SelectFeatureOp, 4, 4, "idlist layerName"}, 3421 {"mode", 1, SelectModeOp, 3, 3, "mode"},3430 {"mode", 1, SelectModeOp, 3, 3, "mode"}, 3422 3431 }; 3423 3432 static int nSelectOps = NumCmdSpecs(selectOps);
Note: See TracChangeset
for help on using the changeset viewer.