Patent ID: 10636191

Abstract:
A method and an apparatus of displaying a window border shadow, the method including the following steps: creating a slave window stitched to a border of a main window, wherein the main window is a non-Layered Window, and the slave window is a Layered Window (S100); adjusting a size of the slave window according to a size of the main window, and adjusting screen coordinates of the slave window according to screen coordinates of the main window (S200); and calculating a pixel point transparency for the slave window, and displaying the slave window according to the calculated result (S300). Above mentioned method sets the main window for presenting software interface to the non-Layered Window, and the slave windows stitched to the borders surrounding the main window to the Layered Window, thus utilizing the slave windows to create the border shadow display effect, and also decreasing memory footprint for the entire system.