CN102467383A - Method for implementing tab windows in graphical interface of embedded system - Google Patents
Method for implementing tab windows in graphical interface of embedded system Download PDFInfo
- Publication number
- CN102467383A CN102467383A CN2010105475935A CN201010547593A CN102467383A CN 102467383 A CN102467383 A CN 102467383A CN 2010105475935 A CN2010105475935 A CN 2010105475935A CN 201010547593 A CN201010547593 A CN 201010547593A CN 102467383 A CN102467383 A CN 102467383A
- Authority
- CN
- China
- Prior art keywords
- window
- label
- current
- shipping options
- options page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses a method for implementing tab windows in a graphical interface of an embedded system. The method comprises the following steps of: creating a first tab window and obtaining a focal point; moving left and right direction keys of a remote controller, and creating next tab window according to the position of the current tab window and the direction keys; regulating a window stack data structure according to creation of the tab windows; and highlighting the current window title according to a position parameter of the current window. The method disclosed by the invention implements creation and display of the tab windows in an embedded graphics library, which is convenient for users to switch interface applications intuitively and quickly.
Description
Technical field
The present invention relates to the embedded system field, relate in particular to a kind of method that realizes the Shipping Options Page window at the embedded system graphical interfaces.
Background technology
The Shipping Options Page window is more common on the gui interface of PC, but rarely found on the embedded type GUI interface.Particularly based on not realizing on the simple GUI shape library of frame buffer (framebuffer).
In the built-in graphical interface of some Web TVs exploitation at present; Basically all adopt the embedded graphic storehouse of supporting frame buffer; But all do not realize fundamental figure controls such as modern gui interface basic window, label, button, programming efficiency is low, the code maintenance difficulty.
Summary of the invention
The purpose of this invention is to provide a kind of method, thereby improve the development efficiency of built-in graphical interface exploitation at embedded system graphical interfaces realization Shipping Options Page window.
For solving technical matters of the present invention, the present invention discloses a kind of method at embedded system graphical interfaces realization Shipping Options Page window, it is characterized in that, comprises the steps:
The first step is created first Shipping Options Page window and is obtained focus;
In second step, the left and right directions key of mobile remote control device according to current label position of window and directionkeys, is created next label window;
The 3rd step is according to the establishment adjustment window stack data structure of label window;
The 4th step is according to the outstanding current window title that shows of the location parameter of current window.
Compared with prior art, the present invention has realized the establishment and the demonstration of Shipping Options Page window on the embedded graphic storehouse of supporting frame buffer, makes things convenient for directly perceived, the interface switching application fast of user, and the interface is succinct, attractive in appearance, generous, has improved user's development efficiency.
Description of drawings
Fig. 1 is the process flow diagram that embedded system graphical interfaces of the present invention is realized the Shipping Options Page windowhood method.
?
Embodiment
Embedded system graphical interfaces of the present invention realizes that the Shipping Options Page windowhood method mainly comprises subpage window creation, the window stack pointer management of label window and uses the flow process how left and right press key switches subwindow to realize.
As an embodiment of the invention, method of the present invention is to realize in the visual telephone software on CC1203 and MSTAR 6i78 hardware platform, based on embedded Linux system, based on the embedded type GUI shape library of supporting frame buffer; The Shipping Options Page mode is adopted at this visual telephone master interface, comprises that visual telephone address list interface, video dialtone interface, message registration interface and system are provided with the interface; Wherein, conversation record interface is Shipping Options Page master interface (also being homepage label window).
Fig. 1 is the process flow diagram that embedded system graphical interfaces of the present invention is realized the Shipping Options Page windowhood method.After system start-up, get into GUI window events processing threads, get into the homepage window of Shipping Options Page then, when left and right directions key that the user uses a teleswitch, just can switch to corresponding Shipping Options Page window, its concrete process comprises more following steps.
The first step, create first Shipping Options Page window and obtain focus:
Get into the homepage window of Shipping Options Page, create the homepage window that gets into Shipping Options Page, establishment has first Shipping Options Page window of N label and obtains the window focus, high bright this window title that is provided with, and other subpage window becomes ash; Prepare to handle the press key message incident; Current window order representes with n, as, when current window is first Shipping Options Page window, n=1; When current window was second Shipping Options Page window, n=2, N were natural number, total label number of expression Shipping Options Page window.
Second step, the left and right directions key of mobile remote control device, according to current label position of window and directionkeys, create next label window:
When pressing LeftArrow switch labels window, if current label window is first window in proper order, i.e. n=1, the label window of then creating is last Shipping Options Page window, the label window sequence valve of establishment is N; If current Shipping Options Page window is not first window, promptly n is not equal to 1, and the label window sequence valve of then creating is (n-1);
When pressing right directionkeys switch labels window, if current label window is last window in proper order, i.e. n=N, the label window of then creating is first Shipping Options Page window, the label window sequence valve of establishment is 1; If current Shipping Options Page window is not last window, promptly n is not equal to N, and the label window sequence valve of then creating is (n+1).
In the 3rd step, adjust the window stack data structure according to the establishment of label window: whether the inspection stack has existed the window pointer of new establishment, if exist, adjustment window stack data structure is placed the stack top of window stack with newly creating window pointer; If window stack does not have this window pointer, then directly this window pointer is pressed into window stack.
The 4th step; The outstanding demonstration of location parameter current window title according to current window: according to the location parameter of current window at whole label window; The outstanding current window title (adding bright or picture background picture, font adjustment etc.) that shows, other non-window title then becomes ash and shows; Simultaneously, draw window elements and show that obtain focus, preparation responds key-press event message such as telepilot at current window.
In sum; The present invention has realized the establishment and the demonstration of Shipping Options Page window on the shape library of the embedded system of supporting frame buffer; Successful Application is in based on the videophone application program on C2 and the MSTAR platform; Make things convenient for directly perceived, the interface switching application fast of user, the interface is succinct, attractive in appearance, generous, has improved user's development efficiency.
Label window effected method of the present invention is not limited to based on the GUI middleware on C2 and the MSTAR platform, also can realize based on the GUI shape library of other embedded platform, like platforms such as DirectFB.
Claims (5)
1. the method at embedded system graphical interfaces realization Shipping Options Page window is characterized in that, comprises the steps:
The first step is created first Shipping Options Page window and is obtained focus;
In second step, the left and right directions key of mobile remote control device according to current label position of window and directionkeys, is created next label window;
The 3rd step is according to the establishment adjustment window stack data structure of label window;
The 4th step is according to the outstanding current window title that shows of the location parameter of current window.
2. the method that realizes the Shipping Options Page window at the embedded system graphical interfaces according to claim 1; It is characterized in that; In the said first step, establishment has first Shipping Options Page window of N label and obtains the window focus, high bright this window title that is provided with; And with other subpage window change ash, wherein N is a natural number.
3. the method that realizes the Shipping Options Page window at the embedded system graphical interfaces according to claim 2; It is characterized in that, in said second step, when pressing LeftArrow switch labels window; If current label window order (n is the sequence valve of current window) is first window; Be n=1, the label window of then creating is last Shipping Options Page window, and the label window sequence valve of establishment is N; If current Shipping Options Page window is not first window, promptly n is not equal to 1, and the label window sequence valve of then creating is (n-1);
When pressing right directionkeys switch labels window, if current label window is last window in proper order, i.e. n=N, the label window of then creating is first Shipping Options Page window, the label window sequence valve of establishment is 1; If current Shipping Options Page window is not last window, promptly n is not equal to N, and the label window sequence valve of then creating is (n+1).
4. the method that realizes the Shipping Options Page window at the embedded system graphical interfaces according to claim 1; It is characterized in that; In said the 3rd step, whether the inspection stack has existed the window pointer of new establishment, if exist; Adjustment window stack data structure is placed the stack top of window stack with newly creating window pointer; If window stack does not have this window pointer, then directly this window pointer is pressed into window stack.
5. the method that realizes the Shipping Options Page window at the embedded system graphical interfaces according to claim 1; It is characterized in that, in said the 4th step, according to the location parameter of current window at whole label window; The outstanding current window title that shows, and with other non-window title change ash demonstration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010547593.5A CN102467383B (en) | 2010-11-17 | 2010-11-17 | A kind of method that realizes Shipping Options Page window at graphical interface of embedded system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010547593.5A CN102467383B (en) | 2010-11-17 | 2010-11-17 | A kind of method that realizes Shipping Options Page window at graphical interface of embedded system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102467383A true CN102467383A (en) | 2012-05-23 |
CN102467383B CN102467383B (en) | 2016-05-25 |
Family
ID=46071059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010547593.5A Active CN102467383B (en) | 2010-11-17 | 2010-11-17 | A kind of method that realizes Shipping Options Page window at graphical interface of embedded system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102467383B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197842A (en) * | 2013-04-15 | 2013-07-10 | 广州博冠信息科技有限公司 | Method and device for controlling application program windows |
CN103607660A (en) * | 2013-11-22 | 2014-02-26 | 乐视致新电子科技(天津)有限公司 | Intelligent television interface switching control method and control apparatus |
CN106708371A (en) * | 2017-01-17 | 2017-05-24 | 深圳创维数字技术有限公司 | Browser focal point control implementation method and system |
CN109074276A (en) * | 2016-03-29 | 2018-12-21 | 微软技术许可有限责任公司 | Tabs in system task switch |
CN111459371A (en) * | 2020-03-31 | 2020-07-28 | 北京奇艺世纪科技有限公司 | View switching method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5784057A (en) * | 1996-08-14 | 1998-07-21 | International Business Machines Corporation | Dynamically modifying a graphical user interface window title |
CN101777065A (en) * | 2009-12-31 | 2010-07-14 | 优视科技有限公司 | Multi-page browser for mobile communication equipment terminals and application method thereof |
EP2224351A1 (en) * | 2009-02-26 | 2010-09-01 | Telefonaktiebolaget L M Ericsson (publ) | method for use in association with a multi-tab interpretation and rendering function |
-
2010
- 2010-11-17 CN CN201010547593.5A patent/CN102467383B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5784057A (en) * | 1996-08-14 | 1998-07-21 | International Business Machines Corporation | Dynamically modifying a graphical user interface window title |
EP2224351A1 (en) * | 2009-02-26 | 2010-09-01 | Telefonaktiebolaget L M Ericsson (publ) | method for use in association with a multi-tab interpretation and rendering function |
CN101777065A (en) * | 2009-12-31 | 2010-07-14 | 优视科技有限公司 | Multi-page browser for mobile communication equipment terminals and application method thereof |
Non-Patent Citations (1)
Title |
---|
魏云华: "在分割窗口中创建TabView的实现方法", 《电脑编程技巧与维护》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197842A (en) * | 2013-04-15 | 2013-07-10 | 广州博冠信息科技有限公司 | Method and device for controlling application program windows |
CN103607660A (en) * | 2013-11-22 | 2014-02-26 | 乐视致新电子科技(天津)有限公司 | Intelligent television interface switching control method and control apparatus |
CN109074276A (en) * | 2016-03-29 | 2018-12-21 | 微软技术许可有限责任公司 | Tabs in system task switch |
CN109074276B (en) * | 2016-03-29 | 2022-01-11 | 微软技术许可有限责任公司 | Tab in system task switcher |
CN106708371A (en) * | 2017-01-17 | 2017-05-24 | 深圳创维数字技术有限公司 | Browser focal point control implementation method and system |
WO2018133504A1 (en) * | 2017-01-17 | 2018-07-26 | 深圳创维数字技术有限公司 | Browser focus control implementation method and implementation system |
CN106708371B (en) * | 2017-01-17 | 2020-04-07 | 深圳创维数字技术有限公司 | Method and system for realizing focus control of browser |
CN111459371A (en) * | 2020-03-31 | 2020-07-28 | 北京奇艺世纪科技有限公司 | View switching method and device, electronic equipment and storage medium |
CN111459371B (en) * | 2020-03-31 | 2021-09-28 | 北京奇艺世纪科技有限公司 | View switching method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102467383B (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101706704B (en) | Method for displaying user interface capable of automatically changing opacity | |
CN101834938A (en) | Device and method for realizing horizontal/vertical screen switching of mobile terminal | |
CN102467383A (en) | Method for implementing tab windows in graphical interface of embedded system | |
CN104135684A (en) | A method and a device for displaying an interface based on a Firefox OS | |
US20170177208A1 (en) | Systems and wearable devices and methods for operating a computer | |
CN103313140A (en) | Television receiving terminal, text information input method and system thereof and mobile terminal | |
CN101446883A (en) | Method for controlling mobile equipment by touch screen | |
CN101661375A (en) | Touch control method, system and display terminal | |
CN103309555A (en) | Focus switching method and device based on multiple windows | |
CN103402132B (en) | A kind of application navigation control method of intelligent television | |
CN103049191B (en) | Splicing wall display system realizes method and the device of mouse interaction operation | |
CN103809852A (en) | Method and device for displaying multiple application programs on same screen at same time | |
CN101833447B (en) | Method for realizing desktop Widget animation by using tweening animation | |
CN103870123A (en) | Information processing method and electronic equipment | |
CN102214060A (en) | Touch electronic device and window control method thereof | |
CN103648043B (en) | Search control method and control device to intelligent television | |
CN103543922A (en) | Focus moving method, system and intelligent equipment | |
CN103561347A (en) | Shortcut menu generation method and device based on browser | |
CN103677492A (en) | Instant messaging window display method and instant messaging client side | |
CN103686066A (en) | Method and client for adjusting segmentation mode of multi-screen play | |
CN103702229A (en) | Method and device for prompting current focus of intelligent television interactive program requesting | |
WO2021142892A1 (en) | Display device, and method for presenting user interface | |
CN105224161A (en) | A kind of method of control terminal screen and terminal | |
CN105630377A (en) | Natural gesture based information display method | |
CN104866201A (en) | Intelligent device and method for triggering editing function of application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |