- [FIX] El cursor es mostra sempre damunt de les finestres zx_screen i z80debug
- [FIX] el dibuixat del crosshair en la finestra z80analyze causaba potencialment una escritura fora de rang - [NEW] Refresc de la finestra z80analyze millorat
This commit is contained in:
@@ -93,6 +93,9 @@ namespace z80debug
|
||||
|
||||
bool eventHandler(SDL_Event *e)
|
||||
{
|
||||
if (e->type == SDL_MOUSEMOTION) {
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
}
|
||||
if (z80debug::debugging()) {
|
||||
if (e->type==SDL_WINDOWEVENT) {
|
||||
if ((e->window.event==SDL_WINDOWEVENT_SHOWN) || (e->window.event==SDL_WINDOWEVENT_EXPOSED)) {
|
||||
@@ -164,7 +167,6 @@ namespace z80debug
|
||||
}
|
||||
}
|
||||
if (e->type == SDL_MOUSEMOTION) {
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
if (!resizing) {
|
||||
if ( (e->motion.y > (mem_y*CHR_H)-8) && (e->motion.y < (mem_y*CHR_H)+8) && ( e->motion.x < midx*CHR_W ) ) {
|
||||
if (resizing_type != RESIZING_MEMORY) SDL_SetCursor(cur_ns);
|
||||
|
||||
Reference in New Issue
Block a user