texteff.c
changeset 649 bc9bdefb76ec
parent 543 946badd71033
child 835 f6a341f541d7
equal deleted inserted replaced
648:21fa4f2fcc76 649:bc9bdefb76ec
    33 bool _textmessage_dirty = true;
    33 bool _textmessage_dirty = true;
    34 bool _textmessage_visible = false;
    34 bool _textmessage_visible = false;
    35 
    35 
    36 const int _textmessage_box_left = 10; // Pixels from left
    36 const int _textmessage_box_left = 10; // Pixels from left
    37 const int _textmessage_box_y = 150;  // Height of box
    37 const int _textmessage_box_y = 150;  // Height of box
    38 const int _textmessage_box_bottom = 20; // Pixels from bottom
    38 const int _textmessage_box_bottom = 30; // Pixels from bottom
    39 const int _textmessage_box_max_width = 400; // Max width of box
    39 const int _textmessage_box_max_width = 400; // Max width of box
    40 
    40 
    41 static byte _textmessage_backup[150*400]; // (y * max_width)
    41 static byte _textmessage_backup[150*400]; // (y * max_width)
    42 
    42 
    43 extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch);
    43 extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch);