aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-02 13:21:03 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-02-02 13:46:39 +0100
commit74d7acec6643694132a127feb5ccadda7ea793d6 (patch)
tree3ad25af28d6e8747666f9e0c800de4e37116aba8 /android/qemulator.c
parentf845627c83ce6ce3e306f9b6842d1e30ef89ae97 (diff)
downloadexternal_qemu-74d7acec6643694132a127feb5ccadda7ea793d6.zip
external_qemu-74d7acec6643694132a127feb5ccadda7ea793d6.tar.gz
external_qemu-74d7acec6643694132a127feb5ccadda7ea793d6.tar.bz2
Separate init_skinned_ui() into two functions.
This removes init_skinned_ui() and adds parse_skin_files() and init_sdl_ui(). The first function only parses skin files and options, and doesn't do anything related to the UI. The second function does setup the SDL UI after all options/skin processing has been performed. We also modify main.c and main-ui.c to move the call to init_sdl_ui() as far as possible after the options parsing. + Move core attachment code to the end of qemu_main() in main-ui.c Change-Id: I2bf5f0a096d827ae1fee070a8fa45cbd4629d54f
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index f1b2dbc..36a9ec8 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -190,22 +190,6 @@ qemulator_done(QEmulator* emulator)
}
}
-void
-qemulator_get_screen_size( QEmulator* emulator,
- int *width,
- int *height )
-{
- AConfig* root = emulator->aconfig;
- AConfig* disp;
-
- *width = *height = 0;
- if (root == NULL || (disp = aconfig_find(root, "display")) == NULL)
- return;
-
- *width = aconfig_int(disp, "width", 0);
- *height = aconfig_int(disp, "height", 0);
-}
-
SkinLayout*
qemulator_get_layout(QEmulator* emulator)
{