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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006, Haiku Inc.
|
||||
* Copyright 2006, Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SPLIT_VIEW_H
|
||||
@@ -13,14 +13,15 @@ class BSplitLayout;
|
||||
class BSplitView : public BView {
|
||||
public:
|
||||
BSplitView(
|
||||
enum orientation orientation = B_HORIZONTAL,
|
||||
enum orientation orientation
|
||||
= B_HORIZONTAL,
|
||||
float spacing = 0.0f);
|
||||
virtual ~BSplitView();
|
||||
|
||||
void SetInsets(float left, float top, float right,
|
||||
float bottom);
|
||||
void GetInsets(float* left, float* top, float* right,
|
||||
float* bottom) const;
|
||||
void GetInsets(float* left, float* top,
|
||||
float* right, float* bottom) const;
|
||||
|
||||
float Spacing() const;
|
||||
void SetSpacing(float spacing);
|
||||
@@ -61,12 +62,14 @@ public:
|
||||
protected:
|
||||
virtual void DrawSplitter(BRect frame,
|
||||
const BRect& updateRect,
|
||||
enum orientation orientation, bool pressed);
|
||||
enum orientation orientation,
|
||||
bool pressed);
|
||||
|
||||
private:
|
||||
static void _DrawDefaultSplitter(BView* view, BRect frame,
|
||||
const BRect& updateRect,
|
||||
enum orientation orientation, bool pressed);
|
||||
enum orientation orientation,
|
||||
bool pressed);
|
||||
|
||||
private:
|
||||
BSplitLayout* fSplitLayout;
|
||||
|
||||
Reference in New Issue
Block a user