haiku/headers
John Scipione a0ba79fbff Split BSpinner into BAbstractSpinner and...
2 concrete classes which are currently implemented:
* BSpinner (works on int32s)
* BDecimalSpinner (works on doubles)

In addition BAbstractSpinner now inherits from BControl instead of
BView/BInvoker. This allowed for code simplification at the cost of needing to
cast for the decimal version because SetValue(int32 value) comes from BControl.

Also, add a spinner_button_style enum with 3 options:
* SPINNER_BUTTON_HORIZONTAL_ARROWS
* SPINNER_BUTTON_VERTICAL_ARROWS
* SPINNER_BUTTON_PLUS_MINUS

which sets the spinner arrows to either use horizontal arrows (left/right)
vertical arrows, (up/down), or +/- symbols (the default).

If the spinner button is using horizontal arrows you can decrement and increment
the spinner value by pushing control+left/right, otherwise you can increment and
decrement by pushing up or down. The reason for needing control is so that you
can move the cursor in the textbox otherwise.

Switch the 3 apps that are currently using BSpinners to use the integer variety
in Deskbar preferences, WebPostive preferences, and Screen preferences.
2015-08-22 15:15:08 -07:00
..
build headers/os: Add gcc 5 to BeBuild.h 2015-06-24 23:06:23 -05:00
compatibility build: Convert to external libedit build package 2015-07-04 15:29:05 -05:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp Add a <limits> header for gcc2. 2014-11-27 12:14:39 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Force use of std::isnan() in agg_conv_curve.h. 2015-07-25 23:42:14 +02:00
os EntryCache: Add entry_cache_add_missing() for negative caching. 2015-08-20 21:25:56 +02:00
posix Added execvpe(). 2015-07-23 13:30:30 +02:00
private Split BSpinner into BAbstractSpinner and... 2015-08-22 15:15:08 -07:00
tools Remove preprocessor checks from TestShell.h 2014-07-29 23:05:52 +02:00