mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
24 lines
450 B
C++
24 lines
450 B
C++
// $Id$
|
|
|
|
#ifndef TR_INFO_WIND
|
|
#define TR_INFO_WIND
|
|
|
|
#include <Box.h>
|
|
#include <Window.h>
|
|
#include <StringView.h>
|
|
|
|
#include <libtransmission/transmission.h>
|
|
|
|
class TRInfoWindow : public BWindow {
|
|
public:
|
|
TRInfoWindow(const tr_stat_t *status, const tr_info_t *info, const char *folder);
|
|
~TRInfoWindow();
|
|
|
|
virtual void FrameResized(float width, float height);
|
|
private:
|
|
void StringForFileSize(uint64_t size, BString *str);
|
|
|
|
BBox *fBox;
|
|
};
|
|
|
|
#endif
|