DUDS
Distributed Update of Data from Something
Panel.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of the DUDS project. It is subject to the BSD-style
3  * license terms in the LICENSE file found in the top-level directory of this
4  * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
5  * No part of DUDS, including this file, may be copied, modified, propagated,
6  * or distributed except according to the terms contained in the LICENSE file.
7  *
8  * Copyright (C) 2020 Jeff Jackowski
9  */
11 
12 namespace duds { namespace ui { namespace graphics {
13 
14 void Panel::added(PriorityGridLayout *, unsigned int) { }
15 
16 void Panel::removing(PriorityGridLayout *, unsigned int) { }
17 
19  ImageLocation &,
21  PanelMargins &,
22  int
23 ) {
24  return nullptr;
25 }
26 
27 } } }
Stores a location within an image.
Definition: BppImage.hpp:33
A way to place Panel objects dynamically with a priority mechanism to allow panels to be resized and ...
Stores the dimensions of an image.
Definition: BppImage.hpp:125
virtual const BppImage * render(ImageLocation &, ImageDimensions &, PanelMargins &, int)
Just returns nullptr.
Definition: Panel.cpp:18
virtual void added(PriorityGridLayout *pgl, unsigned int pri)
Informs the panel that it is being added to a layout.
Definition: Panel.cpp:14
virtual void removing(PriorityGridLayout *pgl, unsigned int pri)
Informs the panel that it is being removed from a layout.
Definition: Panel.cpp:16
General graphics related code.
Definition: HD44780.hpp:15
Defines the size of a margin bordering a panel; the size of the margin is included in computations fo...
Definition: Panel.hpp:23
An image that uses a single bit to represent the state of each pixel; a black or white picture...
Definition: BppImage.hpp:321