2004-09-17 00:42:34 +04:00
|
|
|
/*
|
|
|
|
Open Tracker License
|
|
|
|
|
|
|
|
Terms and Conditions
|
|
|
|
|
|
|
|
Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
|
|
the Software without restriction, including without limitation the rights to
|
|
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
|
|
so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice applies to all licensees
|
|
|
|
and shall be included in all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
|
|
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
|
|
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
Except as contained in this notice, the name of Be Incorporated shall not be
|
|
|
|
used in advertising or otherwise to promote the sale, use or other dealings in
|
|
|
|
this Software without prior written authorization from Be Incorporated.
|
|
|
|
|
|
|
|
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
|
|
|
|
of Be Incorporated in the United States and other countries. Other brand product
|
|
|
|
names are registered trademarks or trademarks of their respective holders.
|
|
|
|
All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
/
|
|
|
|
/ File: ColumnListView.h
|
|
|
|
/
|
|
|
|
/ Description: Experimental multi-column list view.
|
|
|
|
/
|
|
|
|
/ Copyright 2000+, Be Incorporated, All Rights Reserved
|
|
|
|
/
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _COLUMN_LIST_VIEW_H
|
|
|
|
#define _COLUMN_LIST_VIEW_H
|
|
|
|
|
|
|
|
#include <BeBuild.h>
|
|
|
|
#include <View.h>
|
|
|
|
#include <List.h>
|
|
|
|
#include <Invoker.h>
|
|
|
|
#include <ListView.h>
|
|
|
|
|
|
|
|
class BScrollBar;
|
|
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
class OutlineView;
|
|
|
|
class TitleView;
|
|
|
|
class BRowContainer;
|
|
|
|
class RecursiveOutlineIterator;
|
|
|
|
|
|
|
|
} // ns BPrivate
|
|
|
|
|
|
|
|
class BField;
|
|
|
|
class BRow;
|
|
|
|
class BColumn;
|
|
|
|
class BColumnListView;
|
|
|
|
|
|
|
|
enum LatchType {
|
2009-03-31 23:02:04 +04:00
|
|
|
B_NO_LATCH = 0,
|
|
|
|
B_OPEN_LATCH = 1,
|
|
|
|
B_PRESSED_LATCH = 2,
|
|
|
|
B_CLOSED_LATCH = 3
|
2004-09-17 00:42:34 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef enum {
|
2009-03-31 23:02:04 +04:00
|
|
|
B_ALLOW_COLUMN_NONE = 0,
|
|
|
|
B_ALLOW_COLUMN_MOVE = 1,
|
|
|
|
B_ALLOW_COLUMN_RESIZE = 2,
|
|
|
|
B_ALLOW_COLUMN_POPUP = 4,
|
|
|
|
B_ALLOW_COLUMN_REMOVE = 8
|
2004-09-17 00:42:34 +04:00
|
|
|
} column_flags;
|
|
|
|
|
|
|
|
enum ColumnListViewColor {
|
2009-03-31 23:02:04 +04:00
|
|
|
B_COLOR_BACKGROUND = 0,
|
|
|
|
B_COLOR_TEXT = 1,
|
|
|
|
B_COLOR_ROW_DIVIDER = 2,
|
|
|
|
B_COLOR_SELECTION = 3,
|
|
|
|
B_COLOR_SELECTION_TEXT = 4,
|
|
|
|
B_COLOR_NON_FOCUS_SELECTION = 5,
|
|
|
|
B_COLOR_EDIT_BACKGROUND = 6,
|
|
|
|
B_COLOR_EDIT_TEXT = 7,
|
|
|
|
B_COLOR_HEADER_BACKGROUND = 8,
|
|
|
|
B_COLOR_HEADER_TEXT = 9,
|
2004-09-17 00:42:34 +04:00
|
|
|
B_COLOR_SEPARATOR_LINE = 10,
|
|
|
|
B_COLOR_SEPARATOR_BORDER = 11,
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
B_COLOR_TOTAL = 12
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ColumnListViewFont {
|
2009-03-31 23:02:04 +04:00
|
|
|
B_FONT_ROW = 0,
|
|
|
|
B_FONT_HEADER = 1,
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
B_FONT_TOTAL = 2
|
2004-09-17 00:42:34 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// A single row/column intersection in the list.
|
|
|
|
class BField {
|
|
|
|
public:
|
2009-03-31 23:02:04 +04:00
|
|
|
BField();
|
|
|
|
virtual ~BField();
|
2004-09-17 00:42:34 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
// A single line in the list. Each line contains a BField object
|
|
|
|
// for each column in the list, associated by their "logical field"
|
|
|
|
// index. Hierarchies are formed by adding other BRow objects as
|
|
|
|
// a parent of a row, using the AddRow() function in BColumnListView().
|
|
|
|
class BRow {
|
|
|
|
public:
|
2009-03-31 23:02:04 +04:00
|
|
|
BRow(float height = 16.0);
|
|
|
|
virtual ~BRow();
|
|
|
|
virtual bool HasLatch() const;
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
int32 CountFields() const;
|
|
|
|
BField* GetField(int32 logicalFieldIndex);
|
|
|
|
const BField* GetField(int32 logicalFieldIndex) const;
|
|
|
|
void SetField(BField* field,
|
|
|
|
int32 logicalFieldIndex);
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
float Height() const;
|
|
|
|
bool IsExpanded() const;
|
2013-01-03 20:02:21 +04:00
|
|
|
bool IsSelected() const;
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
private:
|
|
|
|
// Blows up into the debugger if the validation fails.
|
2009-03-31 23:02:04 +04:00
|
|
|
void ValidateFields() const;
|
|
|
|
void ValidateField(const BField* field,
|
|
|
|
int32 logicalFieldIndex) const;
|
2004-09-17 00:42:34 +04:00
|
|
|
private:
|
2009-03-31 23:02:04 +04:00
|
|
|
BList fFields;
|
|
|
|
BPrivate::
|
|
|
|
BRowContainer* fChildList;
|
|
|
|
bool fIsExpanded;
|
2009-05-09 22:47:19 +04:00
|
|
|
float fHeight;
|
2009-03-31 23:02:04 +04:00
|
|
|
BRow* fNextSelected;
|
|
|
|
BRow* fPrevSelected;
|
|
|
|
BRow* fParent;
|
|
|
|
BColumnListView* fList;
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
|
|
|
|
friend class BColumnListView;
|
|
|
|
friend class BPrivate::RecursiveOutlineIterator;
|
|
|
|
friend class BPrivate::OutlineView;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Information about a single column in the list. A column knows
|
|
|
|
// how to display the BField objects that occur at its location in
|
|
|
|
// each of the list's rows. See ColumnTypes.h for particular
|
|
|
|
// subclasses of BField and BColumn that handle common data types.
|
2009-03-31 23:02:04 +04:00
|
|
|
class BColumn {
|
2004-09-17 00:42:34 +04:00
|
|
|
public:
|
2009-03-31 23:02:04 +04:00
|
|
|
BColumn(float width, float minWidth,
|
|
|
|
float maxWidth,
|
|
|
|
alignment align = B_ALIGN_LEFT);
|
|
|
|
virtual ~BColumn();
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
float Width() const;
|
|
|
|
void SetWidth(float width);
|
|
|
|
float MinWidth() const;
|
|
|
|
float MaxWidth() const;
|
|
|
|
|
|
|
|
virtual void DrawTitle(BRect rect, BView* targetView);
|
|
|
|
virtual void DrawField(BField* field, BRect rect,
|
|
|
|
BView* targetView);
|
|
|
|
virtual int CompareFields(BField* field1, BField* field2);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual void MouseMoved(BColumnListView* parent, BRow* row,
|
|
|
|
BField* field, BRect fieldRect,
|
|
|
|
BPoint point, uint32 buttons, int32 code);
|
|
|
|
virtual void MouseDown(BColumnListView* parent, BRow* row,
|
|
|
|
BField* field, BRect fieldRect,
|
|
|
|
BPoint point, uint32 buttons);
|
|
|
|
virtual void MouseUp(BColumnListView* parent, BRow* row,
|
|
|
|
BField* field);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual void GetColumnName(BString* into) const;
|
|
|
|
virtual float GetPreferredWidth(BField* field,
|
|
|
|
BView* parent) const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
bool IsVisible() const;
|
|
|
|
void SetVisible(bool);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
bool WantsEvents() const;
|
|
|
|
void SetWantsEvents(bool);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
bool ShowHeading() const;
|
|
|
|
void SetShowHeading(bool);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
alignment Alignment() const;
|
|
|
|
void SetAlignment(alignment);
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
int32 LogicalFieldNum() const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
/*!
|
|
|
|
\param field The BField derivative to validate.
|
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
Implement this function on your BColumn derivatives to validate
|
|
|
|
BField derivatives that your BColumn will be drawing/manipulating.
|
|
|
|
|
|
|
|
This function will be called when BFields are added to the Column,
|
|
|
|
use dynamic_cast<> to determine if it is of a kind that your
|
|
|
|
BColumn know how ot handle. return false if it is not.
|
|
|
|
|
|
|
|
\note The debugger will be called if you return false from here
|
|
|
|
with information about what type of BField and BColumn and the
|
|
|
|
logical field index where it occured.
|
|
|
|
|
|
|
|
\note Do not call the inherited version of this, it just returns
|
2009-05-09 22:47:19 +04:00
|
|
|
true;
|
2004-09-17 00:42:34 +04:00
|
|
|
*/
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual bool AcceptsField(const BField* field) const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
private:
|
2009-03-31 23:02:04 +04:00
|
|
|
float fWidth;
|
|
|
|
float fMinWidth;
|
|
|
|
float fMaxWidth;
|
|
|
|
bool fVisible;
|
|
|
|
int32 fFieldID;
|
|
|
|
BColumnListView* fList;
|
|
|
|
bool fSortAscending;
|
|
|
|
bool fWantsEvents;
|
|
|
|
bool fShowHeading;
|
|
|
|
alignment fAlignment;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
friend class BPrivate::OutlineView;
|
|
|
|
friend class BColumnListView;
|
|
|
|
friend class BPrivate::TitleView;
|
2004-09-17 00:42:34 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
// The column list view class.
|
2009-03-31 23:02:04 +04:00
|
|
|
class BColumnListView : public BView, public BInvoker {
|
2004-09-17 00:42:34 +04:00
|
|
|
public:
|
2009-03-31 23:02:04 +04:00
|
|
|
BColumnListView(BRect rect,
|
2009-04-01 01:35:59 +04:00
|
|
|
const char* name, uint32 resizingMode,
|
|
|
|
uint32 flags, border_style = B_NO_BORDER,
|
2009-03-31 23:02:04 +04:00
|
|
|
bool showHorizontalScrollbar = true);
|
2009-04-01 16:35:06 +04:00
|
|
|
BColumnListView(const char* name,
|
|
|
|
uint32 flags, border_style = B_NO_BORDER,
|
|
|
|
bool showHorizontalScrollbar = true);
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual ~BColumnListView();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
// Interaction
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual bool InitiateDrag(BPoint, bool wasSelected);
|
|
|
|
virtual void MessageDropped(BMessage*, BPoint point);
|
|
|
|
virtual void ExpandOrCollapse(BRow* row, bool expand);
|
|
|
|
virtual status_t Invoke(BMessage* message = NULL);
|
|
|
|
virtual void ItemInvoked();
|
|
|
|
virtual void SetInvocationMessage(BMessage* message);
|
|
|
|
BMessage* InvocationMessage() const;
|
|
|
|
uint32 InvocationCommand() const;
|
|
|
|
BRow* FocusRow() const;
|
|
|
|
void SetFocusRow(int32 index, bool select = false);
|
|
|
|
void SetFocusRow(BRow* row, bool select = false);
|
|
|
|
void SetMouseTrackingEnabled(bool);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
|
|
|
// Selection
|
2009-03-31 23:02:04 +04:00
|
|
|
list_view_type SelectionMode() const;
|
|
|
|
void Deselect(BRow* row);
|
|
|
|
void AddToSelection(BRow* row);
|
|
|
|
void DeselectAll();
|
|
|
|
BRow* CurrentSelection(BRow* lastSelected = 0) const;
|
|
|
|
virtual void SelectionChanged();
|
|
|
|
virtual void SetSelectionMessage(BMessage* message);
|
|
|
|
BMessage* SelectionMessage();
|
|
|
|
uint32 SelectionCommand() const;
|
2009-05-09 22:47:19 +04:00
|
|
|
void SetSelectionMode(list_view_type type);
|
2009-03-31 23:02:04 +04:00
|
|
|
// list_view_type is defined in ListView.h.
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
// Sorting
|
2009-03-31 23:02:04 +04:00
|
|
|
void SetSortingEnabled(bool);
|
|
|
|
bool SortingEnabled() const;
|
|
|
|
void SetSortColumn(BColumn* column, bool add,
|
|
|
|
bool ascending);
|
|
|
|
void ClearSortColumns();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
// The status view is a little area in the lower left hand corner.
|
2009-03-31 23:02:04 +04:00
|
|
|
void AddStatusView(BView* view);
|
|
|
|
BView* RemoveStatusView();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2009-05-09 22:47:19 +04:00
|
|
|
// Column Manipulation
|
2009-03-31 23:02:04 +04:00
|
|
|
void AddColumn(BColumn* column,
|
|
|
|
int32 logicalFieldIndex);
|
|
|
|
void MoveColumn(BColumn* column, int32 index);
|
|
|
|
void RemoveColumn(BColumn* column);
|
|
|
|
int32 CountColumns() const;
|
|
|
|
BColumn* ColumnAt(int32 index) const;
|
2009-10-15 08:31:42 +04:00
|
|
|
BColumn* ColumnAt(BPoint point) const;
|
2009-03-31 23:02:04 +04:00
|
|
|
void SetColumnVisible(BColumn* column,
|
|
|
|
bool isVisible);
|
2009-05-09 22:47:19 +04:00
|
|
|
void SetColumnVisible(int32, bool);
|
2009-03-31 23:02:04 +04:00
|
|
|
bool IsColumnVisible(int32) const;
|
|
|
|
void SetColumnFlags(column_flags flags);
|
2009-05-09 22:47:19 +04:00
|
|
|
void ResizeColumnToPreferred(int32 index);
|
|
|
|
void ResizeAllColumnsToPreferred();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
// Row manipulation
|
2009-03-31 23:02:04 +04:00
|
|
|
const BRow* RowAt(int32 index, BRow *parent = 0) const;
|
|
|
|
BRow* RowAt(int32 index, BRow *parent = 0);
|
|
|
|
const BRow* RowAt(BPoint) const;
|
|
|
|
BRow* RowAt(BPoint);
|
|
|
|
bool GetRowRect(const BRow* row, BRect* _rect) const;
|
|
|
|
bool FindParent(BRow* row, BRow** _parent,
|
|
|
|
bool *_isVisible) const;
|
|
|
|
int32 IndexOf(BRow* row);
|
|
|
|
int32 CountRows(BRow* parent = 0) const;
|
|
|
|
void AddRow(BRow* row, BRow* parent = NULL);
|
|
|
|
void AddRow(BRow* row, int32 index,
|
|
|
|
BRow* parent = NULL);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
void ScrollTo(const BRow* Row);
|
|
|
|
void ScrollTo(BPoint point);
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
// Does not delete row or children at this time.
|
|
|
|
// todo: Make delete row and children
|
2009-03-31 23:02:04 +04:00
|
|
|
void RemoveRow(BRow* row);
|
|
|
|
void UpdateRow(BRow* row);
|
2013-01-03 20:02:21 +04:00
|
|
|
bool SwapRows(int32 index1, int32 index2, BRow*
|
|
|
|
parentRow1 = NULL, BRow* parentRow2 = NULL);
|
2009-03-31 23:02:04 +04:00
|
|
|
void Clear();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
|
|
|
// Appearance (DEPRECATED)
|
2009-03-31 23:02:04 +04:00
|
|
|
void GetFont(BFont* font) const
|
|
|
|
{ BView::GetFont(font); }
|
|
|
|
virtual void SetFont(const BFont* font,
|
|
|
|
uint32 mask = B_FONT_ALL);
|
|
|
|
virtual void SetHighColor(rgb_color);
|
|
|
|
void SetSelectionColor(rgb_color);
|
2009-05-09 22:47:19 +04:00
|
|
|
void SetBackgroundColor(rgb_color);
|
2009-03-31 23:02:04 +04:00
|
|
|
void SetEditColor(rgb_color);
|
|
|
|
const rgb_color SelectionColor() const;
|
|
|
|
const rgb_color BackgroundColor() const;
|
|
|
|
const rgb_color EditColor() const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
// Appearance (NEW STYLE)
|
2009-03-31 23:02:04 +04:00
|
|
|
void SetColor(ColumnListViewColor colorIndex,
|
|
|
|
rgb_color color);
|
|
|
|
void SetFont(ColumnListViewFont fontIndex,
|
|
|
|
const BFont* font,
|
|
|
|
uint32 mask = B_FONT_ALL);
|
|
|
|
rgb_color Color(ColumnListViewColor colorIndex) const;
|
|
|
|
void GetFont(ColumnListViewFont fontIndex,
|
|
|
|
BFont* font) const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
BPoint SuggestTextPosition(const BRow* row,
|
|
|
|
const BColumn* column = NULL) const;
|
2009-05-09 22:47:19 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
void SetLatchWidth(float width);
|
|
|
|
float LatchWidth() const;
|
|
|
|
virtual void DrawLatch(BView* view, BRect frame,
|
|
|
|
LatchType type, BRow* row);
|
|
|
|
virtual void MakeFocus(bool isfocus = true);
|
|
|
|
void SaveState(BMessage* archive);
|
|
|
|
void LoadState(BMessage* archive);
|
|
|
|
|
|
|
|
BView* ScrollView() const
|
|
|
|
{ return (BView*)fOutlineView; }
|
|
|
|
void SetEditMode(bool state);
|
|
|
|
void Refresh();
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2009-08-31 19:04:55 +04:00
|
|
|
virtual BSize MinSize();
|
|
|
|
virtual BSize PreferredSize();
|
|
|
|
virtual BSize MaxSize();
|
|
|
|
|
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
protected:
|
2009-03-31 23:02:04 +04:00
|
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
virtual void KeyDown(const char* bytes, int32 numBytes);
|
|
|
|
virtual void AttachedToWindow();
|
|
|
|
virtual void WindowActivated(bool active);
|
|
|
|
virtual void Draw(BRect updateRect);
|
2004-09-17 00:42:34 +04:00
|
|
|
|
2011-10-23 01:01:47 +04:00
|
|
|
virtual void LayoutInvalidated(bool descendants = false);
|
2009-04-01 16:35:06 +04:00
|
|
|
virtual void DoLayout();
|
|
|
|
|
2004-09-17 00:42:34 +04:00
|
|
|
private:
|
2012-07-21 03:32:04 +04:00
|
|
|
void _Init();
|
2009-04-01 16:35:06 +04:00
|
|
|
void _GetChildViewRects(const BRect& bounds,
|
|
|
|
BRect& titleRect, BRect& outlineRect,
|
|
|
|
BRect& vScrollBarRect,
|
|
|
|
BRect& hScrollBarRect);
|
2009-04-01 01:35:59 +04:00
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
rgb_color fColorList[B_COLOR_TOTAL];
|
|
|
|
BPrivate::TitleView* fTitleView;
|
|
|
|
BPrivate::OutlineView* fOutlineView;
|
|
|
|
BList fColumns;
|
|
|
|
BScrollBar* fHorizontalScrollBar;
|
|
|
|
BScrollBar* fVerticalScrollBar;
|
|
|
|
BList fSortColumns;
|
|
|
|
BView* fStatusView;
|
|
|
|
BMessage* fSelectionMessage;
|
|
|
|
bool fSortingEnabled;
|
|
|
|
float fLatchWidth;
|
|
|
|
border_style fBorderStyle;
|
2012-07-21 03:32:04 +04:00
|
|
|
bool fShowingHorizontalScrollBar;
|
2004-09-17 00:42:34 +04:00
|
|
|
};
|
|
|
|
|
2009-03-31 23:02:04 +04:00
|
|
|
#endif // _COLUMN_LIST_VIEW_H
|