Home
last modified time | relevance | path

Searched refs:newcursor (Results 1 – 25 of 102) sorted by relevance

12345

/dports/editors/calligra/calligra-3.2.1/plugins/formulashape/elements/
H A DFixedElement.cpp73 if ((newcursor.position()/2==pos1 && newcursor.direction()==MoveUp) || in moveHorSituation()
74 (newcursor.position()/2==pos2 && newcursor.direction()==MoveDown) || in moveHorSituation()
75 (newcursor.position()==2*pos1 && newcursor.direction()==MoveLeft) || in moveHorSituation()
76 (newcursor.position()==2*pos2+1 && newcursor.direction()==MoveRight) ) { in moveHorSituation()
82 newcursor.moveTo(newcursor.currentElement()->childElements()[pos2]); in moveHorSituation()
84 newcursor.moveTo(newcursor.currentElement()->childElements()[pos1]); in moveHorSituation()
89 newcursor.moveTo(newcursor.currentElement()->childElements()[pos1]); in moveHorSituation()
104 if ((newcursor.position()/2==pos1 && newcursor.direction()==MoveUp) || in moveVertSituation()
105 (newcursor.position()/2==pos2 && newcursor.direction()==MoveDown) || in moveVertSituation()
106 (newcursor.position()%2==0 && newcursor.direction()==MoveLeft) || in moveVertSituation()
[all …]
H A DTableRowElement.cpp172 if ( (newcursor.isHome() && newcursor.direction()==MoveLeft) || in moveCursor()
173 (newcursor.isEnd() && newcursor.direction()==MoveRight) ) { in moveCursor()
177 … int colpos=(newcursor.position()!=endPosition() ? newcursor.position() : newcursor.position()-1); in moveCursor()
178 if (newcursor.isSelecting()) { in moveCursor()
179 switch(newcursor.direction()) { in moveCursor()
181 newcursor.moveTo(this,newcursor.position()-1); in moveCursor()
184 newcursor.moveTo(this,newcursor.position()+1); in moveCursor()
195 newcursor.setCurrentElement(m_data[newcursor.position()-1]); in moveCursor()
196 newcursor.moveEnd(); in moveCursor()
199 newcursor.setCurrentElement(m_data[newcursor.position()]); in moveCursor()
[all …]
H A DRowElement.cpp152 (newcursor.isHome() && newcursor.direction()==MoveLeft) || in moveCursor()
153 (newcursor.isEnd() && newcursor.direction()==MoveRight) ) { in moveCursor()
158 if (newcursor.isSelecting()) { in moveCursor()
159 switch(newcursor.direction()) { in moveCursor()
161 newcursor+=-1; in moveCursor()
164 newcursor+=1; in moveCursor()
170 switch(newcursor.direction()) { in moveCursor()
172 newcursor.setCurrentElement(m_childElements[newcursor.position()-1]); in moveCursor()
173 newcursor.moveEnd(); in moveCursor()
176 newcursor.setCurrentElement(m_childElements[newcursor.position()]); in moveCursor()
[all …]
H A DMultiscriptElement.cpp355 int childposition=newcursor.position()/2; in moveCursor()
365 if (newcursor.direction()==MoveUp || newcursor.direction()==MoveDown) { in moveCursor()
370 return moveSingleSituation(newcursor,oldcursor, in moveCursor()
373 if (newcursor.direction()==MoveLeft) { in moveCursor()
383 return moveHorSituation(newcursor,oldcursor, in moveCursor()
388 return moveSingleSituation(newcursor,oldcursor,0); in moveCursor()
389 } else if (newcursor.direction()==MoveRight) { in moveCursor()
404 return moveSingleSituation(newcursor,oldcursor, in moveCursor()
418 if (newcursor.direction()==MoveUp || newcursor.direction()==MoveDown) { in moveCursor()
437 } else if (newcursor.direction()==MoveLeft) { in moveCursor()
[all …]
H A DTableDataElement.cpp43 bool TableDataElement::moveCursor ( FormulaCursor& newcursor, FormulaCursor& oldcursor ) in moveCursor() argument
45 if (newcursor.isSelecting() || in moveCursor()
46 newcursor.direction()==MoveLeft || newcursor.direction()==MoveRight) { in moveCursor()
47 return RowElement::moveCursor(newcursor,oldcursor); in moveCursor()
54 if (newcursor.direction()==MoveUp) { in moveCursor()
56 … return newcursor.moveCloseTo(te->childElements()[rn-1]->childElements()[cn],oldcursor); in moveCursor()
62 … return newcursor.moveCloseTo(te->childElements()[rn+1]->childElements()[cn],oldcursor); in moveCursor()
H A DSubSupElement.cpp236 int childpos=newcursor.position()/2; in moveCursor()
238 switch( newcursor.direction()) { in moveCursor()
242 return moveHorSituation(newcursor,oldcursor,1,0); in moveCursor()
244 return moveHorSituation(newcursor,oldcursor,0,1); in moveCursor()
249 return moveVertSituation(newcursor,oldcursor,1,2); in moveCursor()
251 if (newcursor.direction()==MoveDown) { in moveCursor()
252 return moveHorSituation(newcursor,oldcursor,1,0); in moveCursor()
254 return moveHorSituation(newcursor,oldcursor,0,2); in moveCursor()
263 return moveHorSituation(newcursor,oldcursor,0,1); in moveCursor()
265 return moveHorSituation(newcursor,oldcursor,0,1); in moveCursor()
[all …]
H A DUnderOverElement.cpp183 bool UnderOverElement::moveCursor ( FormulaCursor& newcursor, FormulaCursor& oldcursor ) in moveCursor() argument
185 int childpos=newcursor.position()/2; in moveCursor()
187 return moveVertSituation(newcursor,oldcursor,1,0); in moveCursor()
189 return moveVertSituation(newcursor,oldcursor,0,1); in moveCursor()
193 return moveVertSituation(newcursor,oldcursor,1,0); in moveCursor()
195 if (newcursor.direction()==MoveDown) { in moveCursor()
196 return moveVertSituation(newcursor,oldcursor,0,2); in moveCursor()
197 } else if (newcursor.direction()==MoveUp) { in moveCursor()
198 return moveVertSituation(newcursor,oldcursor,1,0); in moveCursor()
200 return moveVertSituation(newcursor,oldcursor,0,1); in moveCursor()
[all …]
H A DTableElement.cpp205 bool TableElement::moveCursor(FormulaCursor& newcursor, FormulaCursor& oldcursor) in moveCursor() argument
208 int p=newcursor.position(); in moveCursor()
209 switch (newcursor.direction()) { in moveCursor()
215 if (newcursor.isSelecting()) { in moveCursor()
216 newcursor.moveTo( this , p-1 ); in moveCursor()
218 newcursor.moveTo( m_rows[ p / 2 ] , m_rows[ p / 2 ]->endPosition() ); in moveCursor()
227 if (newcursor.isSelecting()) { in moveCursor()
228 newcursor.moveTo( this , p+1 ); in moveCursor()
230 newcursor.moveTo( m_rows[ p / 2 ] , 0 ); in moveCursor()
238 newcursor.moveTo(this,p-2); in moveCursor()
[all …]
H A DTokenElement.cpp266 bool TokenElement::moveCursor(FormulaCursor& newcursor, FormulaCursor& oldcursor) { in moveCursor() argument
268 if ((newcursor.direction()==MoveUp) || in moveCursor()
269 (newcursor.direction()==MoveDown) || in moveCursor()
270 (newcursor.isHome() && newcursor.direction()==MoveLeft) || in moveCursor()
271 (newcursor.isEnd() && newcursor.direction()==MoveRight) ) { in moveCursor()
274 switch( newcursor.direction() ) { in moveCursor()
276 newcursor+=-1; in moveCursor()
279 newcursor+=1; in moveCursor()
H A DFixedElement.h64 bool moveHorSituation(FormulaCursor& newcursor, FormulaCursor& oldcursor,int pos1, int pos2);
65 bool moveVertSituation(FormulaCursor& newcursor, FormulaCursor& oldcursor,int pos1, int pos2);
66 bool moveSingleSituation(FormulaCursor& newcursor, FormulaCursor& oldcursor,int pos);
H A DRootElement.cpp134 bool RootElement::moveCursor(FormulaCursor& newcursor, FormulaCursor& oldcursor) in moveCursor() argument
136 if (newcursor.isSelecting()) { in moveCursor()
139 return moveHorSituation(newcursor,oldcursor,0,1); in moveCursor()
H A DFractionElement.cpp197 bool FractionElement::moveCursor(FormulaCursor& newcursor, FormulaCursor& oldcursor) { in moveCursor() argument
198 if (newcursor.isSelecting()) { in moveCursor()
205 return moveVertSituation(newcursor,oldcursor,0,1); in moveCursor()
/dports/x11-wm/fvwm3/fvwm3-1.0.4/fvwm/
H A Dcursor.c118 char *newcursor=NULL; in CMD_CursorStyle() local
245 if (newcursor) in CMD_CursorStyle()
273 newcursor); in CMD_CursorStyle()
274 free(newcursor); in CMD_CursorStyle()
284 StrEquals("none", newcursor) || in CMD_CursorStyle()
285 StrEquals("tiny", newcursor)) in CMD_CursorStyle()
312 free(newcursor); in CMD_CursorStyle()
328 newcursor); in CMD_CursorStyle()
329 free(newcursor); in CMD_CursorStyle()
333 free(newcursor); in CMD_CursorStyle()
[all …]
/dports/x11-wm/fvwm2/fvwm-2.6.9/fvwm/
H A Dcursor.c117 char *newcursor=NULL; in CMD_CursorStyle() local
243 if (newcursor) in CMD_CursorStyle()
272 newcursor); in CMD_CursorStyle()
273 free(newcursor); in CMD_CursorStyle()
283 StrEquals("none", newcursor) || in CMD_CursorStyle()
284 StrEquals("tiny", newcursor)) in CMD_CursorStyle()
312 free(newcursor); in CMD_CursorStyle()
329 newcursor); in CMD_CursorStyle()
330 free(newcursor); in CMD_CursorStyle()
334 free(newcursor); in CMD_CursorStyle()
[all …]
/dports/archivers/dpkg/dpkg-1.19.7/dselect/
H A Dmethlist.cc123 int newcursor= -1; in methodlist() local
132 if (newcursor != -1) in methodlist()
134 newcursor = nitems; in methodlist()
142 if (newcursor==-1) newcursor= 0; in methodlist()
143 setcursor(newcursor); in methodlist()
H A Dpkgcmds.cc205 int newcursor; in resortredisplay() local
206 newcursor= 0; in resortredisplay()
212 newcursor= index; in resortredisplay()
217 topofscreen= newcursor-1; in resortredisplay()
225 setcursor(newcursor); in resortredisplay()
/dports/x11/xdtm/xdtm/
H A Dfileman.c313 public void setCursor(newcursor) in setCursor() argument
314 Cursor newcursor; in setCursor()
332 if (newcursor == (Cursor)NULL) {
351 XtVaSetValues( directoryManager, XtNcursor, newcursor, NULL ) ;
353 XtVaSetValues( treeManager, XtNcursor, newcursor, NULL ) ;
355 XtVaSetValues( appManager, XtNcursor, newcursor, NULL ) ;
/dports/shells/zsh/zsh-5.8.1/Functions/Zle/
H A Dhistory-beginning-search-menu97 integer newcursor
103 newcursor=${#match[1]}
107 newcursor=$CURSOR
119 if (( newcursor )); then
120 CURSOR=$newcursor
/dports/graphics/xournal/xournal-0.4.8.2016/src/
H A Dxo-paint.c158 GdkCursorType newcursor; in update_cursor_for_resize() local
176 if (can_resize_top) newcursor = GDK_TOP_LEFT_CORNER; in update_cursor_for_resize()
177 else if (can_resize_bottom) newcursor = GDK_BOTTOM_LEFT_CORNER; in update_cursor_for_resize()
178 else newcursor = GDK_LEFT_SIDE; in update_cursor_for_resize()
181 if (can_resize_top) newcursor = GDK_TOP_RIGHT_CORNER; in update_cursor_for_resize()
183 else newcursor = GDK_RIGHT_SIDE; in update_cursor_for_resize()
185 else if (can_resize_top) newcursor = GDK_TOP_SIDE; in update_cursor_for_resize()
186 else if (can_resize_bottom) newcursor = GDK_BOTTOM_SIDE; in update_cursor_for_resize()
187 else newcursor = GDK_FLEUR; in update_cursor_for_resize()
189 if (ui.cursor!=NULL && ui.cursor->type == newcursor) return; in update_cursor_for_resize()
[all …]
/dports/science/mbdyn/mbdyn-1.7.3/libraries/libmbutil/
H A Dmbstrbuf.cc58 mbstrbuf::return_cursor(unsigned newcursor) in return_cursor() argument
60 cursor = newcursor; in return_cursor()
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/NassiShneiderman/
H A DPasteTask.cpp30 wxCursor newcursor(b_curs->ConvertToImage()); in Start() local
32 return newcursor; in Start()
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/gui/aqua/
H A Daqua.cpp143 void AquaGui::setCursor(gnash_cursor_type newcursor) in setCursor() argument
146 switch(newcursor) { in setCursor()
/dports/math/R/R-4.1.2/src/extra/graphapp/
H A Dcursors.c196 cursor newcursor(point p, image img) in newcursor() function
281 c = newcursor(p, img); in load_image_cursor()
333 HandCursor = newcursor(hand_hotspot, hand_image); in init_cursors()
/dports/math/libRmath/R-4.1.1/src/extra/graphapp/
H A Dcursors.c196 cursor newcursor(point p, image img) in newcursor() function
281 c = newcursor(p, img); in load_image_cursor()
333 HandCursor = newcursor(hand_hotspot, hand_image); in init_cursors()
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/but/
H A Drcur.c317 void butEnv_setCursor(ButEnv *env, But *but, ButCur newcursor) { in butEnv_setCursor() argument
318 if (newcursor == butCur_idle) { in butEnv_setCursor()
320 env->curnum = newcursor; in butEnv_setCursor()
324 env->curnum = newcursor; in butEnv_setCursor()

12345