#include <acknex.h>
#include <default.c>
BMAP* pixel_bmap = "#1x1x16";
var temp_mouse_posx = 0;
var temp_mouse_posy = 0;
void main()
{
mouse_mode = 4;
vec_set(screen_color,vector(255,255,255));
wait(1);
bmap_fill(pixel_bmap,vector(0,0,0),100);
while(1)
{
mouse_pos.x = mouse_cursor.x;
mouse_pos.y = mouse_cursor.y;
if(mouse_left==1)
{
if(temp_mouse_posx != mouse_pos.x && temp_mouse_posy != mouse_pos.y)
{
PANEL* temp_panel = pan_create("bmap = pixel_bmap;",1);
temp_panel.pos_x = mouse_pos.x;
temp_panel.pos_y = mouse_pos.y;
set(temp_panel,SHOW);
temp_mouse_posx = mouse_pos.x;
temp_mouse_posx = mouse_pos.y;
}
}
wait(1);
}
}