[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calculating screen relative X when horizontal scrolling.
From: |
Eli Zaretskii |
Subject: |
Re: Calculating screen relative X when horizontal scrolling. |
Date: |
Fri, 19 Oct 2018 22:23:34 +0300 |
> Date: Wed, 17 Oct 2018 13:43:49 -0700
> From: Keith David Bershatsky <address@hidden>
> Cc: address@hidden
>
> relative_x = it->current_x - ((window_hscroll_limited (it->w, it->f) *
> FRAME_COLUMN_WIDTH (it->f))
Can you tell why you don't use the simple approach:
relative_x = it->current_x - it->first_visible_x;
?
- Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/15
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/16
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/17
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/17
- Re: Calculating screen relative X when horizontal scrolling.,
Eli Zaretskii <=
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/19
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/19
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/20
- Re: Calculating screen relative X when horizontal scrolling., Keith David Bershatsky, 2018/10/24