2006-07-16 19:39:23 +00:00
|
|
|
// $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:
|
2007-06-14 11:41:09 +00:00
|
|
|
TRInfoWindow(tr_stat_t *status, tr_info_t *info, const char *folder);
|
2006-07-16 19:39:23 +00:00
|
|
|
~TRInfoWindow();
|
|
|
|
|
|
|
|
virtual void FrameResized(float width, float height);
|
|
|
|
private:
|
|
|
|
void StringForFileSize(uint64_t size, BString *str);
|
|
|
|
|
|
|
|
BBox *fBox;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|