mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2025-03-02 01:16:12 +00:00
fix bug volayer resize
Change-Id: Ib21271f5914886e3ea3839c34e565e2bd690cd32 Signed-off-by: 黄磊 <huanglei0704@thundersoft.com>
This commit is contained in:
parent
75c5bb5f79
commit
53741fb062
@ -33,14 +33,14 @@ namespace OHOS {
|
||||
class WindowBase {
|
||||
public:
|
||||
WindowBase(int32_t windowid, sptr<Surface>& surface);
|
||||
~WindowBase();
|
||||
virtual ~WindowBase();
|
||||
|
||||
void GetRequestConfig(BufferRequestConfig& config);
|
||||
void SetRequestConfig(BufferRequestConfig& config);
|
||||
void RegistWindowInfoChangeCb(funcWindowInfoChange cb);
|
||||
|
||||
int32_t GetWindowID();
|
||||
sptr<Surface> GetSurface();
|
||||
virtual sptr<Surface> GetSurface();
|
||||
|
||||
protected:
|
||||
int32_t m_windowid;
|
||||
@ -83,10 +83,10 @@ public:
|
||||
class SubWindow : public WindowBase {
|
||||
public:
|
||||
SubWindow(int32_t windowid, sptr<Surface>& surface);
|
||||
~SubWindow();
|
||||
virtual ~SubWindow();
|
||||
|
||||
void Move(int32_t x, int32_t y);
|
||||
void SetSubWindowSize(int32_t width, int32_t height);
|
||||
virtual void Move(int32_t x, int32_t y);
|
||||
virtual void SetSubWindowSize(int32_t width, int32_t height);
|
||||
};
|
||||
|
||||
class WindowManager : public RefBase {
|
||||
|
Loading…
x
Reference in New Issue
Block a user