2020-02-03 09:37 PM
Hello people,,,,
I am currently working on STM32L4R9AI-EVAL board.Basically my intention is that on the screen i already have a text which is not seen But when some interrupt occures i want to show that text....like i want to make the text bright...i think this can do by using alpha blending,but i can't able to implement alpha blending .I have searched in your web but there is know examples realted...if this can be do by alpha blending please give me the sufficient information and if posssible related examples....
Thank you in advance:) ....
Solved! Go to Solution.
2020-02-04 02:19 AM
myTextArea.setVisible(true); //Full alpha
myTextArea.setVisible(false); //No alpha. Also means "Not touchable".
myTextArea.setAlpha(15); //Some alpha
/Martin
2020-02-04 02:19 AM
myTextArea.setVisible(true); //Full alpha
myTextArea.setVisible(false); //No alpha. Also means "Not touchable".
myTextArea.setAlpha(15); //Some alpha
/Martin
2020-02-04 05:35 AM
Thank you Martin....
I got it:) ...
but one more question the same text i want to update... in the way suppose! the text am getting from out side source it may be anything that i want to display whatever i am getting...lets say am receiving the text from the I2C that i want to display.. just like whatsapp notification...
2020-02-05 02:43 AM
You're asking how to display those texts in the UI ?
2020-02-05 03:28 AM
yeah Martin....that is what I want...
2020-02-05 03:55 AM
Please check the pinned post on how to integrate backend data with your UI.
2020-02-06 02:24 AM
Sorry Martin ...
I am not getting any relavent data..if you don't mind can you share that link please..
thank you in advance
2020-02-06 04:02 AM
2020-02-06 11:20 PM
thank you jimmi
2020-02-11 01:40 AM
Hello
I am trying to write a longer text on a text area, but it truncating my text simply...but i want to write the text accordingly depends on my width of the text area...how can i do it..
i knew one function which can do this
Textarea.setWideTextAction(WIDE_TEXT_WORDWRAP);
but still my text is truncating after using Textarea.invalidate along with this instruction
Unicode::strncpy(alphablendingBuffer,str,100);
alphablending.setWildcard(alphablendingBuffer);
alphablending.resizeToCurrentText();
alphablending.invalidate();
alphablending.setWideTextAction(WIDE_TEXT_WORDWRAP);
alphablending.invalidate();
thank you in advance..