mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 07:02:25 +00:00
add window type
Change-Id: I1ed9d4e2408990f4d8f969c55996c84d0689932d Signed-off-by: lizheng <lizheng2@huawei.com>
This commit is contained in:
parent
e84049733b
commit
e12b3d1e2e
37
default.scss
37
default.scss
@ -282,3 +282,40 @@
|
||||
width: 1%;
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
#WINDOW_TYPE_APPLICATION_BASE {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
horizon-align: middle;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#WINDOW_TYPE_APPLICATION_FIRST {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
horizon-align: middle;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#WINDOW_TYPE_APPLICATION_NORMAL {
|
||||
z-index: 3;
|
||||
position: relative;
|
||||
horizon-align: middle;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
//This Window is Toppest
|
||||
#WINDOW_TYPE_TOP {
|
||||
z-index: 9999;
|
||||
position: fixed;
|
||||
horizon-align: middle;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -57,6 +57,10 @@ namespace OHOS {
|
||||
macro(WINDOW_TYPE_SPLIT_LINE), \
|
||||
macro(WINDOW_TYPE_LAUNCH_PAGE), \
|
||||
macro(WINDOW_TYPE_CURSOR), \
|
||||
macro(WINDOW_TYPE_APPLICATION_BASE), \
|
||||
macro(WINDOW_TYPE_APPLICATION_FIRST), \
|
||||
macro(WINDOW_TYPE_APPLICATION_NORMAL), \
|
||||
macro(WINDOW_TYPE_TOP), \
|
||||
macro(WINDOW_TYPE_MAX),
|
||||
|
||||
#define DEFINE_ENUM_WINDOW_TYPE(id) id
|
||||
|
Loading…
Reference in New Issue
Block a user