-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetListView.h
More file actions
22 lines (19 loc) · 752 Bytes
/
NetListView.h
File metadata and controls
22 lines (19 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*****************************************************************
* Copyright (c) 2005 Simon Taylor, Tim de Jong *
* *
* All rights reserved. *
* Distributed under the terms of the MIT License. *
*****************************************************************/
#ifndef _NET_LIST_VIEW_H_
#define _NET_LIST_VIEW_H_
#include <ListView.h>
class NetListView : public BListView
{
public:
NetListView(BRect frame, const char *name, list_view_type type = B_SINGLE_SELECTION_LIST, uint32 resizeMask = B_FOLLOW_LEFT, uint32 flags = B_WILL_DRAW);
virtual void FrameResized(float width, float height);
private:
static bool UpdateItem(BListItem* item, void* data);
float oldWidth;
};
#endif