mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
sim_lcd: add open & close
The opening and closing of the window has been associated with the opening and closing of fb, but the LCD has not yet been optimized. The window will only open when sim_x11openwindow is called, and similarly, the window will only close when sim_x11closewindow is called. Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
65d736bfc1
commit
f4c8a17837
@@ -268,6 +268,11 @@ struct lcd_dev_s
|
||||
/* Passthrough unknown ioctl commands. */
|
||||
|
||||
int (*ioctl)(FAR struct lcd_dev_s *dev, int cmd, unsigned long arg);
|
||||
|
||||
/* open/close window. */
|
||||
|
||||
int (*open)(FAR struct lcd_dev_s *dev);
|
||||
int (*close)(FAR struct lcd_dev_s *dev);
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user