projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opengl dot() fix, add file dates, sort file name/time, fix icon image lookup, sync...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bcscrollbar.h
diff --git
a/cinelerra-5.1/guicast/bcscrollbar.h
b/cinelerra-5.1/guicast/bcscrollbar.h
index d631d0a6dad446880be7b30d7c533af9c2201394..bad1ad532ea56c80ac65db32011ec5bcdd1b1dae 100644
(file)
--- a/
cinelerra-5.1/guicast/bcscrollbar.h
+++ b/
cinelerra-5.1/guicast/bcscrollbar.h
@@
-27,8
+27,9
@@
#include "bcsubwindow.h"
// Orientations
#include "bcsubwindow.h"
// Orientations
-#define SCROLL_HORIZ 0
-#define SCROLL_VERT 1
+#define SCROLL_HORIZ 0
+#define SCROLL_VERT 1
+#define SCROLL_STRETCH 2
// Selection identifiers
#define SCROLL_HANDLE 1
// Selection identifiers
#define SCROLL_HANDLE 1
@@
-61,14
+62,8
@@
class BC_ScrollBar : public BC_SubWindow
{
public:
class BC_ScrollBar : public BC_SubWindow
{
public:
- BC_ScrollBar(int x,
- int y,
- int orientation,
- int pixels,
- int64_t length,
- int64_t position,
- int64_t handlelength,
- VFrame **data = 0);
+ BC_ScrollBar(int x, int y, int orientation, int pixels, int64_t length,
+ int64_t position, int64_t handlelength, VFrame **data = 0);
virtual ~BC_ScrollBar();
friend class BC_ListBox;
virtual ~BC_ScrollBar();
friend class BC_ListBox;
@@
-95,7
+90,6
@@
public:
int get_span();
static int get_span(int orientation);
int get_arrow_pixels();
int get_span();
static int get_span(int orientation);
int get_arrow_pixels();
-
private:
void calculate_dimensions(int &w, int &h);
int activate();
private:
void calculate_dimensions(int &w, int &h);
int activate();
@@
-105,7
+99,7
@@
private:
int64_t length, position, handlelength; // handle position and size
int selection_status, highlight_status;
int64_t length, position, handlelength; // handle position and size
int selection_status, highlight_status;
- int orientation, pixels;
+ int orientation, pixels
, stretch
;
int handle_pixel, handle_pixels;
int min_pixel, max_pixel;
int64_t repeat_count;
int handle_pixel, handle_pixels;
int min_pixel, max_pixel;
int64_t repeat_count;