4 #include "../X11Controller.hpp"
5 #include "../../TextUtils.hpp"
29 void CursorPie::selectPie(
int c)
36 if(xmove.size() > unsigned(c)
37 && ymove.size() > unsigned(c))
48 std::map<std::string,CEBL::Param> params;
52 if(xmove.size() > unsigned(i))
53 current = this->xmove[i];
56 " Amount to move cursor in X direction.",
58 std::stringstream ss1;
60 params[ss1.str()] = temp;
65 if(ymove.size() > unsigned(i))
66 current = this->ymove[i];
69 " Amount to move cursor in Y direction.",
71 std::stringstream ss2;
73 params[ss2.str()] = temp2;
81 this->xmove.resize(0);
82 this->ymove.resize(0);
83 map<std::string, CEBL::Param>::iterator it;
84 for(it = p.begin(); it!=p.end(); ++it)
86 this->xmove.push_back(it->second.getInt());
88 this->ymove.push_back(it->second.getInt());