mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-21 00:35:30 -04:00
!176 在预览器上使能前端的rotation API
Merge pull request !176 from piggyguy_jdx/enable_rotaion_on_previewer
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
#ifndef OHOS_ACELITE_CONFIG_H
|
||||
#define OHOS_ACELITE_CONFIG_H
|
||||
|
||||
// some features depend on the low layer configuration
|
||||
#include "graphic_config.h"
|
||||
|
||||
/**
|
||||
* ================================================================================================
|
||||
* config for win simulator
|
||||
@@ -138,4 +141,14 @@
|
||||
#define PROFILER_ENABLE_FLAG_FILE "~/profiler_enable"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Rotation API feature
|
||||
*/
|
||||
#if (defined(ENABLE_ROTATE_INPUT) && (ENABLE_ROTATE_INPUT == 1))
|
||||
// low layer supports
|
||||
#ifndef FEATURE_ROTATION_API
|
||||
#define FEATURE_ROTATION_API
|
||||
#endif
|
||||
#endif // (defined(ENABLE_ROTATE_INPUT) && (ENABLE_ROTATE_INPUT == 1))
|
||||
|
||||
#endif // OHOS_ACELITE_CONFIG_H
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
#ifndef OHOS_ACELITE_CONFIG_H
|
||||
#define OHOS_ACELITE_CONFIG_H
|
||||
|
||||
// some features depend on the low layer configuration
|
||||
#include "graphic_config.h"
|
||||
|
||||
/**
|
||||
* ================================================================================================
|
||||
* config for win simulator
|
||||
@@ -145,4 +148,14 @@
|
||||
#define PROFILER_ENABLE_FLAG_FILE "~/profiler_enable"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Rotation API feature
|
||||
*/
|
||||
#if (defined(ENABLE_ROTATE_INPUT) && (ENABLE_ROTATE_INPUT == 1))
|
||||
// low layer supports
|
||||
#ifndef FEATURE_ROTATION_API
|
||||
#define FEATURE_ROTATION_API
|
||||
#endif
|
||||
#endif // (defined(ENABLE_ROTATE_INPUT) && (ENABLE_ROTATE_INPUT == 1))
|
||||
|
||||
#endif // OHOS_ACELITE_CONFIG_H
|
||||
|
||||
Reference in New Issue
Block a user