Differences From Artifact [207559e683]:
- File picture.c — part of check-in [6e1b1bf6d3] at 2021-01-11 06:22:26 on branch trunk — Start to implement the picture editor (user: user, size: 23556) [annotate] [blame] [check-ins using]
To Artifact [9877da8adc]:
- File picture.c — part of check-in [c1b51c9521] at 2021-03-06 05:22:07 on branch trunk — Add the global examine command (user: user, size: 23569) [annotate] [blame] [check-ins using]
| ︙ | |||
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 | 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 | + + |
break;
}
SDL_UnlockSurface(screen);
}
int modal_draw_popup(const unsigned char*txt) {
SDL_Event ev;
#if 0
SDL_Rect r;
r.x=r.y=0;
r.w=screen->w;
r.h=4;
SDL_FillRect(screen,&r,0xFE);
#endif
set_cursor(XC_iron_cross);
redraw:
draw_popup(txt);
SDL_Flip(screen);
while(SDL_WaitEvent(&ev)) switch(ev.type) {
case SDL_QUIT:
SDL_PushEvent(&ev);
|
| ︙ |