[DEV] update new e-property

This commit is contained in:
Edouard DUPIN 2016-02-24 22:31:46 +01:00
parent 3f5d2abc41
commit 499dfcffe6
5 changed files with 10 additions and 9 deletions

View File

@ -38,7 +38,7 @@
</rule> </rule>
<rule name="my type"> <rule name="my type">
<color>type</color> <color>type</color>
<regex>\b(void|bool|float|int|(vec|mat|ivect|bvect)[2-4])\b</regex> <regex>\b(void|bool|float|int|(vec|mat|ivec|bvec)[2-4])\b</regex>
</rule> </rule>
<rule name="my storage keyword"> <rule name="my storage keyword">
<color>storageKeyword</color> <color>storageKeyword</color>

View File

@ -1051,8 +1051,9 @@ namespace etk {
} }
}; };
#include <esignal/details/Signal.hxx> #include <esignal/details/ISignal.hxx>
// declare for signal event // declare for signal event
template class esignal::Signal<std::shared_ptr<appl::Buffer>>;
template class esignal::ISignal<std::shared_ptr<appl::Buffer>>; template class esignal::ISignal<std::shared_ptr<appl::Buffer>>;

View File

@ -282,7 +282,7 @@ void MainWindows::onCallbackMenuEvent(const std::string& _value) {
if (m_widgetSearch == nullptr) { if (m_widgetSearch == nullptr) {
return; return;
} }
if (m_widgetSearch->propertyHide == true) { if (m_widgetSearch->propertyHide.get() == true) {
m_widgetSearch->propertyHide.set(false); m_widgetSearch->propertyHide.set(false);
m_widgetSearch->selectSearch(); m_widgetSearch->selectSearch();
} else { } else {
@ -302,7 +302,7 @@ void MainWindows::onCallbackMenuEvent(const std::string& _value) {
if (m_widgetSearch == nullptr) { if (m_widgetSearch == nullptr) {
return; return;
} }
if (m_widgetSearch->propertyHide == true) { if (m_widgetSearch->propertyHide.get() == true) {
m_widgetSearch->propertyHide.set(false); m_widgetSearch->propertyHide.set(false);
m_widgetSearch->selectReplace(); m_widgetSearch->selectReplace();
} else { } else {

View File

@ -94,7 +94,7 @@ void appl::TextViewer::onCallbackselectNewFile(const std::string& _value) {
// reset scroll: // reset scroll:
if (m_buffer != nullptr) { if (m_buffer != nullptr) {
m_buffer->signalUnBindAll(shared_from_this()); m_buffer->signalDisconnect(shared_from_this());
bool needAdd = true; bool needAdd = true;
auto it = m_drawingRemenber.begin(); auto it = m_drawingRemenber.begin();
while (it != m_drawingRemenber.end()) { while (it != m_drawingRemenber.end()) {

View File

@ -54,7 +54,7 @@ bool globals::isSetDisplayEndOfLine() {
} }
void globals::setDisplayEndOfLine(bool newVal) { void globals::setDisplayEndOfLine(bool newVal) {
l_obj().m_displayEOL = newVal; l_obj().m_displayEOL.set(newVal);
//ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange); //ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange);
} }
@ -64,7 +64,7 @@ bool globals::isSetDisplaySpaceChar() {
} }
void globals::setDisplaySpaceChar(bool _newVal) { void globals::setDisplaySpaceChar(bool _newVal) {
l_obj().m_displaySpaceChar = _newVal; l_obj().m_displaySpaceChar.set(_newVal);
//ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange); //ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange);
} }
// ----------------------------------------------------------- // -----------------------------------------------------------
@ -73,7 +73,7 @@ bool globals::isSetDisplayTabChar() {
} }
void globals::setDisplayTabChar(bool _newVal) { void globals::setDisplayTabChar(bool _newVal) {
l_obj().m_displayTabChar = _newVal; l_obj().m_displayTabChar.set(_newVal);
//ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange); //ewol::widgetMessageMultiCast::Send(-1, ednMsgUserDisplayChange);
} }
@ -83,7 +83,7 @@ bool globals::isSetAutoIndent() {
} }
void globals::setAutoIndent(bool _newVal) { void globals::setAutoIndent(bool _newVal) {
l_obj().m_AutoIndent = _newVal; l_obj().m_AutoIndent.set(_newVal);
} }
// ----------------------------------------------------------- // -----------------------------------------------------------