Jump to content




[quesion]


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

#1 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 12 March 2013 - 12:08 PM

hello, and i am making a color program and the desktop looks like this when i draw it
Posted Image










how can i fill in the black edges because in npaintpro, the colors and task bar are in those areas.

#2 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 12 March 2013 - 12:15 PM

This doesn't even need to be made in npaintpro. It can all be accomplshed using the Paintutils API.

#3 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 12 March 2013 - 12:22 PM

Go ahead and look for the paintutils API

Edit: ninja'd or reply of suicidal was not showing
Up

#4 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 12 March 2013 - 12:25 PM

id rather paint it out

it is possible?

#5 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 12 March 2013 - 12:26 PM

Not if the toolbar is there, maybe you should go to thread of npaintpro, they will help you :)

But for this I refer to paintutils though..

#6 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 12 March 2013 - 01:48 PM

You could use the paint program on a monitor bigger than the screen with a 0.5 text scale.

Disregarding incredibly roundabout and hacky solutions, however, it would be better if you had a system of object drawing and click detection, rather than drawing a background in paint and defining different areas in your program. Doing it the way people in this thread have already mentioned gives you more flexibility with your program.

#7 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 12 March 2013 - 01:51 PM

IIRC, you can scroll around the screen in NPaintPro with the arrow keys.

#8 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 12 March 2013 - 01:58 PM

View PostSammich Lord, on 12 March 2013 - 01:51 PM, said:

IIRC, you can scroll around the screen in NPaintPro with the arrow keys.
This is news to me.

#9 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 12 March 2013 - 01:58 PM

color = colors.gray
For i = 1, 19 do
   if i == 5 then
      color = colors.blue
   elseif i == 10 the
      color = colors.lime
   end
   paintutils.drawLine( 1, i, 51, i, color )
end

So that or recreating your nPaintPro painting. :)/>/>

#10 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 12 March 2013 - 05:38 PM

Do 'edit' <program name of the paint file> and fill in the edges there and it should be fine :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users