+ setDefaultValues
This commit is contained in:
parent
a42af25abc
commit
051f366411
@ -8,11 +8,12 @@
|
|||||||
// NOLINT
|
// NOLINT
|
||||||
void initialize(int pid) {
|
void initialize(int pid) {
|
||||||
impl.sharedMemoryPid = pid;
|
impl.sharedMemoryPid = pid;
|
||||||
|
|
||||||
impl.sharedMemoryKey = 12345;// NOLINT
|
impl.sharedMemoryKey = 12345;// NOLINT
|
||||||
|
|
||||||
impl.sharedMemorySize = 8000;// NOLINT
|
impl.sharedMemorySize = 8000;// NOLINT
|
||||||
|
setDefaultValues();
|
||||||
|
}
|
||||||
|
|
||||||
|
void setDefaultValues(){
|
||||||
if(getSharedMemory() != nullptr) {
|
if(getSharedMemory() != nullptr) {
|
||||||
//set default values
|
//set default values
|
||||||
setCharactersPerRow(60);// NOLINT
|
setCharactersPerRow(60);// NOLINT
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
*/
|
*/
|
||||||
void initialize(int pid);
|
void initialize(int pid);
|
||||||
|
|
||||||
|
void setDefaultValues();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set pixel at a x,y position to a certain color.
|
* set pixel at a x,y position to a certain color.
|
||||||
* @param x x coordinate of pixel
|
* @param x x coordinate of pixel
|
||||||
|
Loading…
Reference in New Issue
Block a user