haiku/headers/libs/print/libprint/PagesView.h
Karsten Heimrich 12fd6cc2e7 * move libprint sources into libs, as it is a 3rdparty lib
* move libprint headers into libs headers folder accordingly
* merge all shared folders sources into kits print, we might build later on a
  real print kit, propably also to access cups from an nicely API, atm static
* move all shared headers into private print, also pr_server.h from interface
* adjust build to work with the changed folder layout



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-22 20:30:14 +00:00

32 lines
565 B
C++

/*
* PagesView.h
* Copyright 2005 Michael Pfeiffer. All Rights Reserved.
*/
#ifndef _PAGES_VIEW_H
#define _PAGES_VIEW_H
#include <View.h>
class PagesView : public BView
{
public:
PagesView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
void GetPreferredSize(float *width, float *height);
void Draw(BRect rect);
void setCollate(bool collate);
void setReverse(bool reverse);
private:
void DrawPages(BPoint position, int number, int count);
void DrawPage(BPoint position, int number);
bool fCollate;
bool fReverse;
};
#endif