mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-14 08:53:43 +02:00
cc_item_text: add global mutex
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "cc_text_screen.h"
|
||||
#include <gui/widget/textbox.h>
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
|
||||
//! Sub class of CComponentsItem. Shows a text box.
|
||||
/*!
|
||||
@@ -76,6 +77,8 @@ class CComponentsText : public CCTextScreen, public CComponentsItem
|
||||
///helper: convert int to string
|
||||
static std::string iToString(int int_val); //helper to convert int to string
|
||||
|
||||
std::mutex ct_mutex;
|
||||
|
||||
///initialize all required attributes
|
||||
void initVarText( const int x_pos, const int y_pos, const int w, const int h,
|
||||
std::string text,
|
||||
|
Reference in New Issue
Block a user