diff --git a/NexButton.cpp b/NexButton.cpp index 5d92d3ce..675d5e32 100755 --- a/NexButton.cpp +++ b/NexButton.cpp @@ -55,7 +55,7 @@ bool NexButton::setText(const char *buffer) } -uint32_t NexButton::Get_background_color_bco(uint32_t *number) +bool NexButton::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -75,15 +75,10 @@ bool NexButton::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_press_background_color_bco2(uint32_t *number) +bool NexButton::Get_press_background_color_bco2(uint32_t *number) { String cmd; cmd += "get "; @@ -103,15 +98,10 @@ bool NexButton::Set_press_background_color_bco2(uint32_t number) cmd += ".bco2="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_font_color_pco(uint32_t *number) +bool NexButton::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -131,15 +121,10 @@ bool NexButton::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_press_font_color_pco2(uint32_t *number) +bool NexButton::Get_press_font_color_pco2(uint32_t *number) { String cmd; cmd += "get "; @@ -159,15 +144,10 @@ bool NexButton::Set_press_font_color_pco2(uint32_t number) cmd += ".pco2="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_place_xcen(uint32_t *number) +bool NexButton::Get_place_xcen(uint32_t *number) { String cmd; cmd += "get "; @@ -187,15 +167,10 @@ bool NexButton::Set_place_xcen(uint32_t number) cmd += ".xcen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_place_ycen(uint32_t *number) +bool NexButton::Get_place_ycen(uint32_t *number) { String cmd; cmd += "get "; @@ -215,15 +190,10 @@ bool NexButton::Set_place_ycen(uint32_t number) cmd += ".ycen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::getFont(uint32_t *number) +bool NexButton::getFont(uint32_t *number) { String cmd; cmd += "get "; @@ -243,15 +213,10 @@ bool NexButton::setFont(uint32_t number) cmd += ".font="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_background_cropi_picc(uint32_t *number) +bool NexButton::Get_background_cropi_picc(uint32_t *number) { String cmd; cmd += "get "; @@ -271,15 +236,10 @@ bool NexButton::Set_background_crop_picc(uint32_t number) cmd += ".picc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_press_background_crop_picc2(uint32_t *number) +bool NexButton::Get_press_background_crop_picc2(uint32_t *number) { String cmd; cmd += "get "; @@ -299,15 +259,10 @@ bool NexButton::Set_press_background_crop_picc2(uint32_t number) cmd += ".picc2="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_background_image_pic(uint32_t *number) +bool NexButton::Get_background_image_pic(uint32_t *number) { String cmd; cmd += "get "; @@ -327,15 +282,10 @@ bool NexButton::Set_background_image_pic(uint32_t number) cmd += ".pic="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexButton::Get_press_background_image_pic2(uint32_t *number) +bool NexButton::Get_press_background_image_pic2(uint32_t *number) { String cmd; cmd += "get "; @@ -355,10 +305,5 @@ bool NexButton::Set_press_background_image_pic2(uint32_t number) cmd += ".pic2="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/NexButton.h b/NexButton.h index 1e827a32..320c8f2e 100755 --- a/NexButton.h +++ b/NexButton.h @@ -77,9 +77,9 @@ class NexButton: public NexTouch * Get bco attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -93,9 +93,9 @@ class NexButton: public NexTouch * Get bco2 attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_press_background_color_bco2(uint32_t *number); + bool Get_press_background_color_bco2(uint32_t *number); /** * Set bco2 attribute of component @@ -109,9 +109,9 @@ class NexButton: public NexTouch * Get pco attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -125,9 +125,9 @@ class NexButton: public NexTouch * Get pco2 attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_press_font_color_pco2(uint32_t *number); + bool Get_press_font_color_pco2(uint32_t *number); /** * Set pco2 attribute of component @@ -141,9 +141,9 @@ class NexButton: public NexTouch * Get xcen attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_place_xcen(uint32_t *number); + bool Get_place_xcen(uint32_t *number); /** * Set xcen attribute of component @@ -157,9 +157,9 @@ class NexButton: public NexTouch * Get ycen attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_place_ycen(uint32_t *number); + bool Get_place_ycen(uint32_t *number); /** * Set ycen attribute of component @@ -173,9 +173,9 @@ class NexButton: public NexTouch * Get font attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t getFont(uint32_t *number); + bool getFont(uint32_t *number); /** * Set font attribute of component @@ -189,9 +189,9 @@ class NexButton: public NexTouch * Get picc attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_cropi_picc(uint32_t *number); + bool Get_background_cropi_picc(uint32_t *number); /** * Set picc attribute of component @@ -205,9 +205,9 @@ class NexButton: public NexTouch * Get picc2 attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_press_background_crop_picc2(uint32_t *number); + bool Get_press_background_crop_picc2(uint32_t *number); /** * Set picc2 attribute of component @@ -221,9 +221,9 @@ class NexButton: public NexTouch * Get pic attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_image_pic(uint32_t *number); + bool Get_background_image_pic(uint32_t *number); /** * Set pic attribute of component @@ -237,9 +237,9 @@ class NexButton: public NexTouch * Get pic2 attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_press_background_image_pic2(uint32_t *number); + bool Get_press_background_image_pic2(uint32_t *number); /** * Set pic2 attribute of component diff --git a/NexCheckbox.cpp b/NexCheckbox.cpp index 4b03b47d..088d5ed4 100755 --- a/NexCheckbox.cpp +++ b/NexCheckbox.cpp @@ -21,7 +21,7 @@ NexCheckbox::NexCheckbox(uint8_t pid, uint8_t cid, const char *name, const NexOb { } -uint32_t NexCheckbox::getValue(uint32_t *number) +bool NexCheckbox::getValue(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -44,7 +44,7 @@ bool NexCheckbox::setValue(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexCheckbox::Get_background_color_bco(uint32_t *number) +bool NexCheckbox::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -64,15 +64,10 @@ bool NexCheckbox::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexCheckbox::Get_font_color_pco(uint32_t *number) +bool NexCheckbox::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -92,10 +87,5 @@ bool NexCheckbox::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } \ No newline at end of file diff --git a/NexCheckbox.h b/NexCheckbox.h index 23e848f7..e85e16ba 100755 --- a/NexCheckbox.h +++ b/NexCheckbox.h @@ -46,9 +46,9 @@ class NexCheckbox: public NexTouch * Get val attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getValue(uint32_t *number); + bool getValue(uint32_t *number); /** * Set val attribute of component @@ -62,9 +62,9 @@ class NexCheckbox: public NexTouch * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -78,9 +78,9 @@ class NexCheckbox: public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component diff --git a/NexDualStateButton.cpp b/NexDualStateButton.cpp index 270fa9f1..381cf932 100755 --- a/NexDualStateButton.cpp +++ b/NexDualStateButton.cpp @@ -77,7 +77,7 @@ bool NexDSButton::setText(const char *buffer) return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state0_color_bco0(uint32_t *number) +bool NexDSButton::Get_state0_color_bco0(uint32_t *number) { String cmd; cmd += "get "; @@ -97,15 +97,10 @@ bool NexDSButton::Set_state0_color_bco0(uint32_t number) cmd += ".bco0="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state1_color_bco1(uint32_t *number) +bool NexDSButton::Get_state1_color_bco1(uint32_t *number) { String cmd; cmd += "get "; @@ -125,15 +120,10 @@ bool NexDSButton::Set_state1_color_bco1(uint32_t number) cmd += ".bco1="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_font_color_pco(uint32_t *number) +bool NexDSButton::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -153,15 +143,10 @@ bool NexDSButton::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_place_xcen(uint32_t *number) +bool NexDSButton::Get_place_xcen(uint32_t *number) { String cmd; cmd += "get "; @@ -181,15 +166,10 @@ bool NexDSButton::Set_place_xcen(uint32_t number) cmd += ".xcen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_place_ycen(uint32_t *number) +bool NexDSButton::Get_place_ycen(uint32_t *number) { String cmd; cmd += "get "; @@ -209,15 +189,10 @@ bool NexDSButton::Set_place_ycen(uint32_t number) cmd += ".ycen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::getFont(uint32_t *number) +bool NexDSButton::getFont(uint32_t *number) { String cmd; cmd += "get "; @@ -237,15 +212,10 @@ bool NexDSButton::setFont(uint32_t number) cmd += ".font="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state0_crop_picc0(uint32_t *number) +bool NexDSButton::Get_state0_crop_picc0(uint32_t *number) { String cmd; cmd += "get "; @@ -265,15 +235,10 @@ bool NexDSButton::Set_state0_crop_picc0(uint32_t number) cmd += ".picc0="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state1_crop_picc1(uint32_t *number) +bool NexDSButton::Get_state1_crop_picc1(uint32_t *number) { String cmd; cmd += "get "; @@ -293,15 +258,10 @@ bool NexDSButton::Set_state1_crop_picc1(uint32_t number) cmd += ".picc1="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state0_image_pic0(uint32_t *number) +bool NexDSButton::Get_state0_image_pic0(uint32_t *number) { String cmd; cmd += "get "; @@ -321,15 +281,10 @@ bool NexDSButton::Set_state0_image_pic0(uint32_t number) cmd += ".pic0="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexDSButton::Get_state1_image_pic1(uint32_t *number) +bool NexDSButton::Get_state1_image_pic1(uint32_t *number) { String cmd; cmd += "get "; @@ -349,11 +304,6 @@ bool NexDSButton::Set_state1_image_pic1(uint32_t number) cmd += ".pic1="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/NexDualStateButton.h b/NexDualStateButton.h index d0d5e159..8ba3d40a 100755 --- a/NexDualStateButton.h +++ b/NexDualStateButton.h @@ -91,9 +91,9 @@ class NexDSButton: public NexTouch * Get bco0 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state0_color_bco0(uint32_t *number); + bool Get_state0_color_bco0(uint32_t *number); /** * Set bco0 attribute of component @@ -107,9 +107,9 @@ class NexDSButton: public NexTouch * Get bco1 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state1_color_bco1(uint32_t *number); + bool Get_state1_color_bco1(uint32_t *number); /** * Set bco1 attribute of component @@ -123,9 +123,9 @@ class NexDSButton: public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -139,9 +139,9 @@ class NexDSButton: public NexTouch * Get xcen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_xcen(uint32_t *number); + bool Get_place_xcen(uint32_t *number); /** * Set xcen attribute of component @@ -155,9 +155,9 @@ class NexDSButton: public NexTouch * Get ycen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_ycen(uint32_t *number); + bool Get_place_ycen(uint32_t *number); /** * Set ycen attribute of component @@ -171,9 +171,9 @@ class NexDSButton: public NexTouch * Get font attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getFont(uint32_t *number); + bool getFont(uint32_t *number); /** * Set font attribute of component @@ -187,9 +187,9 @@ class NexDSButton: public NexTouch * Get picc0 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state0_crop_picc0(uint32_t *number); + bool Get_state0_crop_picc0(uint32_t *number); /** * Set picc0 attribute of component @@ -203,9 +203,9 @@ class NexDSButton: public NexTouch * Get picc1 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state1_crop_picc1(uint32_t *number); + bool Get_state1_crop_picc1(uint32_t *number); /** * Set picc1 attribute of component @@ -219,9 +219,9 @@ class NexDSButton: public NexTouch * Get pic0 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state0_image_pic0(uint32_t *number); + bool Get_state0_image_pic0(uint32_t *number); /** * Set pic0 attribute of component @@ -235,9 +235,9 @@ class NexDSButton: public NexTouch * Get pic1 attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_state1_image_pic1(uint32_t *number); + bool Get_state1_image_pic1(uint32_t *number); /** * Set pic1 attribute of component diff --git a/NexGauge.cpp b/NexGauge.cpp index 002e0d91..4baefca0 100755 --- a/NexGauge.cpp +++ b/NexGauge.cpp @@ -45,7 +45,7 @@ bool NexGauge::setValue(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexGauge::Get_background_color_bco(uint32_t *number) +bool NexGauge::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -65,15 +65,10 @@ bool NexGauge::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexGauge::Get_font_color_pco(uint32_t *number) +bool NexGauge::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -92,16 +87,10 @@ bool NexGauge::Set_font_color_pco(uint32_t number) getObjGlobalPageName(cmd); cmd += ".pco="; cmd += buf; - sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexGauge::Get_pointer_thickness_wid(uint32_t *number) +bool NexGauge::Get_pointer_thickness_wid(uint32_t *number) { String cmd; cmd += "get "; @@ -121,15 +110,10 @@ bool NexGauge::Set_pointer_thickness_wid(uint32_t number) cmd += ".wid="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexGauge::Get_background_cropi_picc(uint32_t *number) +bool NexGauge::Get_background_cropi_picc(uint32_t *number) { String cmd; cmd += "get "; @@ -149,11 +133,6 @@ bool NexGauge::Set_background_crop_picc(uint32_t number) cmd += ".picc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/NexGauge.h b/NexGauge.h index 19f17554..95c02593 100755 --- a/NexGauge.h +++ b/NexGauge.h @@ -60,9 +60,9 @@ class NexGauge: public NexObject * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -76,9 +76,9 @@ class NexGauge: public NexObject * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -92,9 +92,9 @@ class NexGauge: public NexObject * Get wid attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_pointer_thickness_wid(uint32_t *number); + bool Get_pointer_thickness_wid(uint32_t *number); /** * Set wid attribute of component @@ -108,9 +108,9 @@ class NexGauge: public NexObject * Get picc attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_cropi_picc(uint32_t *number); + bool Get_background_cropi_picc(uint32_t *number); /** * Set picc attribute of component diff --git a/NexNumber.cpp b/NexNumber.cpp index 93a6521e..b2145567 100755 --- a/NexNumber.cpp +++ b/NexNumber.cpp @@ -44,7 +44,7 @@ bool NexNumber::setValue(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexNumber::Get_background_color_bco(uint32_t *number) +bool NexNumber::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -64,15 +64,10 @@ bool NexNumber::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_font_color_pco(uint32_t *number) +bool NexNumber::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -92,15 +87,10 @@ bool NexNumber::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_place_xcen(uint32_t *number) +bool NexNumber::Get_place_xcen(uint32_t *number) { String cmd; cmd += "get "; @@ -120,15 +110,10 @@ bool NexNumber::Set_place_xcen(uint32_t number) cmd += ".xcen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_place_ycen(uint32_t *number) +bool NexNumber::Get_place_ycen(uint32_t *number) { String cmd; cmd += "get "; @@ -148,15 +133,10 @@ bool NexNumber::Set_place_ycen(uint32_t number) cmd += ".ycen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::getFont(uint32_t *number) +bool NexNumber::getFont(uint32_t *number) { String cmd; cmd += "get "; @@ -176,15 +156,10 @@ bool NexNumber::setFont(uint32_t number) cmd += ".font="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_number_lenth(uint32_t *number) +bool NexNumber::Get_number_lenth(uint32_t *number) { String cmd; cmd += "get "; @@ -205,14 +180,10 @@ bool NexNumber::Set_number_lenth(uint32_t number) cmd += buf; sendCommand(cmd.c_str()); - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_background_crop_picc(uint32_t *number) +bool NexNumber::Get_background_crop_picc(uint32_t *number) { String cmd; cmd += "get "; @@ -232,15 +203,10 @@ bool NexNumber::Set_background_crop_picc(uint32_t number) cmd += ".picc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexNumber::Get_background_image_pic(uint32_t *number) +bool NexNumber::Get_background_image_pic(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -259,10 +225,5 @@ bool NexNumber::Set_background_image_pic(uint32_t number) cmd += ".pic="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } \ No newline at end of file diff --git a/NexNumber.h b/NexNumber.h index 487f5482..15b30f05 100755 --- a/NexNumber.h +++ b/NexNumber.h @@ -56,9 +56,9 @@ class NexNumber: public NexTouch * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -72,9 +72,9 @@ class NexNumber: public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -88,9 +88,9 @@ class NexNumber: public NexTouch * Get xcen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_xcen(uint32_t *number); + bool Get_place_xcen(uint32_t *number); /** * Set xcen attribute of component @@ -104,9 +104,9 @@ class NexNumber: public NexTouch * Get ycen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_ycen(uint32_t *number); + bool Get_place_ycen(uint32_t *number); /** * Set ycen attribute of component @@ -120,9 +120,9 @@ class NexNumber: public NexTouch * Get font attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getFont(uint32_t *number); + bool getFont(uint32_t *number); /** * Set font attribute of component @@ -136,9 +136,9 @@ class NexNumber: public NexTouch * Get lenth attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_number_lenth(uint32_t *number); + bool Get_number_lenth(uint32_t *number); /** * Set lenth attribute of component @@ -152,9 +152,9 @@ class NexNumber: public NexTouch * Get picc attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_crop_picc(uint32_t *number); + bool Get_background_crop_picc(uint32_t *number); /** * Set picc attribute of component @@ -168,9 +168,9 @@ class NexNumber: public NexTouch * Get pic attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_image_pic(uint32_t *number); + bool Get_background_image_pic(uint32_t *number); /** * Set pic attribute of component diff --git a/NexObject.cpp b/NexObject.cpp index 4cddd24c..1f9dbf96 100644 --- a/NexObject.cpp +++ b/NexObject.cpp @@ -120,3 +120,10 @@ bool NexObject::setVisible(bool visible) return recvRetCommandFinished(); } +bool NexObject::refresh() +{ + String cmd = String("ref "); + cmd += __name; + sendCommand(cmd.c_str()); + return recvRetCommandFinished(); +} \ No newline at end of file diff --git a/NexObject.h b/NexObject.h index eb9a7f68..44fad288 100644 --- a/NexObject.h +++ b/NexObject.h @@ -74,6 +74,13 @@ class NexObject */ bool setVisible(bool visible); + /** + * Refresh componen on current page + * + * @return true if success, false for failure + */ + bool refresh(); + protected: /* methods */ /* diff --git a/NexPicture.cpp b/NexPicture.cpp index 421a2801..204426ff 100755 --- a/NexPicture.cpp +++ b/NexPicture.cpp @@ -40,7 +40,6 @@ bool NexPicture::Set_background_image_pic(uint32_t number) getObjGlobalPageName(cmd); cmd += ".pic="; cmd += buf; - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -63,7 +62,6 @@ bool NexPicture::setPic(uint32_t number) getObjGlobalPageName(cmd); cmd += ".pic="; cmd += buf; - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/NexProgressBar.cpp b/NexProgressBar.cpp index 8294eda0..d4137ee0 100755 --- a/NexProgressBar.cpp +++ b/NexProgressBar.cpp @@ -45,7 +45,7 @@ bool NexProgressBar::setValue(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexProgressBar::Get_background_color_bco(uint32_t *number) +bool NexProgressBar::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -73,7 +73,7 @@ bool NexProgressBar::Set_background_color_bco(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexProgressBar::Get_font_color_pco(uint32_t *number) +bool NexProgressBar::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; diff --git a/NexProgressBar.h b/NexProgressBar.h index 21124749..ac313c9d 100755 --- a/NexProgressBar.h +++ b/NexProgressBar.h @@ -60,9 +60,9 @@ class NexProgressBar: public NexObject * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -76,9 +76,9 @@ class NexProgressBar: public NexObject * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component diff --git a/NexRadio.cpp b/NexRadio.cpp index 90e1dce3..a6a5299e 100755 --- a/NexRadio.cpp +++ b/NexRadio.cpp @@ -21,7 +21,7 @@ NexRadio::NexRadio(uint8_t pid, uint8_t cid, const char *name, const NexObject* { } -uint32_t NexRadio::getValue(uint32_t *number) +bool NexRadio::getValue(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -44,7 +44,7 @@ bool NexRadio::setValue(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexRadio::Get_background_color_bco(uint32_t *number) +bool NexRadio::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -72,7 +72,7 @@ bool NexRadio::Set_background_color_bco(uint32_t number) return recvRetCommandFinished(); } -uint32_t NexRadio::Get_font_color_pco(uint32_t *number) +bool NexRadio::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; diff --git a/NexRadio.h b/NexRadio.h index 8a08ae7b..e765c970 100755 --- a/NexRadio.h +++ b/NexRadio.h @@ -46,9 +46,9 @@ class NexRadio:public NexTouch * Get val attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getValue(uint32_t *number); + bool getValue(uint32_t *number); /** * Set val attribute of component @@ -62,9 +62,9 @@ class NexRadio:public NexTouch * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -78,9 +78,9 @@ class NexRadio:public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component diff --git a/NexScrolltext.cpp b/NexScrolltext.cpp index 0bfa4bac..e5af4047 100755 --- a/NexScrolltext.cpp +++ b/NexScrolltext.cpp @@ -53,7 +53,7 @@ bool NexScrolltext::setText(const char *buffer) return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_background_color_bco(uint32_t *number) +bool NexScrolltext::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -73,15 +73,10 @@ bool NexScrolltext::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_font_color_pco(uint32_t *number) +bool NexScrolltext::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -101,15 +96,10 @@ bool NexScrolltext::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_place_xcen(uint32_t *number) +bool NexScrolltext::Get_place_xcen(uint32_t *number) { String cmd; cmd += "get "; @@ -129,15 +119,10 @@ bool NexScrolltext::Set_place_xcen(uint32_t number) cmd += ".xcen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_place_ycen(uint32_t *number) +bool NexScrolltext::Get_place_ycen(uint32_t *number) { String cmd; cmd += "get "; @@ -157,15 +142,10 @@ bool NexScrolltext::Set_place_ycen(uint32_t number) cmd += ".ycen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::getFont(uint32_t *number) +bool NexScrolltext::getFont(uint32_t *number) { String cmd; cmd += "get "; @@ -185,15 +165,10 @@ bool NexScrolltext::setFont(uint32_t number) cmd += ".font="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_background_crop_picc(uint32_t *number) +bool NexScrolltext::Get_background_crop_picc(uint32_t *number) { String cmd; cmd += "get "; @@ -213,15 +188,10 @@ bool NexScrolltext::Set_background_crop_picc(uint32_t number) cmd += ".picc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_background_image_pic(uint32_t *number) +bool NexScrolltext::Get_background_image_pic(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -240,15 +210,10 @@ bool NexScrolltext::Set_background_image_pic(uint32_t number) cmd += ".pic="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_scroll_dir(uint32_t *number) +bool NexScrolltext::Get_scroll_dir(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -267,15 +232,10 @@ bool NexScrolltext::Set_scroll_dir(uint32_t number) cmd += ".dir="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_scroll_distance(uint32_t *number) +bool NexScrolltext::Get_scroll_distance(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -298,15 +258,10 @@ bool NexScrolltext::Set_scroll_distance(uint32_t number) cmd += ".dis="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexScrolltext::Get_cycle_tim(uint32_t *number) +bool NexScrolltext::Get_cycle_tim(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); @@ -328,11 +283,6 @@ bool NexScrolltext::Set_cycle_tim(uint32_t number) cmd += ".tim="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/NexScrolltext.h b/NexScrolltext.h index 5d40a046..6d8e63de 100755 --- a/NexScrolltext.h +++ b/NexScrolltext.h @@ -70,9 +70,9 @@ class NexScrolltext: public NexTouch * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -86,9 +86,9 @@ class NexScrolltext: public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -102,9 +102,9 @@ class NexScrolltext: public NexTouch * Get xcen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_xcen(uint32_t *number); + bool Get_place_xcen(uint32_t *number); /** * Set xcen attribute of component @@ -118,9 +118,9 @@ class NexScrolltext: public NexTouch * Get ycen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_place_ycen(uint32_t *number); + bool Get_place_ycen(uint32_t *number); /** * Set ycen attribute of component @@ -134,9 +134,9 @@ class NexScrolltext: public NexTouch * Get font attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getFont(uint32_t *number); + bool getFont(uint32_t *number); /** * Set font attribute of component @@ -150,9 +150,9 @@ class NexScrolltext: public NexTouch * Get picc attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_crop_picc(uint32_t *number); + bool Get_background_crop_picc(uint32_t *number); /** * Set picc attribute of component @@ -166,9 +166,9 @@ class NexScrolltext: public NexTouch * Get pic attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_image_pic(uint32_t *number); + bool Get_background_image_pic(uint32_t *number); /** * Set pic attribute of component @@ -182,9 +182,9 @@ class NexScrolltext: public NexTouch * Get dir attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_scroll_dir(uint32_t *number); + bool Get_scroll_dir(uint32_t *number); /** * Set dir attribute of component @@ -198,9 +198,9 @@ class NexScrolltext: public NexTouch * Get dis attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_scroll_distance(uint32_t *number); + bool Get_scroll_distance(uint32_t *number); /** * Set dis attribute of component @@ -214,9 +214,9 @@ class NexScrolltext: public NexTouch * Get tim attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_cycle_tim(uint32_t *number); + bool Get_cycle_tim(uint32_t *number); /** * Set tim attribute of component diff --git a/NexSlider.cpp b/NexSlider.cpp index b8369c8d..15f534bb 100755 --- a/NexSlider.cpp +++ b/NexSlider.cpp @@ -64,11 +64,6 @@ bool NexSlider::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -92,11 +87,6 @@ bool NexSlider::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -120,11 +110,6 @@ bool NexSlider::Set_pointer_thickness_wid(uint32_t number) cmd += ".wid="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -148,11 +133,6 @@ bool NexSlider::Set_cursor_height_hig(uint32_t number) cmd += ".hig="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -176,11 +156,6 @@ bool NexSlider::setMaxval(uint32_t number) cmd += ".maxval="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -204,15 +179,10 @@ bool NexSlider::setMinval(uint32_t number) cmd += ".minval="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexSlider::Get_background_image_pic(uint32_t *number) +bool NexSlider::Get_background_image_pic(uint32_t *number) { String cmd; cmd += "get "; @@ -232,10 +202,28 @@ bool NexSlider::Set_background_image_pic(uint32_t number) cmd += ".pic="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; + return recvRetCommandFinished(); +} + +bool NexSlider::Get_background_image_picc(uint32_t *number) +{ + String cmd; + cmd += "get "; + getObjGlobalPageName(cmd); + cmd += ".picc"; + sendCommand(cmd.c_str()); + return recvRetNumber(number); +} + +bool NexSlider::Set_background_image_picc(uint32_t number) +{ + char buf[10] = {0}; + String cmd; + + utoa(number, buf, 10); getObjGlobalPageName(cmd); + cmd += ".picc="; + cmd += buf; sendCommand(cmd.c_str()); return recvRetCommandFinished(); } \ No newline at end of file diff --git a/NexSlider.h b/NexSlider.h index d5e20868..140cc601 100755 --- a/NexSlider.h +++ b/NexSlider.h @@ -156,9 +156,9 @@ class NexSlider: public NexTouch * Get pic attribute of component * * @param number - buffer storing data return - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_background_image_pic(uint32_t *number); + bool Get_background_image_pic(uint32_t *number); /** * Set pic attribute of component @@ -166,7 +166,23 @@ class NexSlider: public NexTouch * @param number - To set up the data * @return true if success, false for failure */ - bool Set_background_image_pic(uint32_t number); + bool Set_background_image_pic(uint32_t number); + + /** + * Get crop image picc attribute of component + * + * @param number - buffer storing data return + * @return true if success, false for failure + */ + bool Get_background_image_picc(uint32_t *number); + + /** + * Set crop image picc attribute of component + * + * @param number - To set up the data + * @return true if success, false for failure + */ + bool Set_background_image_picc(uint32_t number); }; /** * @} diff --git a/NexText.cpp b/NexText.cpp index 210fa68c..fe281f5e 100755 --- a/NexText.cpp +++ b/NexText.cpp @@ -64,7 +64,7 @@ bool NexText::appendText(const char *buffer) return recvRetCommandFinished(); } -uint32_t NexText::Get_background_color_bco(uint32_t *number) +bool NexText::Get_background_color_bco(uint32_t *number) { String cmd; cmd += "get "; @@ -84,15 +84,10 @@ bool NexText::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::Get_font_color_pco(uint32_t *number) +bool NexText::Get_font_color_pco(uint32_t *number) { String cmd; cmd += "get "; @@ -112,15 +107,10 @@ bool NexText::Set_font_color_pco(uint32_t number) cmd += ".pco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::Get_place_xcen(uint32_t *number) +bool NexText::Get_place_xcen(uint32_t *number) { String cmd; cmd += "get "; @@ -140,15 +130,10 @@ bool NexText::Set_place_xcen(uint32_t number) cmd += ".xcen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::Get_place_ycen(uint32_t *number) +bool NexText::Get_place_ycen(uint32_t *number) { String cmd; cmd += "get "; @@ -168,15 +153,10 @@ bool NexText::Set_place_ycen(uint32_t number) cmd += ".ycen="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::getFont(uint32_t *number) +bool NexText::getFont(uint32_t *number) { String cmd; cmd += "get "; @@ -196,15 +176,10 @@ bool NexText::setFont(uint32_t number) cmd += ".font="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::Get_background_crop_picc(uint32_t *number) +bool NexText::Get_background_crop_picc(uint32_t *number) { String cmd; cmd += "get "; @@ -224,15 +199,10 @@ bool NexText::Set_background_crop_picc(uint32_t number) cmd += ".picc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd = ""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } -uint32_t NexText::Get_background_image_pic(uint32_t *number) +bool NexText::Get_background_image_pic(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); diff --git a/NexText.h b/NexText.h index 21c5096c..dd7c672a 100755 --- a/NexText.h +++ b/NexText.h @@ -78,9 +78,9 @@ class NexText : public NexTouch * Get bco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_color_bco(uint32_t *number); + bool Get_background_color_bco(uint32_t *number); /** * Set bco attribute of component @@ -94,9 +94,9 @@ class NexText : public NexTouch * Get pco attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_font_color_pco(uint32_t *number); + bool Get_font_color_pco(uint32_t *number); /** * Set pco attribute of component @@ -110,9 +110,9 @@ class NexText : public NexTouch * Get xcen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_place_xcen(uint32_t *number); + bool Get_place_xcen(uint32_t *number); /** * Set xcen attribute of component @@ -126,9 +126,9 @@ class NexText : public NexTouch * Get ycen attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_place_ycen(uint32_t *number); + bool Get_place_ycen(uint32_t *number); /** * Set ycen attribute of component @@ -142,9 +142,9 @@ class NexText : public NexTouch * Get font attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t getFont(uint32_t *number); + bool getFont(uint32_t *number); /** * Set font attribute of component @@ -158,9 +158,9 @@ class NexText : public NexTouch * Get picc attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_crop_picc(uint32_t *number); + bool Get_background_crop_picc(uint32_t *number); /** * Set picc attribute of component @@ -174,9 +174,9 @@ class NexText : public NexTouch * Get pic attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure. */ - uint32_t Get_background_image_pic(uint32_t *number); + bool Get_background_image_pic(uint32_t *number); /** * Set pic attribute of component diff --git a/NexTimer.cpp b/NexTimer.cpp index b66789fa..58008920 100755 --- a/NexTimer.cpp +++ b/NexTimer.cpp @@ -85,7 +85,7 @@ bool NexTimer::disable(void) return recvRetCommandFinished(); } -uint32_t NexTimer::Get_cycle_tim(uint32_t *number) +bool NexTimer::Get_cycle_tim(uint32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); diff --git a/NexTimer.h b/NexTimer.h index 9b4f7a2f..89626ab8 100755 --- a/NexTimer.h +++ b/NexTimer.h @@ -101,9 +101,9 @@ class NexTimer: public NexTouch * Get tim attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t Get_cycle_tim(uint32_t *number); + bool Get_cycle_tim(uint32_t *number); /** * Set tim attribute of component diff --git a/NexUpload.cpp b/NexUpload.cpp index cf786315..88ff28fb 100644 --- a/NexUpload.cpp +++ b/NexUpload.cpp @@ -91,7 +91,7 @@ bool NexUpload::_checkFile(void) if(!SD.begin(_SD_chip_select)) { dbSerialPrintln("init sd failed"); - return 0; + return false; } if(!SD.exists(_file_name)) { @@ -102,7 +102,7 @@ bool NexUpload::_checkFile(void) dbSerialPrintln("tft file size is:"); dbSerialPrintln(_undownloadByte); dbSerialPrintln("check file ok"); - return 1; + return true; } bool NexUpload::_searchBaudrate(uint32_t baudrate) @@ -114,9 +114,9 @@ bool NexUpload::_searchBaudrate(uint32_t baudrate) this->recvRetString(string); if(string.indexOf("comok") != -1) { - return 1; + return true; } - return 0; + return false; } void NexUpload::sendCommand(const char* cmd) @@ -184,9 +184,9 @@ bool NexUpload::_setDownloadBaudrate(uint32_t baudrate) this->recvRetString(string,500); if(string.indexOf(0x05) != -1) { - return 1; + return true; } - return 0; + return false; } bool NexUpload::_downloadTftFile(void) @@ -232,9 +232,10 @@ bool NexUpload::_downloadTftFile(void) } else { - return 0; + return false; } --send_timer; - } + } + return true; } diff --git a/NexVariable.cpp b/NexVariable.cpp index 8995d4c1..371aa1d3 100755 --- a/NexVariable.cpp +++ b/NexVariable.cpp @@ -21,7 +21,7 @@ NexVariable::NexVariable(uint8_t pid, uint8_t cid, const char *name, const NexOb { } -uint32_t NexVariable::getValue(int32_t *number) +bool NexVariable::getValue(int32_t *number) { String cmd = String("get "); getObjGlobalPageName(cmd); diff --git a/NexVariable.h b/NexVariable.h index b11ce148..80954ad0 100755 --- a/NexVariable.h +++ b/NexVariable.h @@ -76,9 +76,9 @@ class NexVariable: public NexTouch * Get val attribute of component * * @param number - buffer storing data retur - * @return the length of the data + * @return true if success, false for failure */ - uint32_t getValue(int32_t *number); + bool getValue(int32_t *number); /** * Set val attribute of component diff --git a/NexWaveform.cpp b/NexWaveform.cpp index b156d0b1..39980990 100755 --- a/NexWaveform.cpp +++ b/NexWaveform.cpp @@ -57,11 +57,6 @@ bool NexWaveform::Set_background_color_bco(uint32_t number) cmd += ".bco="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -85,11 +80,6 @@ bool NexWaveform::Set_grid_color_gdc(uint32_t number) cmd += ".gdc="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -113,11 +103,6 @@ bool NexWaveform::Set_grid_width_gdw(uint32_t number) cmd += ".gdw="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -141,11 +126,6 @@ bool NexWaveform::Set_grid_height_gdh(uint32_t number) cmd += ".gdh="; cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } @@ -176,11 +156,6 @@ bool NexWaveform::Set_channel_color(uint8_t ch, uint32_t number) utoa(number, buf, 10); cmd += buf; sendCommand(cmd.c_str()); - - cmd=""; - cmd += "ref "; - getObjGlobalPageName(cmd); - sendCommand(cmd.c_str()); return recvRetCommandFinished(); } diff --git a/html/class_nex_button.html b/html/class_nex_button.html index 4d04d141..0f136730 100755 --- a/html/class_nex_button.html +++ b/html/class_nex_button.html @@ -258,7 +258,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -282,7 +282,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -306,7 +306,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -330,7 +330,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -354,7 +354,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -378,7 +378,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -402,7 +402,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -426,7 +426,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -450,7 +450,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -474,7 +474,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -498,7 +498,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_checkbox.html b/html/class_nex_checkbox.html index 5be5a487..5d106e91 100755 --- a/html/class_nex_checkbox.html +++ b/html/class_nex_checkbox.html @@ -222,7 +222,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -246,7 +246,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -270,7 +270,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_d_s_button.html b/html/class_nex_d_s_button.html index 50112ee6..7d07d5d2 100755 --- a/html/class_nex_d_s_button.html +++ b/html/class_nex_d_s_button.html @@ -258,7 +258,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -282,7 +282,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -306,7 +306,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -330,7 +330,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -354,7 +354,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -378,7 +378,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -402,7 +402,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -426,7 +426,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -450,7 +450,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -474,7 +474,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_gauge.html b/html/class_nex_gauge.html index 526e5b15..ec4777b5 100755 --- a/html/class_nex_gauge.html +++ b/html/class_nex_gauge.html @@ -212,7 +212,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -236,7 +236,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -260,7 +260,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -284,7 +284,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_number.html b/html/class_nex_number.html index 69b014c1..127796c0 100755 --- a/html/class_nex_number.html +++ b/html/class_nex_number.html @@ -244,7 +244,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -268,7 +268,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -292,7 +292,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -316,7 +316,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -340,7 +340,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -364,7 +364,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -388,7 +388,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -412,7 +412,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_progress_bar.html b/html/class_nex_progress_bar.html index b68b1e77..35bfede6 100755 --- a/html/class_nex_progress_bar.html +++ b/html/class_nex_progress_bar.html @@ -204,7 +204,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -228,7 +228,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_radio.html b/html/class_nex_radio.html index f53e1fae..9ca0926e 100755 --- a/html/class_nex_radio.html +++ b/html/class_nex_radio.html @@ -222,7 +222,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -246,7 +246,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -270,7 +270,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_scrolltext.html b/html/class_nex_scrolltext.html index 22209fac..6bb654d3 100755 --- a/html/class_nex_scrolltext.html +++ b/html/class_nex_scrolltext.html @@ -258,7 +258,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -282,7 +282,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -306,7 +306,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -330,7 +330,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -354,7 +354,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -378,7 +378,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -402,7 +402,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -426,7 +426,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -450,7 +450,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -474,7 +474,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_slider.html b/html/class_nex_slider.html index 44041327..69334014 100755 --- a/html/class_nex_slider.html +++ b/html/class_nex_slider.html @@ -236,7 +236,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -260,7 +260,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -284,7 +284,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -308,7 +308,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -332,7 +332,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -356,7 +356,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_text.html b/html/class_nex_text.html index 260eccb9..b4439b39 100755 --- a/html/class_nex_text.html +++ b/html/class_nex_text.html @@ -240,7 +240,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -264,7 +264,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -288,7 +288,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -312,7 +312,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -336,7 +336,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -360,7 +360,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -384,7 +384,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_timer.html b/html/class_nex_timer.html index 13458b95..183eb43a 100755 --- a/html/class_nex_timer.html +++ b/html/class_nex_timer.html @@ -327,7 +327,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_variable.html b/html/class_nex_variable.html index 85bfcd55..7f893ff3 100755 --- a/html/class_nex_variable.html +++ b/html/class_nex_variable.html @@ -253,7 +253,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/html/class_nex_waveform.html b/html/class_nex_waveform.html index baca455a..61878dd9 100755 --- a/html/class_nex_waveform.html +++ b/html/class_nex_waveform.html @@ -255,7 +255,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -279,7 +279,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -303,7 +303,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -327,7 +327,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
@@ -351,7 +351,7 @@

Member Function Documentation

-
Returns
the length of the data
+
Returns
true if success, false for failure
diff --git a/latex/class_nex_button.tex b/latex/class_nex_button.tex index d85a4173..3e8a58e9 100755 --- a/latex/class_nex_button.tex +++ b/latex/class_nex_button.tex @@ -120,7 +120,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_a4be9d316efb2e3c537fdbcbc74c5597c}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+background\+\_\+cropi\+\_\+picc@{Get\+\_\+background\+\_\+cropi\+\_\+picc}} \index{Get\+\_\+background\+\_\+cropi\+\_\+picc@{Get\+\_\+background\+\_\+cropi\+\_\+picc}!Nex\+Button@{Nex\+Button}} @@ -137,7 +137,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_a81c5a95583a9561f4a188b3e3e082280}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}} \index{Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}!Nex\+Button@{Nex\+Button}} @@ -154,7 +154,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_a51b1b698696d7d4969ebb21754bb7e4d}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Button@{Nex\+Button}} @@ -171,7 +171,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_ab970c6e27b5d1d9082b0b3bf47ed9d47}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}} \index{Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}!Nex\+Button@{Nex\+Button}} @@ -188,7 +188,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_aea0a8ea4e9a28ae3769414f2532483e9}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}} \index{Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}!Nex\+Button@{Nex\+Button}} @@ -205,7 +205,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_abb5a765ca9079944757480a9fda1a6ac}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+press\+\_\+background\+\_\+color\+\_\+bco2@{Get\+\_\+press\+\_\+background\+\_\+color\+\_\+bco2}} \index{Get\+\_\+press\+\_\+background\+\_\+color\+\_\+bco2@{Get\+\_\+press\+\_\+background\+\_\+color\+\_\+bco2}!Nex\+Button@{Nex\+Button}} @@ -222,7 +222,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_ab85cad116c12d13fef9fcfb7dd7ae32e}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+press\+\_\+background\+\_\+crop\+\_\+picc2@{Get\+\_\+press\+\_\+background\+\_\+crop\+\_\+picc2}} \index{Get\+\_\+press\+\_\+background\+\_\+crop\+\_\+picc2@{Get\+\_\+press\+\_\+background\+\_\+crop\+\_\+picc2}!Nex\+Button@{Nex\+Button}} @@ -239,7 +239,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_afce48613e87933b48e3b29901633c341}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+press\+\_\+background\+\_\+image\+\_\+pic2@{Get\+\_\+press\+\_\+background\+\_\+image\+\_\+pic2}} \index{Get\+\_\+press\+\_\+background\+\_\+image\+\_\+pic2@{Get\+\_\+press\+\_\+background\+\_\+image\+\_\+pic2}!Nex\+Button@{Nex\+Button}} @@ -256,7 +256,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_a970789126a0781810f499ae064fed942}{\index{Nex\+Button@{Nex\+Button}!Get\+\_\+press\+\_\+font\+\_\+color\+\_\+pco2@{Get\+\_\+press\+\_\+font\+\_\+color\+\_\+pco2}} \index{Get\+\_\+press\+\_\+font\+\_\+color\+\_\+pco2@{Get\+\_\+press\+\_\+font\+\_\+color\+\_\+pco2}!Nex\+Button@{Nex\+Button}} @@ -273,7 +273,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_aba350b47585e53ece6c5f6a83fe58698}{\index{Nex\+Button@{Nex\+Button}!get\+Font@{get\+Font}} \index{get\+Font@{get\+Font}!Nex\+Button@{Nex\+Button}} @@ -290,7 +290,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_button_a5ba1f74aa94b41b98172e42583ee13d6}{\index{Nex\+Button@{Nex\+Button}!get\+Text@{get\+Text}} \index{get\+Text@{get\+Text}!Nex\+Button@{Nex\+Button}} diff --git a/latex/class_nex_checkbox.tex b/latex/class_nex_checkbox.tex index f7d0a7de..57c1d2a0 100755 --- a/latex/class_nex_checkbox.tex +++ b/latex/class_nex_checkbox.tex @@ -84,7 +84,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_checkbox_a93fbcf8796f156e6700ebf3e13abfce6}{\index{Nex\+Checkbox@{Nex\+Checkbox}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Checkbox@{Nex\+Checkbox}} @@ -101,7 +101,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_checkbox_a6832110a49f9bbbb14a54f36db020d44}{\index{Nex\+Checkbox@{Nex\+Checkbox}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Checkbox@{Nex\+Checkbox}} @@ -118,7 +118,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_checkbox_ab430ba5908c84fea8ab910002581350a}{\index{Nex\+Checkbox@{Nex\+Checkbox}!Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}} \index{Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}!Nex\+Checkbox@{Nex\+Checkbox}} diff --git a/latex/class_nex_d_s_button.tex b/latex/class_nex_d_s_button.tex index f7c921f8..1555ef0e 100755 --- a/latex/class_nex_d_s_button.tex +++ b/latex/class_nex_d_s_button.tex @@ -120,7 +120,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_ae65ba8eab275c097fa1f9e7f8873dc5d}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}} \index{Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -137,7 +137,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_a2b5c825ceaeeaa588b4830da4f154b23}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}} \index{Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -154,7 +154,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_a57119c8695b1dc562319b19864b68203}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state0\+\_\+color\+\_\+bco0@{Get\+\_\+state0\+\_\+color\+\_\+bco0}} \index{Get\+\_\+state0\+\_\+color\+\_\+bco0@{Get\+\_\+state0\+\_\+color\+\_\+bco0}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -171,7 +171,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_aa48f68183cdbb94e376f1ca0367a2f2c}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state0\+\_\+crop\+\_\+picc0@{Get\+\_\+state0\+\_\+crop\+\_\+picc0}} \index{Get\+\_\+state0\+\_\+crop\+\_\+picc0@{Get\+\_\+state0\+\_\+crop\+\_\+picc0}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -188,7 +188,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_a8382bc9350b8e589d1ae5da684a0e907}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state0\+\_\+image\+\_\+pic0@{Get\+\_\+state0\+\_\+image\+\_\+pic0}} \index{Get\+\_\+state0\+\_\+image\+\_\+pic0@{Get\+\_\+state0\+\_\+image\+\_\+pic0}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -205,7 +205,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_aa4ce6ec7a670af2df6bd5858ea20e430}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state1\+\_\+color\+\_\+bco1@{Get\+\_\+state1\+\_\+color\+\_\+bco1}} \index{Get\+\_\+state1\+\_\+color\+\_\+bco1@{Get\+\_\+state1\+\_\+color\+\_\+bco1}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -222,7 +222,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_a9b24e1ec4677bc8ec921ede2e36c4db6}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state1\+\_\+crop\+\_\+picc1@{Get\+\_\+state1\+\_\+crop\+\_\+picc1}} \index{Get\+\_\+state1\+\_\+crop\+\_\+picc1@{Get\+\_\+state1\+\_\+crop\+\_\+picc1}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -239,7 +239,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_ab52951034a07ac78a9bde09c0bae4514}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!Get\+\_\+state1\+\_\+image\+\_\+pic1@{Get\+\_\+state1\+\_\+image\+\_\+pic1}} \index{Get\+\_\+state1\+\_\+image\+\_\+pic1@{Get\+\_\+state1\+\_\+image\+\_\+pic1}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -256,7 +256,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_a3010cd4aa559a30088ad9bf987003adc}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!get\+Font@{get\+Font}} \index{get\+Font@{get\+Font}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} @@ -273,7 +273,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_d_s_button_aff0f17061441139bf8797c78e4911eae}{\index{Nex\+D\+S\+Button@{Nex\+D\+S\+Button}!get\+Text@{get\+Text}} \index{get\+Text@{get\+Text}!Nex\+D\+S\+Button@{Nex\+D\+S\+Button}} diff --git a/latex/class_nex_gauge.tex b/latex/class_nex_gauge.tex index 2fac026d..d4debabd 100755 --- a/latex/class_nex_gauge.tex +++ b/latex/class_nex_gauge.tex @@ -85,7 +85,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_gauge_a0a6b394a16b03beb6046ec3795d409fe}{\index{Nex\+Gauge@{Nex\+Gauge}!Get\+\_\+background\+\_\+cropi\+\_\+picc@{Get\+\_\+background\+\_\+cropi\+\_\+picc}} \index{Get\+\_\+background\+\_\+cropi\+\_\+picc@{Get\+\_\+background\+\_\+cropi\+\_\+picc}!Nex\+Gauge@{Nex\+Gauge}} @@ -102,7 +102,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_gauge_a830152d58485d55f475376261d52ff62}{\index{Nex\+Gauge@{Nex\+Gauge}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Gauge@{Nex\+Gauge}} @@ -119,7 +119,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_gauge_a50b4daf1b8dfb3cc5c329a3664341e11}{\index{Nex\+Gauge@{Nex\+Gauge}!Get\+\_\+pointer\+\_\+thickness\+\_\+wid@{Get\+\_\+pointer\+\_\+thickness\+\_\+wid}} \index{Get\+\_\+pointer\+\_\+thickness\+\_\+wid@{Get\+\_\+pointer\+\_\+thickness\+\_\+wid}!Nex\+Gauge@{Nex\+Gauge}} @@ -136,7 +136,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_gauge_aeea8933513ebba11584ad97f8c8b5e69}{\index{Nex\+Gauge@{Nex\+Gauge}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Gauge@{Nex\+Gauge}} diff --git a/latex/class_nex_number.tex b/latex/class_nex_number.tex index ee4470f0..fc4f7adb 100755 --- a/latex/class_nex_number.tex +++ b/latex/class_nex_number.tex @@ -101,7 +101,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a9772a6717c19c5a03ea0e33ff71492d9}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}} \index{Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}!Nex\+Number@{Nex\+Number}} @@ -118,7 +118,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a9f235a8929b4f6c282511c04c88216c1}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}} \index{Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}!Nex\+Number@{Nex\+Number}} @@ -135,7 +135,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a7eb3fba2bfa2fff8df8e7e0f633f9cf9}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Number@{Nex\+Number}} @@ -152,7 +152,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a0dfc73db91229f114e502bc14084e711}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+number\+\_\+lenth@{Get\+\_\+number\+\_\+lenth}} \index{Get\+\_\+number\+\_\+lenth@{Get\+\_\+number\+\_\+lenth}!Nex\+Number@{Nex\+Number}} @@ -169,7 +169,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a7ca05534f06911218bae6606ccc355fa}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}} \index{Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}!Nex\+Number@{Nex\+Number}} @@ -186,7 +186,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_ac8f0cef0d04e72bb864f6da88f028c9f}{\index{Nex\+Number@{Nex\+Number}!Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}} \index{Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}!Nex\+Number@{Nex\+Number}} @@ -203,7 +203,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_a8ccd35555397e828cf8b1f0a8e9ba294}{\index{Nex\+Number@{Nex\+Number}!get\+Font@{get\+Font}} \index{get\+Font@{get\+Font}!Nex\+Number@{Nex\+Number}} @@ -220,7 +220,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_number_ad184ed818666ec482efddf840185c7b8}{\index{Nex\+Number@{Nex\+Number}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Number@{Nex\+Number}} diff --git a/latex/class_nex_progress_bar.tex b/latex/class_nex_progress_bar.tex index e5f65540..059099e2 100755 --- a/latex/class_nex_progress_bar.tex +++ b/latex/class_nex_progress_bar.tex @@ -77,7 +77,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_progress_bar_aa148721b86c5f56c6321780da3ef974f}{\index{Nex\+Progress\+Bar@{Nex\+Progress\+Bar}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Progress\+Bar@{Nex\+Progress\+Bar}} @@ -94,7 +94,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_progress_bar_a3e5eb13b2aa014c8f6a9e16439917bf2}{\index{Nex\+Progress\+Bar@{Nex\+Progress\+Bar}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Progress\+Bar@{Nex\+Progress\+Bar}} diff --git a/latex/class_nex_radio.tex b/latex/class_nex_radio.tex index 974f3911..52d64df9 100755 --- a/latex/class_nex_radio.tex +++ b/latex/class_nex_radio.tex @@ -84,7 +84,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_radio_a7a052fb745dfea5fe6f341692eb0ca1a}{\index{Nex\+Radio@{Nex\+Radio}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Radio@{Nex\+Radio}} @@ -101,7 +101,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_radio_adb3672f10ce98ec7ad22f7b29a9ec0e6}{\index{Nex\+Radio@{Nex\+Radio}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Radio@{Nex\+Radio}} @@ -118,7 +118,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_radio_a7bbd252dc78876d0831badbe791dbbc8}{\index{Nex\+Radio@{Nex\+Radio}!Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}} \index{Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}!Nex\+Radio@{Nex\+Radio}} diff --git a/latex/class_nex_scrolltext.tex b/latex/class_nex_scrolltext.tex index 3e44c244..215bd641 100755 --- a/latex/class_nex_scrolltext.tex +++ b/latex/class_nex_scrolltext.tex @@ -115,7 +115,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a0d8e8997419f4d6460cc1e64f20cfb8c}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}} \index{Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -132,7 +132,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a86ffab21e76beed5d801c05b94da6150}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}} \index{Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -149,7 +149,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a5d881dcad2360b42327cf95f8e91955f}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+cycle\+\_\+tim@{Get\+\_\+cycle\+\_\+tim}} \index{Get\+\_\+cycle\+\_\+tim@{Get\+\_\+cycle\+\_\+tim}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -166,7 +166,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a266a3c44131eec0a40b1e12f6cf7d3a1}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -183,7 +183,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a066d8439ea088a7ef604abb87802add6}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}} \index{Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -200,7 +200,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a987a74978f764f74540c8ee0de200564}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}} \index{Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -217,7 +217,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a4a437ad158a3be51e61dd469b77ee450}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+scroll\+\_\+dir@{Get\+\_\+scroll\+\_\+dir}} \index{Get\+\_\+scroll\+\_\+dir@{Get\+\_\+scroll\+\_\+dir}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -234,7 +234,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a46ac65d7561b32fd4c5ac2f0aacf9bf1}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!Get\+\_\+scroll\+\_\+distance@{Get\+\_\+scroll\+\_\+distance}} \index{Get\+\_\+scroll\+\_\+distance@{Get\+\_\+scroll\+\_\+distance}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -251,7 +251,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a2caedb7b97a6028abedaf0b25f9c03e0}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!get\+Font@{get\+Font}} \index{get\+Font@{get\+Font}!Nex\+Scrolltext@{Nex\+Scrolltext}} @@ -268,7 +268,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_scrolltext_a7cead053146075e7c31d43349d4c897c}{\index{Nex\+Scrolltext@{Nex\+Scrolltext}!get\+Text@{get\+Text}} \index{get\+Text@{get\+Text}!Nex\+Scrolltext@{Nex\+Scrolltext}} diff --git a/latex/class_nex_slider.tex b/latex/class_nex_slider.tex index 839d3db5..5673d508 100755 --- a/latex/class_nex_slider.tex +++ b/latex/class_nex_slider.tex @@ -93,7 +93,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_a680c31b1aa2dc48a1193c9d8fb3cd487}{\index{Nex\+Slider@{Nex\+Slider}!Get\+\_\+cursor\+\_\+height\+\_\+hig@{Get\+\_\+cursor\+\_\+height\+\_\+hig}} \index{Get\+\_\+cursor\+\_\+height\+\_\+hig@{Get\+\_\+cursor\+\_\+height\+\_\+hig}!Nex\+Slider@{Nex\+Slider}} @@ -110,7 +110,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_aa6361627b3c66ee7a569b5cfec4ce562}{\index{Nex\+Slider@{Nex\+Slider}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Slider@{Nex\+Slider}} @@ -127,7 +127,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_a6adbc43b663e3542a92641c406db23ad}{\index{Nex\+Slider@{Nex\+Slider}!Get\+\_\+pointer\+\_\+thickness\+\_\+wid@{Get\+\_\+pointer\+\_\+thickness\+\_\+wid}} \index{Get\+\_\+pointer\+\_\+thickness\+\_\+wid@{Get\+\_\+pointer\+\_\+thickness\+\_\+wid}!Nex\+Slider@{Nex\+Slider}} @@ -144,7 +144,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_abf1b50605feb0ac2b381d1148795f0d9}{\index{Nex\+Slider@{Nex\+Slider}!get\+Maxval@{get\+Maxval}} \index{get\+Maxval@{get\+Maxval}!Nex\+Slider@{Nex\+Slider}} @@ -161,7 +161,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_ab98752f15d56dc04de102c0c2180ea11}{\index{Nex\+Slider@{Nex\+Slider}!get\+Minval@{get\+Minval}} \index{get\+Minval@{get\+Minval}!Nex\+Slider@{Nex\+Slider}} @@ -178,7 +178,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_slider_a384d5488b421efd6affbfd32f45bb107}{\index{Nex\+Slider@{Nex\+Slider}!get\+Value@{get\+Value}} \index{get\+Value@{get\+Value}!Nex\+Slider@{Nex\+Slider}} diff --git a/latex/class_nex_text.tex b/latex/class_nex_text.tex index 49293dc1..da3e53fe 100755 --- a/latex/class_nex_text.tex +++ b/latex/class_nex_text.tex @@ -97,7 +97,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_ae44393fb20ba449bf088dbd0758b4219}{\index{Nex\+Text@{Nex\+Text}!Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}} \index{Get\+\_\+background\+\_\+crop\+\_\+picc@{Get\+\_\+background\+\_\+crop\+\_\+picc}!Nex\+Text@{Nex\+Text}} @@ -114,7 +114,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_aed07b3988fe2c4ec332727bb245e49a5}{\index{Nex\+Text@{Nex\+Text}!Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}} \index{Get\+\_\+background\+\_\+image\+\_\+pic@{Get\+\_\+background\+\_\+image\+\_\+pic}!Nex\+Text@{Nex\+Text}} @@ -131,7 +131,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_a860af363c6de6180ef356cad31936185}{\index{Nex\+Text@{Nex\+Text}!Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}} \index{Get\+\_\+font\+\_\+color\+\_\+pco@{Get\+\_\+font\+\_\+color\+\_\+pco}!Nex\+Text@{Nex\+Text}} @@ -148,7 +148,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_a510a937a104b41859badc220a8ba39fb}{\index{Nex\+Text@{Nex\+Text}!Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}} \index{Get\+\_\+place\+\_\+xcen@{Get\+\_\+place\+\_\+xcen}!Nex\+Text@{Nex\+Text}} @@ -165,7 +165,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_a9bd42732e37497a8fb44ece94b39285c}{\index{Nex\+Text@{Nex\+Text}!Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}} \index{Get\+\_\+place\+\_\+ycen@{Get\+\_\+place\+\_\+ycen}!Nex\+Text@{Nex\+Text}} @@ -182,7 +182,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_adc480199a2b396811aa0c14928b592c8}{\index{Nex\+Text@{Nex\+Text}!get\+Font@{get\+Font}} \index{get\+Font@{get\+Font}!Nex\+Text@{Nex\+Text}} @@ -199,7 +199,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_text_a9cf417b2f25df2872492c55bdc9f5b30}{\index{Nex\+Text@{Nex\+Text}!get\+Text@{get\+Text}} \index{get\+Text@{get\+Text}!Nex\+Text@{Nex\+Text}} diff --git a/latex/class_nex_timer.tex b/latex/class_nex_timer.tex index 8cdef51b..d46d70b3 100755 --- a/latex/class_nex_timer.tex +++ b/latex/class_nex_timer.tex @@ -150,7 +150,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_timer_afd95e7490e28e2a36437be608f26b40e}{\index{Nex\+Timer@{Nex\+Timer}!get\+Cycle@{get\+Cycle}} \index{get\+Cycle@{get\+Cycle}!Nex\+Timer@{Nex\+Timer}} diff --git a/latex/class_nex_variable.tex b/latex/class_nex_variable.tex index b455965d..d51fc75b 100755 --- a/latex/class_nex_variable.tex +++ b/latex/class_nex_variable.tex @@ -100,7 +100,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_variable_aab59ac44eb0804664a03c09932be70eb}{\index{Nex\+Variable@{Nex\+Variable}!set\+Text@{set\+Text}} \index{set\+Text@{set\+Text}!Nex\+Variable@{Nex\+Variable}} diff --git a/latex/class_nex_waveform.tex b/latex/class_nex_waveform.tex index 0125d352..37f3c8bf 100755 --- a/latex/class_nex_waveform.tex +++ b/latex/class_nex_waveform.tex @@ -111,7 +111,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_waveform_a09e36144f65c73b21edcfd5caff8a914}{\index{Nex\+Waveform@{Nex\+Waveform}!Get\+\_\+channel\+\_\+0\+\_\+color\+\_\+pco0@{Get\+\_\+channel\+\_\+0\+\_\+color\+\_\+pco0}} \index{Get\+\_\+channel\+\_\+0\+\_\+color\+\_\+pco0@{Get\+\_\+channel\+\_\+0\+\_\+color\+\_\+pco0}!Nex\+Waveform@{Nex\+Waveform}} @@ -128,7 +128,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_waveform_ac5a6622e9004600f24b12e60ebb6b984}{\index{Nex\+Waveform@{Nex\+Waveform}!Get\+\_\+grid\+\_\+color\+\_\+gdc@{Get\+\_\+grid\+\_\+color\+\_\+gdc}} \index{Get\+\_\+grid\+\_\+color\+\_\+gdc@{Get\+\_\+grid\+\_\+color\+\_\+gdc}!Nex\+Waveform@{Nex\+Waveform}} @@ -145,7 +145,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_waveform_a87f6baf5a7a9c52f54281865e757d9a3}{\index{Nex\+Waveform@{Nex\+Waveform}!Get\+\_\+grid\+\_\+height\+\_\+gdh@{Get\+\_\+grid\+\_\+height\+\_\+gdh}} \index{Get\+\_\+grid\+\_\+height\+\_\+gdh@{Get\+\_\+grid\+\_\+height\+\_\+gdh}!Nex\+Waveform@{Nex\+Waveform}} @@ -162,7 +162,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_waveform_ad5c4968c81d4941a08841cbaf217c631}{\index{Nex\+Waveform@{Nex\+Waveform}!Get\+\_\+grid\+\_\+width\+\_\+gdw@{Get\+\_\+grid\+\_\+width\+\_\+gdw}} \index{Get\+\_\+grid\+\_\+width\+\_\+gdw@{Get\+\_\+grid\+\_\+width\+\_\+gdw}!Nex\+Waveform@{Nex\+Waveform}} @@ -179,7 +179,7 @@ \subsection{Member Function Documentation} \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} -the length of the data +true if success, false for failure \end{DoxyReturn} \hypertarget{class_nex_waveform_aefec5eb25ee698c8c940c9190d60b696}{\index{Nex\+Waveform@{Nex\+Waveform}!Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}} \index{Set\+\_\+background\+\_\+color\+\_\+bco@{Set\+\_\+background\+\_\+color\+\_\+bco}!Nex\+Waveform@{Nex\+Waveform}} diff --git a/readme.md b/readme.md index 8d060ed1..84bf5e15 100644 --- a/readme.md +++ b/readme.md @@ -3,8 +3,13 @@ # Enhanced Nextion Library -------------------------------------------------------------------------------- +Jyrki Berg 8/2/2019 (https://github.com/jyberg) +- Function return values corrected +- component refresh removed bacause automatic in case of component variable value change +- NexSlider bacround image and crop image functions +- NexObject refresh function -Jyrki Berg 7/24/2019 (https://github.com/jyberg) +Jyrki Berg 7/24/2019 - NexConfig: standard (dafault) or fast timeout, you may use fast timeout in case of baudrate higher than 115200 - bug in NexRtc::read_rtc_time() #12 Corrected diff --git a/release_notes.md b/release_notes.md index 6d45a449..cb0ee807 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,6 +1,12 @@ # Release Notes -------------------------------------------------------------------------------- +# Release v0.12.00 +- Function return values corrected +- component refresh removed bacause automatic in case of component variable value change +- NexSlider bacround image and crop image functions +- NexObject refresh function + # Release v0.11.10 - setVisible added for components and setVisibleAll for page diff --git a/version.txt b/version.txt index c79c59c2..3cb92d9e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.11.11 +0.12.0