Re: [bugs] [PATCH] Scrollbar and right window border
- Date: Tue, 12 Dec 2017 17:54:40 +0100
- From: Lars Henriksen <LarsHenriksen@xxxxxxxxxx>
- Subject: Re: [bugs] [PATCH] Scrollbar and right window border
On Tue, Dec 12, 2017 at 05:09:17PM +0100, Lars Henriksen wrote:
> Yes certainly, if you mean setting highlight in the caller and not in
> draw_scrollbar(), but I don't see how the "main panel logic" can be avoided when
> figuring out how to call it. That puts the logic in wins_scrollwin_display().
On further thought. I can be done like for wins_scrollwin_draw_deco() and
involves passing on a highlight argument a couple of times:
ui_day_update_panel(slctd_win == APP)
> Using the label as identifier is in princible wrong since it's not unique,
> but I couldn't think of anything else without adding to the scrollwin
> structure. It's mostly a theoretical problem.
And this can be dropped.