| 1 | /* -*-c-*- ---------------- mixgtk_mixvm.h : |
| 2 | * Functions dealing with the mixvm widgets |
| 3 | * ------------------------------------------------------------------ |
| 4 | * Copyright (C) 2001, 2004, 2006, 2007 Free Software Foundation, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | |
| 23 | #ifndef MIXGTK_MIXVM_H |
| 24 | #define MIXGTK_MIXVM_H |
| 25 | |
| 26 | #include <mixlib/mix_vm.h> |
| 27 | #include "mixgtk.h" |
| 28 | #include "mixgtk_widgets.h" |
| 29 | |
| 30 | /* initialise the mixvm widgets */ |
| 31 | extern gboolean |
| 32 | mixgtk_mixvm_init (mix_vm_t *vm); |
| 33 | |
| 34 | extern void |
| 35 | mixgtk_mixvm_update_fonts (void); |
| 36 | |
| 37 | /* update register widgets */ |
| 38 | extern void |
| 39 | mixgtk_mixvm_update_registers (void); |
| 40 | |
| 41 | /* update the overflow toggle */ |
| 42 | extern void |
| 43 | mixgtk_mixvm_update_over_toggle (void); |
| 44 | |
| 45 | /* update the comparison flag */ |
| 46 | extern void |
| 47 | mixgtk_mixvm_update_cmp (void); |
| 48 | |
| 49 | /* update the memory cells */ |
| 50 | extern void |
| 51 | mixgtk_mixvm_update_cells (void); |
| 52 | |
| 53 | extern void |
| 54 | mixgtk_mixvm_update_cells_to_address (gint address); |
| 55 | |
| 56 | /* update the loc pointer */ |
| 57 | extern void |
| 58 | mixgtk_mixvm_update_loc (void); |
| 59 | |
| 60 | /* update times */ |
| 61 | extern void |
| 62 | mixgtk_mixvm_update_times (void); |
| 63 | |
| 64 | /* update all mixvm widgets */ |
| 65 | extern void |
| 66 | mixgtk_mixvm_update_vm_widgets (void); |
| 67 | |
| 68 | |
| 69 | #endif /* MIXGTK_MIXVM_H */ |
| 70 |