CN102467383B - A kind of method that realizes Shipping Options Page window at graphical interface of embedded system - Google Patents

A kind of method that realizes Shipping Options Page window at graphical interface of embedded system Download PDF

Info

Publication number
CN102467383B
CN102467383B CN201010547593.5A CN201010547593A CN102467383B CN 102467383 B CN102467383 B CN 102467383B CN 201010547593 A CN201010547593 A CN 201010547593A CN 102467383 B CN102467383 B CN 102467383B
Authority
CN
China
Prior art keywords
window
shipping options
options page
current
label
Prior art date
Application number
CN201010547593.5A
Other languages
Chinese (zh)
Other versions
CN102467383A (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 present invention discloses a kind of method that realizes Shipping Options Page window at graphical interface of embedded system, and it comprises the steps: to create first Shipping Options Page window and obtains focus; The left and right directions key of mobile remote control device, according to the position of current label window and directionkeys, creates next label window; Adjust window stack data structure according to the establishment of label window; Highlight current window title according to the location parameter of current window. Method of the present invention has realized establishment and the demonstration of Shipping Options Page window on embedded graphic storehouse, facilitates user's interface switching application directly perceived, quick.

Description

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

Technical field

The present invention relates to embedded system field, relate in particular to a kind of method that realizes Shipping Options Page window at graphical interface of embedded system.

Background technology

Shipping Options Page window is more common on the gui interface of PC, but rarely found on embedded type GUI interface. Particularly in the simple GUI shape library based on frame buffer (framebuffer), do not realize.

In the built-in graphical interface of some Web TVs exploitation at present, substantially all adopt the embedded graphic storehouse of supporting frame buffer, but all do not realize the fundamental figure controls such as the basic window of modern gui interface, label, button, programming efficiency is low, code maintenance difficulty.

Summary of the invention

The object of this invention is to provide a kind of method that realizes Shipping Options Page window at graphical interface of embedded system, thereby improve the development efficiency of built-in graphical interface exploitation.

For solving technical problem of the present invention, the present invention discloses a kind of method that realizes Shipping Options Page window at graphical interface of embedded system, it is characterized in that, comprises the steps:

The first step, creates first Shipping Options Page window and obtains focus;

Second step, the left and right directions key of mobile remote control device, according to the position of current Shipping Options Page window and directionkeys, creates next Shipping Options Page window;

The 3rd step, adjusts window stack data structure according to the establishment of Shipping Options Page window;

The 4th step, highlights current Shipping Options Page window title according to the location parameter of current Shipping Options Page window;

Compared with prior art, the present invention has realized establishment and the demonstration of Shipping Options Page window on the embedded graphic storehouse of supporting frame buffer, facilitates user's interface switching application directly perceived, quick, and simple interface, attractive in appearance, generous, has improved user's development efficiency.

Brief description of the drawings

Fig. 1 is the flow chart that graphical interface of embedded system of the present invention is realized Shipping Options Page windowhood method.

Detailed description of the invention

Graphical interface of embedded system of the present invention is realized subpage window creation, the window stack pointer management that Shipping Options Page windowhood method mainly comprises Shipping Options Page window and is used 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 MSTAR6i78 hardware platform, based on embedded Linux system, based on the embedded type GUI shape library of supporting frame buffer; The main interface of this visual telephone adopts Shipping Options Page mode, comprises that visual telephone address list interface, video dialtone interface, message registration interface and system arrange interface; Wherein, call record interface is the main interface of Shipping Options Page (being also homepage Shipping Options Page window).

Fig. 1 is the flow chart that graphical interface of embedded system of the present invention is realized Shipping Options Page windowhood method. After system starts, enter GUI window events processing threads, then enter the homepage window of Shipping Options Page, in the time of left and right directions key that user uses a teleswitch, just can be switched to corresponding Shipping Options Page window, its concrete process comprises some steps below.

The first step, creates first Shipping Options Page window and obtains focus:

Enter the homepage window of Shipping Options Page, create the homepage window that enters Shipping Options Page, create with N Shipping Options Page window and obtain window focus, highlighted this window title that arranges, other window becomes ash; Prepare to process press key message event; Current Shipping Options Page window order represents with n, as, when current Shipping Options Page window is first Shipping Options Page window, n=1; When current Shipping Options Page window is second Shipping Options Page window, n=2, N is natural number, represents total label number of Shipping Options Page window.

Second step, the left and right directions key of mobile remote control device, according to the position of current Shipping Options Page window and directionkeys, creates next Shipping Options Page window:

When pressing LeftArrow switch labels page window, if current Shipping Options Page window order is first window, i.e. n=1, the Shipping Options Page window creating is last Shipping Options Page window, the Shipping Options Page window sequence valve of establishment is N; If current Shipping Options Page window is not first window, n is not equal to 1, and the Shipping Options Page window sequence valve creating is (n-1);

When pressing right key switch labels page window, if current Shipping Options Page window order is last window, i.e. n=N, the Shipping Options Page window creating is first Shipping Options Page window, the Shipping Options Page window sequence valve of establishment is 1; If current Shipping Options Page window is not last Shipping Options Page window, n is not equal to N, and the Shipping Options Page window sequence valve creating is (n+1).

The 3rd step, adjusts window stack data structure according to the establishment of Shipping Options Page window: check whether window stack has existed the window pointer of new establishment, if existed, adjust window stack data structure, will newly create the stack top of window pointer placement window stack; If window stack, without this window pointer, is directly pressed into window stack by this window pointer.

The 4th step, highlight current Shipping Options Page window title according to the location parameter of current Shipping Options Page window: the location parameter according to current Shipping Options Page window at whole window, highlight current Shipping Options Page window title (highlighting or picture background picture, font adjustment etc.), other non-window title becomes ash and shows; Meanwhile, draw window elements and show at current Shipping Options Page window, obtaining focus, preparing the key-press event message such as response remote controller.

In sum, the present invention has realized establishment and the demonstration of Shipping Options Page window in the shape library of embedded system of supporting frame buffer, successful Application is in the videophone application program based on C2 and MSTAR platform, facilitate user's interface switching application directly perceived, quick, simple interface, attractive in appearance, generous, has improved user's development efficiency.

Shipping Options Page window implementation method of the present invention is not limited to the GUI middleware based on C2 and MSTAR platform, also can the GUI shape library based on other embedded platform realize, as platforms such as DirectFB.

Claims (2)

1. a method that realizes Shipping Options Page window at graphical interface of embedded system, is characterized in that, comprises the steps:
The first step, creates with first Shipping Options Page window of N label and obtains focus;
Second step, the left and right directions key of mobile remote control device;
According to the position of current Shipping Options Page window and directionkeys, create next Shipping Options Page window;
The 3rd step, adjusts window stack data structure according to the establishment of label window;
The 4th step, highlights current window title according to the location parameter of current window;
In the described first step, create with first Shipping Options Page window of N label and obtain current window focus, highlighted this window title that arranges, and other subpage window is become to grey, wherein N is natural number;
In described second step, when pressing LeftArrow switch labels window, if current label window order is first window, be n=1, n is the sequence valve of current window, and the label window 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, n is not equal to 1, and the label window sequence valve creating is n-1;
When pressing right key switch labels window, if current label window order is last window, i.e. n=N, the label window 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, n is not equal to N, and the label window sequence valve creating is n+1;
In described the 3rd step, check whether window stack has existed the window pointer of new establishment, if existed, adjust window stack data structure, will newly create the stack top of window pointer placement window stack; If window stack, without this window pointer, is directly pressed into window stack by this window pointer;
Described embedded system is Linux embedded system, and described Shipping Options Page window is based on embedded type GUI shape library.
2. the method that realizes Shipping Options Page window at graphical interface of embedded system according to claim 1, is characterized in that, in described the 4th step, the location parameter according to current Shipping Options Page window at window, highlights current Shipping Options Page window title.
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 CN102467383A (en) 2012-05-23
CN102467383B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197842B (en) * 2013-04-15 2016-08-31 广州博冠信息科技有限公司 The control method of a kind of application window and device
CN103607660A (en) * 2013-11-22 2014-02-26 乐视致新电子科技(天津)有限公司 Intelligent television interface switching control method and control apparatus
CN106708371B (en) * 2017-01-17 2020-04-07 深圳创维数字技术有限公司 Method and system for realizing focus control of browser

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的实现方法;魏云华;《电脑编程技巧与维护》;20051231;22-26 *

Also Published As

Publication number Publication date
CN102467383A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
US9088749B2 (en) Method, apparatus and system for mobile terminal to remotely control television
CN103067569B (en) Method and device of multi-window displaying of smart phone
JP5646687B2 (en) Adaptive streaming for on-demand wireless services
KR101535365B1 (en) Power saving application update in a portable electronic device
CN103399703B (en) The control method of the system bar of subscriber equipment and subscriber equipment
US8595371B2 (en) Sending a remote user interface
JP6133318B2 (en) Cross window animation
CN1249592C (en) Virtual device architecture for mobile telephones
US8499243B2 (en) Information processing device, information processing method, recording medium, and integrated circuit
US9164608B2 (en) Apparatus and method for adjusting touch sensitivity in mobile terminal
CN102841732B (en) The method and device of task management in a kind of terminal
US20170168542A1 (en) Method for playing video and electronic device
US20130212541A1 (en) Method, a device and a system for receiving user input
CN102298503B (en) Method and device for displaying contents on mobile terminal list interface
US20150296071A1 (en) Terminal apparatus and method of controlling terminal apparatus with multi-tasking features
US20110193878A1 (en) Method and apparatus for providing history of information associated to time information
US20080184128A1 (en) Mobile device user interface for remote interaction
CN103645897A (en) Mobile terminal and operation method thereof
CN101639973B (en) Management method for remote controller
EP2288124A1 (en) A mobile terminal and method for providing user shortcut operation
WO2013060245A1 (en) Method and device for image-capturing application screen for use in mobile terminal
CN103019560A (en) Method and device for controlling interface of mobile terminal and mobile terminal
CN103079021A (en) Method, system and device for controlling intelligent household electrical appliance through mobile terminal
KR100752630B1 (en) A method and system of computer remote control that optimized for low bandwidth network and low level personal communication terminal device
CN101661375B (en) Touch control method, system and display terminal

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