Small cleanups.
+alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32726 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2008, Haiku Inc. All rights reserved.
|
* Copyright 2001-2008, Haiku, Inc. All rights reserved.
|
||||||
* Distributed under the terms of the MIT/X11 license.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
#ifndef _RADIO_BUTTON_H
|
#ifndef _RADIO_BUTTON_H
|
||||||
#define _RADIO_BUTTON_H
|
#define _RADIO_BUTTON_H
|
||||||
|
|
||||||
|
|
||||||
#include <BeBuild.h>
|
#include <BeBuild.h>
|
||||||
#include <Control.h>
|
#include <Control.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
|
|
||||||
|
|
||||||
class BRadioButton : public BControl {
|
class BRadioButton : public BControl {
|
||||||
public:
|
public:
|
||||||
BRadioButton(BRect frame, const char* name,
|
BRadioButton(BRect frame, const char* name,
|
||||||
@@ -34,7 +36,8 @@ public:
|
|||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||||
virtual void SetValue(int32 value);
|
virtual void SetValue(int32 value);
|
||||||
virtual void GetPreferredSize(float* _width, float* _height);
|
virtual void GetPreferredSize(float* _width,
|
||||||
|
float* _height);
|
||||||
virtual void ResizeToPreferred();
|
virtual void ResizeToPreferred();
|
||||||
virtual status_t Invoke(BMessage* message = NULL);
|
virtual status_t Invoke(BMessage* message = NULL);
|
||||||
|
|
||||||
@@ -70,7 +73,8 @@ private:
|
|||||||
BRadioButton& operator=(const BRadioButton& other);
|
BRadioButton& operator=(const BRadioButton& other);
|
||||||
|
|
||||||
BRect _KnobFrame() const;
|
BRect _KnobFrame() const;
|
||||||
BRect _KnobFrame(const font_height& fontHeight) const;
|
BRect _KnobFrame(
|
||||||
|
const font_height& fontHeight) const;
|
||||||
void _Redraw();
|
void _Redraw();
|
||||||
// for use in "synchronous" BWindows
|
// for use in "synchronous" BWindows
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user