Source Code (Use browser search to find items of interest.)
Class Index
ksirtet'BlockInfo (./kdegames/ksirtet/gpiece.h:50)
class BlockInfo : public QCanvas
{
public:
BlockInfo(uint width, uint height, const SequenceArray &);
const SequenceArray &sequences() const { return _sequences; }
private:
const SequenceArray &_sequences;
};
//-----------------------------------------------------------------------------
ksirtet'BlockInfo::BlockInfo() (./kdegames/ksirtet/gpiece.cpp:70)
BlockInfo::BlockInfo(uint w, uint h, const SequenceArray &s)
: _sequences(s)
{
// #### set tuning ??
resize(w*s.blockWidth(), h*s.blockHeight());
setBackgroundColor(black);
}
//-----------------------------------------------------------------------------