Home
last modified time | relevance | path

Searched refs:scrpos (Results 1 – 25 of 70) sorted by relevance

123

/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/curses/
H A Dux_input.c716 x + scrpos + 1, len - scrpos); in os_read_line()
718 memmove(buf + scrpos, buf + scrpos + 1, in os_read_line()
757 scrnmove(x + scrpos, x + scrpos + 1, in os_read_line()
760 memmove(buf + scrpos, buf + scrpos + 1, in os_read_line()
766 scrnset(x + scrpos, ' ', len - scrpos); in os_read_line()
793 scrpos = end_of_next_word(scrpos, buf, len); in os_read_line()
797 scrpos = start_of_prev_word(scrpos, buf); in os_read_line()
842 memmove(buf + scrpos + ext_len, buf + scrpos, in os_read_line()
846 scrnmove(x + scrpos + ext_len, x + scrpos, len - scrpos); in os_read_line()
873 scrnmove(x + scrpos + 1, x + scrpos, in os_read_line()
[all …]
/dports/sysutils/less/less-551/
H A Dposition.c109 struct scrpos scrpos; in pos_init() local
119 get_scrpos(&scrpos, TOP); in pos_init()
122 scrpos.pos = NULL_POSITION; in pos_init()
126 if (scrpos.pos != NULL_POSITION) in pos_init()
127 table[scrpos.ln-1] = scrpos.pos; in pos_init()
180 get_scrpos(scrpos, where) in get_scrpos() argument
181 struct scrpos *scrpos; in get_scrpos()
199 scrpos->pos = NULL_POSITION;
214 scrpos->ln = i+1;
215 scrpos->pos = table[i];
[all …]
H A Dmark.c212 struct scrpos scrpos; local
217 get_scrpos(&scrpos, where);
218 if (scrpos.pos == NULL_POSITION)
223 cmark(m, curr_ifile, scrpos.pos, scrpos.ln);
254 struct scrpos scrpos; in lastmark() local
258 get_scrpos(&scrpos, TOP); in lastmark()
259 if (scrpos.pos == NULL_POSITION) in lastmark()
261 cmark(&marks[LASTMARK], curr_ifile, scrpos.pos, scrpos.ln); in lastmark()
272 struct scrpos scrpos; local
290 scrpos = m->m_scrpos;
[all …]
H A Difile.c34 struct scrpos h_scrpos; /* Saved position within the file */
285 store_pos(ifile, scrpos) in store_pos() argument
287 struct scrpos *scrpos;
289 int_ifile(ifile)->h_scrpos = *scrpos;
297 get_pos(ifile, scrpos) in get_pos() argument
299 struct scrpos *scrpos;
301 *scrpos = int_ifile(ifile)->h_scrpos;
H A Djump.c120 struct scrpos scrpos; in repaint() local
125 get_scrpos(&scrpos, TOP); in repaint()
127 if (scrpos.pos == NULL_POSITION) in repaint()
131 jump_loc(scrpos.pos, scrpos.ln); in repaint()
/dports/chinese/cless/cless-290/
H A Dmark.c40 struct scrpos m_scrpos;
172 struct scrpos scrpos; local
177 get_scrpos(&scrpos);
178 m->m_scrpos = scrpos;
188 struct scrpos scrpos; in lastmark() local
190 get_scrpos(&scrpos); in lastmark()
191 if (scrpos.pos == NULL_POSITION) in lastmark()
193 lmark.m_scrpos = scrpos; in lastmark()
205 struct scrpos scrpos; local
228 scrpos = m->m_scrpos;
[all …]
H A Dposition.c125 struct scrpos scrpos; in pos_init() local
135 get_scrpos(&scrpos); in pos_init()
138 scrpos.pos = NULL_POSITION; in pos_init()
142 if (scrpos.pos != NULL_POSITION) in pos_init()
143 table[scrpos.ln-1] = scrpos.pos; in pos_init()
196 get_scrpos(scrpos) in get_scrpos() argument
197 struct scrpos *scrpos; in get_scrpos()
208 scrpos->ln = i+1;
209 scrpos->pos = table[i];
215 scrpos->pos = NULL_POSITION;
H A Difile.c50 struct scrpos h_scrpos; /* Saved position within the file */
268 store_pos(ifile, scrpos) in store_pos() argument
270 struct scrpos *scrpos;
272 int_ifile(ifile)->h_scrpos = *scrpos;
280 get_pos(ifile, scrpos) in get_pos() argument
282 struct scrpos *scrpos;
284 *scrpos = int_ifile(ifile)->h_scrpos;
H A Djump.c103 struct scrpos scrpos; in repaint() local
108 get_scrpos(&scrpos); in repaint()
110 jump_loc(scrpos.pos, scrpos.ln); in repaint()
H A Dedit.c42 extern struct scrpos initial_scrpos;
133 struct scrpos scrpos; in close_file() local
141 get_scrpos(&scrpos); in close_file()
142 if (scrpos.pos != NULL_POSITION) in close_file()
144 store_pos(curr_ifile, &scrpos); in close_file()
/dports/japanese/less/less-382.262.03.01/
H A Dposition.c109 struct scrpos scrpos; in pos_init() local
119 get_scrpos(&scrpos); in pos_init()
122 scrpos.pos = NULL_POSITION; in pos_init()
126 if (scrpos.pos != NULL_POSITION) in pos_init()
127 table[scrpos.ln-1] = scrpos.pos; in pos_init()
180 get_scrpos(scrpos) in get_scrpos() argument
181 struct scrpos *scrpos; in get_scrpos()
192 scrpos->ln = i+1;
193 scrpos->pos = table[i];
199 scrpos->pos = NULL_POSITION;
H A Dmark.c23 struct scrpos m_scrpos;
150 struct scrpos scrpos; local
155 get_scrpos(&scrpos);
156 m->m_scrpos = scrpos;
166 struct scrpos scrpos; in lastmark() local
170 get_scrpos(&scrpos); in lastmark()
171 if (scrpos.pos == NULL_POSITION) in lastmark()
173 marks[LASTMARK].m_scrpos = scrpos; in lastmark()
185 struct scrpos scrpos; local
208 scrpos = m->m_scrpos;
[all …]
H A Difile.c41 struct scrpos h_scrpos; /* Saved position within the file */
283 store_pos(ifile, scrpos) in store_pos() argument
285 struct scrpos *scrpos;
287 int_ifile(ifile)->h_scrpos = *scrpos;
295 get_pos(ifile, scrpos) in get_pos() argument
297 struct scrpos *scrpos;
299 *scrpos = int_ifile(ifile)->h_scrpos;
H A Djump.c91 struct scrpos scrpos; in repaint() local
96 get_scrpos(&scrpos); in repaint()
98 jump_loc(scrpos.pos, scrpos.ln); in repaint()
/dports/deskutils/calcurse/calcurse-4.7.1/src/
H A Dgetstring.c47 int scrpos; member
62 st->ci[st->scrpos].dpyoff > col - 2) in getstr_print()
64 else if (st->scrpos > 0) in getstr_print()
140 st->scrpos = 0; in getstr_init()
149 while (st->pos < st->scrpos) { in getstr_fixscr()
152 st->scrpos--; in getstr_fixscr()
154 st->ci[st->scrpos + 1].dpyoff - in getstr_fixscr()
155 st->ci[st->scrpos].dpyoff; in getstr_fixscr()
163 st->ci[st->scrpos + 1].dpyoff - in getstr_fixscr()
164 st->ci[st->scrpos].dpyoff; in getstr_fixscr()
[all …]
/dports/games/libretro-picodrive/picodrive-600894e/pico/
H A Ddraw2.c141 unsigned char *scrpos = est->Draw2FB; in DrawWindowFull() local
167 scrpos+=8*LINE_WIDTH+8; in DrawWindowFull()
196 scrpos += LINE_WIDTH*8; in DrawWindowFull()
208 unsigned char *scrpos; in DrawLayerFull() local
242 scrpos = est->Draw2FB; in DrawLayerFull()
247 scrpos+=(8-(vscroll&7))*LINE_WIDTH; in DrawLayerFull()
302 scrpos += LINE_WIDTH*8; in DrawLayerFull()
327 pd = scrpos + prevy*LINE_WIDTH*8; in DrawTilesFromCacheF()
354 unsigned char *scrpos; in DrawSpriteFull() local
379 scrpos = est->Draw2FB; in DrawSpriteFull()
[all …]
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/pico/
H A Ddraw2.c176 scrpos += 32; in DrawWindowFull()
184 scrpos+=8*LINE_WIDTH+8; in DrawWindowFull()
213 scrpos += LINE_WIDTH*8; in DrawWindowFull()
225 unsigned char *scrpos; in DrawLayerFull() local
259 scrpos = est->Draw2FB; in DrawLayerFull()
261 scrpos += 32; in DrawLayerFull()
360 scrpos += 32; in DrawTilesFromCacheF()
401 unsigned char *scrpos; in DrawSpriteFull() local
431 scrpos = est->Draw2FB; in DrawSpriteFull()
433 scrpos += 32; in DrawSpriteFull()
[all …]
/dports/devel/p5-Curses-UI/Curses-UI-0.9609/lib/Curses/UI/
H A DTextEditor.pm181 -yscrpos => 0,
265 - $this->{-yscrpos}));
266 while ($this->{-yscrpos} > 0 and
269 $this->{-yscrpos}--;
272 - $this->{-yscrpos}));
363 $this->{-yscrpos} = $this->{-ypos};
367 $this->{-yscrpos} = 0 if $this->{-yscrpos} < 0;
368 $this->{-yscrpos} = @$lines if $this->{-yscrpos} > @$lines;
819 $this->{-yscrpos} = 0 if $this->{-yscrpos} < 0;
867 if $this->{-yscrpos} >= $max;
[all …]
H A DListbox.pm115 -yscrpos => 0, # Value init
247 - ($this->number_of_lines - $this->{-yscrpos}));
248 while ($this->{-yscrpos} > 0 and $inscreen < $this->canvasheight)
250 $this->{-yscrpos}--;
252 - ($this->number_of_lines - $this->{-yscrpos}));
270 my $ycur = $this->{-ypos} - $this->{-yscrpos};
276 $this->{-yscrpos} = $this->{-ypos};
281 $this->{-vscrollpos} = $this->{-yscrpos};
348 my $start_idx = $this->{-yscrpos};
349 my $end_idx = $this->{-yscrpos} + $this->canvasheight - 1;
[all …]
H A DSearchable.pm285 $this->{-yscrpos}++
286 if ($this->{-ypos}-$this->{-yscrpos} == $this->canvasheight);
294 - $this->{-yscrpos}));
295 while ($this->{-yscrpos} > 0 and
298 $this->{-yscrpos}--;
301 - $this->{-yscrpos}));
/dports/audio/ocp/ocp-0.2.90/cpiface/
H A Dcpiscope.c209 uint32_t scrpos=(y+96)*640+x; in drawscope() local
217 *buf++=scrpos+(*out<<3); in drawscope()
219 *buf++=(scrpos+(*in<<3))|colmask; in drawscope()
223 scrpos++; in drawscope()
226 *buf++=scrpos+(*out<<3); in drawscope()
231 scrpos++; in drawscope()
239 uint32_t scrpos=(y+96)*640+x; in removescope() local
246 *buf++=scrpos+(*out<<3); in removescope()
249 scrpos++; in removescope()
252 *buf++=scrpos+(*out<<3); in removescope()
[all …]
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/interface/
H A DWindow.cpp179 Components[i]->Draw(scrpos); in DoDraw()
183 if (scrpos.X + Components[i]->Size.X >= 0 && in DoDraw()
184 scrpos.Y + Components[i]->Size.Y >= 0 && in DoDraw()
186 scrpos.Y < ui::Engine::Ref().GetHeight()) in DoDraw()
188 Components[i]->Draw(scrpos); in DoDraw()
209 if ((scrpos.X + hoverComponent->Size.X >= 0 && in DoDraw()
210 scrpos.Y + hoverComponent->Size.Y >= 0 && in DoDraw()
212 scrpos.Y < ui::Engine::Ref().GetHeight() in DoDraw()
215 hoverComponent->Draw(scrpos); in DoDraw()
224 scrpos.Y < ui::Engine::Ref().GetHeight() in DoDraw()
[all …]
/dports/biology/p5-Bio-Graphics/Bio-Graphics-2.40/lib/Bio/Graphics/Glyph/
H A Dfb_shmiggle.pm294 my $scrpos= int($scrx);
296 if( $scrpos != $scrxold ) { # we have actual new seq _and_ screen position
298 push(@xscreencoords,$scrpos) unless $donecoords;
299 $scrxold= $scrpos;
313 my $scrpos= int($scrx);
314 if( $scrpos != $scrxold ) { # we have actual new seq _and_ screen position
316 push(@xscreencoords,$scrpos) unless $donecoords;
317 $scrxold= $scrpos;
/dports/math/form/form-4.2.1/sources/
H A Dstore.c203 POSITION scrpos; in RevertScratch() local
204 PUTZERO(scrpos); in RevertScratch()
246 POSITION scrpos; in ResetScratch() local
247 PUTZERO(scrpos); in ResetScratch()
475 if ( ISLESSPOS(scrpos,scrpos1) ) wSize = BASEPOSITION(scrpos); in CoSave()
527 PUTZERO(scrpos); in CoSave()
532 if ( ISLESSPOS(scrpos,scrpos1) ) wSize = BASEPOSITION(scrpos); in CoSave()
905 if ( ISLESSPOS(scrpos,scrpos1) ) wSize = BASEPOSITION(scrpos); in PutInStore()
923 if ( ISLESSPOS(scrpos,scrpos1) ) wSize = BASEPOSITION(scrpos); in PutInStore()
2321 POSITION scrpos; in SetFileIndex() local
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/samterm/
H A Dscroll.c31 scrpos(Rectangle r, long p0, long p1, long tot) in scrpos() function
87 r2 = scrpos(r1, l->origin, l->origin+l->f.nchars, tot); in scrdraw()
111 scr = scrpos(l->scroll, l->origin, l->origin+l->f.nchars, tot); in scroll()
133 rt = scrpos(l->scroll, p0, p0+l->f.nchars, tot); in scroll()
141 rt = scrpos(l->scroll, p0, p0+l->f.nchars, tot); in scroll()

123