Method and apparatus of displaying window border shadow
First Claim
1. A method for displaying a window border shadow, comprising:
- 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;
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; and
calculating a pixel point transparency for the slave window, and displaying the slave window according to the calculation result.
1 Assignment
0 Petitions
Accused Products
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.
7 Citations
12 Claims
-
1. A method for displaying a window border shadow, comprising:
-
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; 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; and calculating a pixel point transparency for the slave window, and displaying the slave window according to the calculation result. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for displaying a window border shadow, comprising:
-
a window creating unit to create 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; an adjusting unit to adjust a size of the slave window according to a size of the main window, and adjust screen coordinates of the slave window according to screen coordinates of the main window; and a calculating and displaying unit, configured to calculate a pixel point transparency for the slave window, and display the slave window according to the calculation result. - View Dependent Claims (9, 10, 11, 12)
-
Specification