|
3 registered members (Quad, TipmyPip, 1 invisible),
2,064
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Text input a.k.a writing text like in notepad
[Re: F00PdeD00P]
#260631
04/12/09 16:56
04/12/09 16:56
|
Joined: Apr 2009
Posts: 3
F00PdeD00P
OP
Guest
|
OP
Guest
Joined: Apr 2009
Posts: 3
|
Hey, 1 more question  I have a bitmap font, and a string with text using that font. It was working fine until I wanted to test it again just to see how it looked, now when I do a test run, it tells me there is a syntax error at line 16, which is the font. FONT* system_font = "system.pcx"; That is line 16 and there is no syntax error because it was working fine a minute ago, and the syntax checker says everything is fine, could someone help me out, this is pretty frustrating. Here is all my code. #include <acknex.h> #include <default.c>
video_mode = 7; screen_color.red = 0; screen_color.green = 0; screen_color.blue = 0;
mouse_mode = 0;
STRING* username_ask = "USERNAME"; STRING* password_ask = "PASSWORD"; STRING* access_den = "**ACCESS DENIED**"; STRING* access_gra = "**ACCESS GRANTED**"
FONT* system_font = "system.pcx"; FONT* system02_font = "system02.pcx";
TEXT* username_txt = { pos_x = 300; pos_y = 150; font = system_font; string (username_ask); flags = VISIBLE; } TEXT* password_txt = { pos_x = 300; pos_y = 350; font = system_font; string (password_ask); flags = VISIBLE; }
TEXT* access_gra = { pos_x = 300; pos_y = 350; font = system_font; string (access_gra); flags = VISIBLE; }
TEXT* access_den = { pos_x = 300; pos_y = 350; font = system_font; string (access_den); flags = VISIBLE; }
Last edited by F00PdeD00P; 04/12/09 17:00.
|
|
|
|