[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
#ifndef __EMUL_STATE_H__
#define __EMUL_STATE_H__
+enum {
+ ROTATION_PORTRAIT = 0,
+ ROTATION_LANDSCAPE = 1,
+ ROTATION_REVERSE_PORTRAIT = 2,
+ ROTATION_REVERSE_LANDSCAPE = 3,
+};
+
typedef struct emulator_config_info {
int lcd_size_w;
#define __EMULATOR_H__
-enum {
- ROTATION_PORTRAIT = 0,
- ROTATION_LANDSCAPE = 1,
- ROTATION_REVERSE_PORTRAIT = 2,
- ROTATION_REVERSE_LANDSCAPE = 3,
-};
-
-
int get_emulator_condition(void);
void set_emulator_condition(int state);
void exit_emulator(void);
};
enum {
- ROTATION_PORTRAIT = 0,
- ROTATION_LANDSCAPE = 1,
- ROTATION_REVERSE_PORTRAIT = 2,
- ROTATION_REVERSE_LANDSCAPE = 3,
-};
-
-enum {
- SCALE_ONE = 1,
- SCALE_THREE_QUARTERS = 2,
- SCALE_HALF = 3,
- SCALE_ONE_QUARTER = 4,
-};
-
-enum {
MOUSE_DOWN = 1,
MOUSE_UP = 2,
MOUSE_DRAG = 3,
void do_scale_event( int event_type) {
INFO( "do_scale_event event_type:%d", event_type);
-
- //TODO: qemu refresh
+ //qemu refresh
+ vga_hw_invalidate();
+ vga_hw_update();
set_emul_win_scale(event_type);
}