/usr/include/cwidget/widgets/center.h is in libcwidget-dev 0.5.17-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | // center.h -*-c++-*-
//
// A simple container/layout widget which centers its child in itself.
#ifndef CENTER_H
#define CENTER_H
#include "bin.h"
namespace cwidget
{
namespace widgets
{
class center:public bin
{
void layout_me();
protected:
center(const widget_ref &w = NULL);
public:
static util::ref_ptr<center> create(const widget_ref &w = NULL)
{
util::ref_ptr<center> rval(new center(w));
rval->decref();
return rval;
}
int width_request();
int height_request(int width);
};
typedef util::ref_ptr<center> center_ref;
}
}
#endif
|