Jump to content




Draw A Line For Each Column


  • You cannot reply to this topic
2 replies to this topic

#1 makerimages

  • Members
  • 236 posts

Posted 31 October 2013 - 09:20 AM

Hi, I have thi pieceof API code

windowSystem

a window Is created
local window=windowSystem.createWindow("About this Device",21,3,20,14,true,"Version:"..afData[1].."\n \n \n \n System:"..afData[2])
and the for k=0 block in drawWindow draws a white column at the specified position(windowp.x+1, windowp.y+k), I would like to have the entire inside of a window(from windowp.x to windowp.W-2) to be with a white bg, how can I achieve that?

#2 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 31 October 2013 - 04:50 PM

Do you mean something like this?
Example function


#3 makerimages

  • Members
  • 236 posts

Posted 01 November 2013 - 08:05 AM

works, ty!





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users