25 lines
384 B
C
25 lines
384 B
C
![]() |
// $Id$
|
||
|
|
||
|
#ifndef TR_INFO_WIND
|
||
|
#define TR_INFO_WIND
|
||
|
|
||
|
#include <Box.h>
|
||
|
#include <Window.h>
|
||
|
#include <StringView.h>
|
||
|
|
||
|
#include "transmission.h"
|
||
|
|
||
|
class TRInfoWindow : public BWindow {
|
||
|
public:
|
||
|
TRInfoWindow(tr_stat_t status);
|
||
|
~TRInfoWindow();
|
||
|
|
||
|
virtual void FrameResized(float width, float height);
|
||
|
private:
|
||
|
void StringForFileSize(uint64_t size, BString *str);
|
||
|
|
||
|
BBox *fBox;
|
||
|
};
|
||
|
|
||
|
#endif
|