You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
782 B
C++
30 lines
782 B
C++
5 years ago
|
#include <ncpp/Plane.hh>
|
||
5 years ago
|
#include <ncpp/Reel.hh>
|
||
5 years ago
|
#include <ncpp/NCBox.hh>
|
||
|
|
||
|
using namespace ncpp;
|
||
|
|
||
5 years ago
|
ncreel_options NcReel::default_options = {
|
||
5 years ago
|
/* min_supported_cols */ 0,
|
||
|
/* min_supported_rows */ 0,
|
||
|
/* max_supported_cols */ 0,
|
||
|
/* max_supported_rows */ 0,
|
||
|
/* toff */ 0,
|
||
|
/* roff */ 0,
|
||
|
/* boff */ 0,
|
||
|
/* loff */ 0,
|
||
|
/* infinitescroll */ false,
|
||
|
/* circular */ false,
|
||
|
/* bordermask */ NCBox::MaskBottom | NCBox::MaskTop | NCBox::MaskRight | NCBox::MaskLeft,
|
||
|
/* borderchan */ 0,
|
||
|
/* tabletmask */ 0,
|
||
|
/* tabletchan */ 0,
|
||
|
/* focusedchan */ 0,
|
||
|
/* bgchannel */ 0,
|
||
|
};
|
||
|
|
||
5 years ago
|
Plane* NcReel::get_plane () const noexcept
|
||
5 years ago
|
{
|
||
5 years ago
|
return Plane::map_plane (ncreel_plane (reel));
|
||
5 years ago
|
}
|