BScrollBar: Move SCROLL_BAR_{...}_KNOB_SIZE constants into the source.
They were not used anywhere else in the tree anyway. Resolves a TODO.
This commit is contained in:
parent
a3f0ca5023
commit
e9815ed8b6
@ -12,10 +12,6 @@
|
||||
#define B_V_SCROLL_BAR_WIDTH 14.0f
|
||||
#define B_H_SCROLL_BAR_HEIGHT 14.0f
|
||||
|
||||
// TODO: shouldn't these be moved into the implementation?
|
||||
#define SCROLL_BAR_MAXIMUM_KNOB_SIZE 50
|
||||
#define SCROLL_BAR_MINIMUM_KNOB_SIZE 9
|
||||
|
||||
#define DISABLES_ON_WINDOW_DEACTIVATION 1
|
||||
|
||||
|
||||
|
@ -45,6 +45,9 @@ typedef enum {
|
||||
} arrow_direction;
|
||||
|
||||
|
||||
#define SCROLL_BAR_MAXIMUM_KNOB_SIZE 50
|
||||
#define SCROLL_BAR_MINIMUM_KNOB_SIZE 9
|
||||
|
||||
#define SBC_SCROLLBYVALUE 0
|
||||
#define SBC_SETDOUBLE 1
|
||||
#define SBC_SETPROPORTIONAL 2
|
||||
|
Loading…
Reference in New Issue
Block a user