Quote from: philmoz on 31 / October / 2013, 14:57:05... msl meant to put the function in gui_draw.c rather than luascript.cThat is correct. So we can use this function for other GUI applications. People ask me very often whether it is possible to represent CHDK OSD text elements greater?
... msl meant to put the function in gui_draw.c rather than luascript.c
Okay .. I'll hold out the hope that outslider meant the drawings.lua module.
Hey, do we really need a new lua function draw_string_scaled?Currently we have:draw_string( x, y, t, clt, clb)Can't we just change it into:draw_string( x, y, t, clt, clb [, size])?Default size would be like now, but user could change the last parameter to decrease/increase size.
Patch 4 works fine for me. Thanks for that.
Quote from: msl on 01 / November / 2013, 07:40:47Patch 4 works fine for me. Thanks for that.Ditto.I did have another thought. If the scale parameter is 0, then how about a 1/2 size font? Thinking ahead, there are times when that would be useful with console debugging (assuming we take the next step and start allowing OSD stuff to use variable sized fonts ...). Also, the screen gets pretty crowded when Misc Values and the State displays and Debug data display are all active. Yes - hard on old eyes but with "cheater" it makes debugging somewhat easier.
So we can use this function for other GUI applications. People ask me very often whether it is possible to represent CHDK OSD text elements greater?
I've added this in revision 3200 (trunk).
Started by linuxGuy « 1 2 3 » Script Writing
Started by kajakazik Feature Requests
Started by frank Feature Requests
Started by ixussuxi General Help and Assistance on using CHDK stable releases
Started by Pelican DSLR Hack development