F
FourOhForum
Guest
Alright so I'm using the textbox used in the Shaun Spalding tutorial for textboxes.
He gives it an outline and I started thinking, hey I could make four outlines to make the FF text box.
So I changed it to the round rectangle, and did this:
I thought this was clever until I realized that it draws the blue box fine, always. But then the outlines are all not going beyond 1 pixel.
How do I fix this?
He gives it an outline and I started thinking, hey I could make four outlines to make the FF text box.
So I changed it to the round rectangle, and did this:
draw_set_color(c_blue);
draw_roundrect(x,y,x+box_width,y+box_height,0);
draw_set_color(c_black);
draw_roundrect(x,y,x+box_width,y+box_height,2);
draw_set_color(c_white);
draw_roundrect(x,y,x+box_width,y+box_height,6);
draw_set_color(c_black);
draw_roundrect(x,y,x+box_width,y+box_height,8);
draw_roundrect(x,y,x+box_width,y+box_height,0);
draw_set_color(c_black);
draw_roundrect(x,y,x+box_width,y+box_height,2);
draw_set_color(c_white);
draw_roundrect(x,y,x+box_width,y+box_height,6);
draw_set_color(c_black);
draw_roundrect(x,y,x+box_width,y+box_height,8);
I thought this was clever until I realized that it draws the blue box fine, always. But then the outlines are all not going beyond 1 pixel.
How do I fix this?