Fouad Hanoun
16th December 2015, 16:55
Hello,
I have a project for uni and i want to associate values (floats) to a visual widget.
Let's say it's in percentage, where 0% is totally blue and 100% is totally green, what's in between varies between blue and green.
It's a matrix and i want to associate it's values to create a blue square that starts to turn green with time, the c++ code is ready but i don't know much about GUI.
Any idea how to it? what should i use to be able to form a square with my values and associate them to a colour?
Thanks a lot
I have a project for uni and i want to associate values (floats) to a visual widget.
Let's say it's in percentage, where 0% is totally blue and 100% is totally green, what's in between varies between blue and green.
It's a matrix and i want to associate it's values to create a blue square that starts to turn green with time, the c++ code is ready but i don't know much about GUI.
Any idea how to it? what should i use to be able to form a square with my values and associate them to a colour?
Thanks a lot