add BC_SCALE env var for hi def monitors, cleanup theme data
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcscrollbar.C
index a148bc305383fd1ec01b435ff043e687a1f50a0e..481bda09ce579042b68db2b3f3c9b455a8699108 100644 (file)
@@ -144,7 +144,7 @@ void BC_ScrollBar::draw(int flush)
 
 //printf("BC_ScrollBar::draw 1 %d %d\n", selection_status, highlight_status == SCROLL_BACKARROW);
 // Too small to draw anything
-                       if(get_w() < get_arrow_pixels() * 2 + 5)
+                       if(get_w() < get_arrow_pixels() * 2 + xS(5))
                        {
                                draw_3segmenth(0,
                                        0,
@@ -244,7 +244,7 @@ void BC_ScrollBar::draw(int flush)
 
                case SCROLL_VERT:
 // Too small to draw anything
-                       if(get_h() < get_arrow_pixels() * 2 + 5)
+                       if(get_h() < get_arrow_pixels() * 2 + yS(5))
                        {
                                draw_3segmentv(0,
                                        0,