[haiku-development] Re: Negative insets and BScroll{Bar|View}
- From: Ingo Weinhold <ingo_weinhold@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 26 Aug 2015 19:08:19 +0200
On 26.08.2015 18:08, Axel Dörfler wrote:
Am 26/08/2015 um 11:52 schrieb Ingo Weinhold:
Or use something like this to avoid breaking binary compatibility:
#define B_DEFINE_NEGATIVE_INSET(x) ((x) - 1000)
#define B_IS_NEGATIVE_INSET(x) ((x) < -1000)
#define B_GET_NEGATIVE_INSET(x) ((x) + 1000)
For real? :-)
Just mentioning options.
IMO breaking compatibility here is more acceptable than adding such a
kludge to the API
IMO the negative insets are the main kludge. Given that this is pretty
much only needed for BScroll{View,Bar}, an attribute that affects their
view border/size sounds like a more elegant solution to me.
-- if we'd already hit R1, the situation would look
differently.
TBH, I don't care that about binary compatibility much anymore these
days. It's just that those changes will break (at least visually)
external applications that use the API until they have been rebuilt.
Given that the master hasn't been particularly stable lately...
CU, Ingo
Other related posts: