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 PDF

Info

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
shipping options
options page
current
Prior art date
Application number
CN2010105475935A
Other languages
Chinese (zh)
Other versions
CN102467383B (en
Inventor
南习清
Original Assignee
康佳集团股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 康佳集团股份有限公司 filed Critical 康佳集团股份有限公司
Priority to CN201010547593.5A priority Critical patent/CN102467383B/en
Publication of CN102467383A publication Critical patent/CN102467383A/en
Application granted granted Critical
Publication of CN102467383B publication Critical patent/CN102467383B/en

Links

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

A kind of method that realizes the Shipping Options Page window at the embedded system graphical interfaces

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.
CN201010547593.5A 2010-11-17 2010-11-17 A kind of method that realizes Shipping Options Page window at graphical interface of embedded system CN102467383B (en)

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 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 (3)

* Cited by examiner, † Cited by third party
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

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
魏云华: "在分割窗口中创建TabView的实现方法", 《电脑编程技巧与维护》 *

Cited By (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN102467383B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN103475784B (en) A kind of application program of mobile phone window scheme display and method of operation
CN104603733B (en) User terminal apparatus and its control method
CN103019560B (en) Control the method for interface of mobile terminal, device and mobile terminal
KR101540169B1 (en) Method and device for switching application program of touch screen terminal
CN102521034B (en) Multitask management method and multitask management system based on android system
CN103067569B (en) Method and device of multi-window displaying of smart phone
US9071790B2 (en) Remote control method, remote controller, remote control response method and set-top box
RU2567503C2 (en) Method and apparatus for providing information history associated with time information
US8499243B2 (en) Information processing device, information processing method, recording medium, and integrated circuit
RU2419827C2 (en) Devices, systems and methods regarding plc system fault
CN101924892B (en) Digital television receiving terminal menu displaying method, system and receiving terminal
US9467729B2 (en) Method for remotely controlling smart television
CN103399703B (en) The control method of the system bar of subscriber equipment and subscriber equipment
TWI597621B (en) Mobile communications device, non-transitory computer-readable medium and method of switching screen of mobile communications device from screen locked state to screen unlocked state
CN104049866B (en) The implementation method and device of a kind of mobile terminal and its split screen
CN103543915B (en) Mobile terminal and screen division method thereof
KR20140019088A (en) Display apparatus and method for controlling thereof
WO2017088500A1 (en) Intelligent wearable device and information input method therefor
CN101930337B (en) Method for processing on-screen display and associated embedded system
CN102750146B (en) Based on the method and the IPTV that realize in the IPTV of Android system that analog mouse controls
KR20100052203A (en) Broadcasting display device and control method thereof
WO2014197178A1 (en) User interfaces for multiple displays
CN104461242A (en) Multiwindow interface realization method based on Android operating system
CN101893980B (en) Display method for multi-image viewing interface with sliding animation effect
CN101833417B (en) System for realizing agile window on mobile phone and method thereof

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model