Method for switching primary and secondary windows of embedded devices
A technology of embedded device and main window, which is applied in the parts of color TV, parts of TV system, input/output process of data processing, etc., to achieve the effect of flexible operation, improved user experience, and convenient operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] Below, the present invention is described in detail with reference to accompanying drawing and embodiment:
[0026] like figure 1 As shown, a method for switching primary and secondary windows of an embedded device in the present invention,
[0027] Ⅰ The graphical interface program of the embedded device detects the user's mouse operation;
[0028] Ⅱ When the program detects that the left mouse button is pressed, the program records the time T0 when the mouse is pressed, and the coordinate point (X0, Y0) of the mouse on the screen at that time, and sets the record flag MouseHold = 1;
[0029] Ⅲ When the program detects that the left mouse button is released, cancel the record flag MouseHold=0 in step 2;
[0030] Ⅳ When the program detects that the mouse is moving, if MouseHold is 1, the mouse is pressed and moving, the program obtains the current time Tn and the current position of the mouse on the screen (Xn, Yn), and calculates:
[0031] Time = Tn - T0;
[0032] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

