haiku/headers/os/interface/SeparatorItem.h
Stephan Aßmus 89208c77f1 Finished unifying the Interface Kit headers:
* Fixed copyrights (puncuation and capitalization, removed authors from
  headers)
* Updated indentation style
* Unified pointer/reference style
* Re-ordered some methods for better grouping where it could be done
  (abd adopted source accordingly)
* Small coding style fixes here and there

No functional change intended.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-27 11:12:41 +00:00

42 lines
902 B
C++

/*
* Copyright 2001-2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SEPARATOR_ITEM_H
#define _SEPARATOR_ITEM_H
#include <MenuItem.h>
class BMessage;
class BSeparatorItem : public BMenuItem {
public:
BSeparatorItem();
BSeparatorItem(BMessage* archive);
virtual ~BSeparatorItem();
static BArchivable* Instantiate(BMessage* archive);
virtual status_t Archive(BMessage* archive,
bool deep = true) const;
virtual void SetEnabled(bool state);
protected:
virtual void GetContentSize(float* _width, float* _height);
virtual void Draw();
private:
// FBC padding, reserved and forbidden
virtual void _ReservedSeparatorItem1();
virtual void _ReservedSeparatorItem2();
BSeparatorItem& operator=(const BSeparatorItem& other);
uint32 _reserved[1];
};
#endif // _SEPARATOR_ITEM_H