1/* 2 * Copyright 2008, Stephan A��mus <superstippi@gmx.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5#ifndef WIDGET_LAYOUT_TEST_SCROLL_BAR_TEST_H 6#define WIDGET_LAYOUT_TEST_SCROLL_BAR_TEST_H 7 8 9#include "Test.h" 10 11 12class BScrollBar; 13class RadioButtonGroup; 14 15 16class ScrollBarTest : public Test { 17public: 18 ScrollBarTest(); 19 virtual ~ScrollBarTest(); 20 21 static Test* CreateTest(); 22 23 virtual void ActivateTest(View* controls); 24 virtual void DectivateTest(); 25 26 virtual void MessageReceived(BMessage* message); 27 28private: 29 void _UpdateOrientation(); 30 31private: 32 class OrientationRadioButton; 33 34 BScrollBar* fScrollBar; 35 RadioButtonGroup* fOrientationRadioGroup; 36}; 37 38 39#endif // WIDGET_LAYOUT_TEST_SCROLL_BAR_TEST_H 40