Re: what is gui.border_width for?
- Julian Kinraid wrote:
> I was just looking at a minor problem with my photon port, and saw thatUnfortunately it's very unclear how this is supposed to work. Perhaps Robert
> it in gui_update_scrollbars(), sometimes the gui.border_offset is added
> to the height and y position of a scrollbar.
> With the way I've done the port, I have the border offset and width both
> set to 6, but when positioning components, I want the top left to be
> 0,0. So sometimes a scrollbar will end up 6 pixels lower down than it
> So I changed border_offset to 0 and left border_width alone, but that
> caused other problems, in that border_width is never used outside of the
> gui_*.c files, and most of the time it's set to whatever border_width
> Ideally, I would have border_offset at 0, which would be used when
> positioning components, and border_width would be 6 (for example), which
> would be used for drawing text, finding the total size of the text area,
> etc. Is that how it's supposed to work?
Webb can say something about this. I think he introduced these variables.
hundred-and-one symptoms of being an internet addict:
37. You start looking for hot HTML addresses in public restrooms.
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///