MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / geCellTextState

Method geCellTextState

candatagrid.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56GridTextState CANDataGrid::geCellTextState(int x, int y)
57{
58 if (x < 0) return GridTextState::NORMAL;
59 if (x > 7) return GridTextState::NORMAL;
60 if (y < 0) return GridTextState::NORMAL;
61 if (y > 7) return GridTextState::NORMAL;
62 return textStates[x][y];
63}
64
65void CANDataGrid::paintEvent(QPaintEvent *event)
66{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected