Home | History | Annotate | Download | only in dab

Lines Matching defs:BOX

1 /*	$NetBSD: box.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $	*/
33 * Box computations
37 RCSID("$NetBSD: box.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $")
39 #include "box.h"
44 const POINT BOX::edges[BOX::last] =
46 const POINT BOX::corners[BOX::last] =
48 const int BOX::syms[BOX::last] =
52 BOX::BOX(size_t py, size_t px, BOARD& b) :
59 void BOX::addcorner(size_t y, size_t x)
87 // Paint a box
88 void BOX::paint(void)
97 for (e = BOX::first; e < BOX::last; e++) {
106 int& BOX::name(void)
112 void BOX::set(int e)
118 void BOX::clr(int e)
124 int BOX::isset(int e) const
130 int& BOX::edge(int e)
135 // Count the number of edges set in the box
136 int BOX::count(void) const
140 for (int e = BOX::first; e < BOX::last; e++)
145 // Clear the box
146 void BOX::reset(void)
148 for (int e = BOX::first; e < BOX::last; e++)