CN101566949B - Device and method for displaying control - Google Patents

Device and method for displaying control Download PDF

Info

Publication number
CN101566949B
CN101566949B CN 200910138458 CN200910138458A CN101566949B CN 101566949 B CN101566949 B CN 101566949B CN 200910138458 CN200910138458 CN 200910138458 CN 200910138458 A CN200910138458 A CN 200910138458A CN 101566949 B CN101566949 B CN 101566949B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
displaying
control
module
according
instruction
Prior art date
Application number
CN 200910138458
Other languages
Chinese (zh)
Other versions
CN101566949A (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
Grant date

Links

Abstract

The present invention discloses a device and a method for displaying the control. The device comprises a first displaying module and a second displaying module. The first displaying modules receives the starting instruction, displays each control according to a first mode and transmits the displaying instruction to the second displaying module after a converting triggering is received. The seconddisplaying module displays each control according to a second mode after the displaying instruction from the first displaying module is received. The method comprises the following steps: receiving the starting instruction; displaying each control according to the first mode; and after receiving the converting triggering, displaying each control according to the second mode. The controls can be displayed through different displaying modes and the usage factor of the displaying space is increased according to the invention.

Description

ー种展示控件的装置及方法ー kinds of display device and method for control

技术领域 FIELD

[0001] 本发明涉及计算机技术领域,尤其涉及ー种展示控件的装置及方法。 [0001] The present invention relates to computer technology, and in particular showing a control apparatus and method relates ー species.

背景技术 Background technique

[0002]目前,计算机在展示图片、按钮等控件时,只能采用固定的展示风格进行展示,例如,依次展示各个控件,或者,将待展示的所有控件一次性地全部展示给用户。 [0002] Currently, a computer when showing pictures, buttons and other controls, but to use a fixed display style on display, for example, in order to show the various controls, or, all the controls to be displayed all at once to the user.

[0003] 没有被当前需要显示的内容占用的显示空间可以称为空白空间。 [0003] not need to display the current contents of the space occupied by the display can be called white space. 实际工作生活中,不同的情况下的显示界面的空白空间的大小是不确定的,而不同的展示风格占用的显示空间通常不同,因此,无论采用哪种固定的展示风格来展示控件,都存在显示空间的利用率较低的问题。 The actual work life, the size of the blank space of a display screen under different circumstances is uncertain, and different styles of display space normally occupied by the display is different, so, what kind of style regardless of the fixed display to show the controls, there lower utilization of display space problems. 比如,假设当前的空白空间较大,而第一展示风格占用的显示空间较小,则如果此时采用第一展示风格展示控件,将有部分空白空间没有被充分利用;再比如,假设当前的空白空间较小,第二展示风格占用的显示空间较大,如果此时采用第二展示风格展示控件,将有其他当前需要显示的内容被覆盖,显示空间的利用率较低。 For example, assumed that the current larger empty space, and the first display style occupied display space is small, if at this time the display control using the first display style, there will be some empty space is not fully utilized; another example, assumed that the current small blank space, the second show style display space occupied by the larger, if used at this time the second show style display controls, will need to have other contents of the current display is covered, low utilization of display space.

发明内容 SUMMARY

[0004] 有鉴于此,本发明实施例的目的在于提供ー种展示控件的装置及方法,以实现通过不同的展示风格展示控件,从而提高显示空间的利用率。 [0004] In view of this, an object of embodiments of the present invention to provide a display control apparatus and method ー species, in order to achieve different display styles display control, thereby improving the utilization of the display space.

[0005] 为达到上述目的,本发明实施例的技术方案具体是这样实现的: [0005] To achieve the above object, the technical solution of the embodiments of the present invention is specifically implemented as follows:

[0006] ー种展示控件的装置,该装置包括第一展示模块、第二展示模块、缓存模块和同步模块; [0006] The display control apparatus ー species, the apparatus comprising a first display module, a second display module, a cache module and a synchronization module;

[0007] 第一展示模块,接收启动指示,按照第一方式展示各个控件,接收转换触发后,向第二展示模块发送展示指示; [0007] The first display module for receiving start instruction, each of the display control according to the first embodiment, after receiving the conversion trigger, the second display module transmits display indication;

[0008] 第二展示模块,接收来自第一展示模块的展示指示后,按照第二方式展示各个控件; [0008] The second display module, after receiving the display instruction from the first display module showing a second embodiment in accordance with each control;

[0009] 其中,所述第一展示模块和所述第二展示模块通过对第一排布容器进行两次实例化,两次实例化过程中向所述第一排布容器中填充不同的孩子控件,并对孩子控件的參数进行不同的设置得到,所述的孩子控件包括第二排布容器; [0009] wherein, the first display module and the second display module by arranging a first example of two containers, two examples of the process of arranging the first container is filled to a different child control, child control parameters and different settings obtained, the child control arrangement comprises a second container;

[0010] 所述缓存模块,用于缓存第一展示模块和/或第二展示模块中存储的各个控件数据; [0010] The buffering module, for each of the first display data caching control module and / or stored in the second display module;

[0011] 所述同步模块,与缓存模块、第一展示模块和第二展示模块相连,监听第一展示模块和第二展示模块中存储的控件数据是否发生变化; [0011] The synchronization module, connected with the cache module, a first display module and a second display module, the control module and the first display data listener second display module whether the stored changes;

[0012] 所述缓存模块每次更新控件数据后,都将更新的控件数据发给第一展示模块和第ニ展示模块中控件数据没有发生变化的一方,或者,所述同步模块在第一模块或第二模块中存储的控件数据发送变化时,通知缓存模块更新控件数据,并通知第一展示模块和第二展示模块中数据没有发生变化的一方从缓存模块中获取更新的控件数据; After [0012] The cache update control module each time data are updated control data to the one of the first display module and the display module controls data writing is not changed, or, in the synchronization module of the first module or the second control data stored in the transmission module changes, the notification control module updates the data cache, and notifies one of the first display module and a second display module data that does not change the control data acquired from the update cache module;

[0013] 所述第一展示模块和/或第二展示模块中的第二排布容器从缓存模块中获取更新的控件数据并显示相应的控件。 [0013] The first display module and / or the second display module arranged in a second container acquires updated data from the cache control module and displays the appropriate controls.

[0014] ー种展示控件的方法,该方法包括: [0014] The method ー kinds of display control, the method comprising:

[0015] 接收启动指示,按照第一方式展示各个控件,接收转换触发后,按照第二方式展示各个控件; [0015] start instruction received, showing a first embodiment in accordance with the respective control, after receiving the trigger conversion, showing a second embodiment in accordance with each control;

[0016] 其中,通过对第一排布容器进行两次实例化,两次实例化过程中向所述第一排布容器中填充不同的孩子控件,并对孩子控件的參数进行不同的设置,实现按照第一方式展示各个控件和按照第二方式展示各个控件,所述的孩子控件包括第二排布容器; [0016] wherein, by the arrangement of the first two examples of the container, during the filling of two different examples of child control arrangement to the first container, and a child control parameters set differently , to achieve various control and display the respective display control according to the second embodiment, the child controls include a second container arranged according to a first embodiment;

[0017] 监听第一展示模块和第二展示模块中存储的控件数据是否发生变化,若是,则缓存更新后的控件数据,并通知第一展示模块和第二展示模块中数据没有发生变化的一方获取更新后的控件数据,或将更新后的控件数据发给第一展示模块和第二展示模块中数据没有发生变化的一方; [0017] The first display module and a monitor module stored in the second display control data is changed, and if yes, the cache update control data, and notifies the first display module and one module does not change the data in a second display obtain an updated control data, or control data sent to the updated first display module and the second one of the data display module is not changed;

[0018] 所述第二排布容器获取或接收更新的控件数据,并显示相应的控件。 [0018] The arrangement of the second container retrieved or received control data updates and displays the corresponding control.

[0019] 由上述技术方案可见,本发明提供的技术方案在展示控件时,先按照第一方式展示各个控件,接收转换触发后,再按照第二方式展示各个控件,与现有技术相比,能够根据用户的指令通过不同的展示风格展示控件,从而使得用户可以根据当前显示界面的空白空间,选择相应的展示风格来展示控件,从而提高了显示空间的利用率。 [0019] can be seen from the above technical solutions, the present invention provides a technical solution when display control to display the various controls in accordance with a first embodiment, after receiving the trigger conversion, and then display the various controls in accordance with the second embodiment, compared with the prior art, through the different display styles display control so that the user according to the user's instruction can empty space in the current display screen, select the appropriate display style to display control, thereby improving the utilization of the display space. 例如,如果当前显示界面的空白空间较小,则可以选择占用显示空间较小的显示方式,反之,则可以选择占用显示空间较大的显示方式。 For example, if a blank space in the current display screen is small, you can choose to display a smaller space occupied by the display mode, and vice versa, you can select a larger display space occupied by the display mode.

附图说明 BRIEF DESCRIPTION

[0020] 图I是本发明提供的展示控件的装置的第一结构图。 [0020] Figure I is a first configuration diagram showing a control apparatus of the present invention is provided.

[0021] 图2是本发明提供的展示装置中第一展示模块101的详细结构图。 [0021] FIG. 2 shows the device according to the present invention is provided by the first display module 101 of the detailed configuration of FIG.

[0022] 图3是第一展示模块101的层次结构图。 [0022] FIG. 3 is a hierarchy diagram showing a first module 101.

[0023] 图4是本发明提供的展示装置中第二展示模块102的详细结构图。 [0023] FIG 4 is a detailed structural view showing the apparatus of the present invention provides a second display module 102.

[0024] 图5是第二展示模块102的层次结构图。 [0024] FIG. 5 is a hierarchy second display module 102 of FIG.

[0025] 图6是本发明提供的展示控件的装置的第二结构图。 [0025] FIG. 6 is a second configuration diagram showing a control apparatus of the present invention is provided.

[0026] 图7是利用本发明提供的展示控件的装置中的第一展示模块101展示皮肤安装包图片的效果图。 [0026] FIG. 7 is a display control apparatus of the present invention provides the use of the first display module 101 of FIG showing the effect of skin-mountable package image.

[0027] 图8是利用本发明提供的展示控件的装置中的第二展示模块102展示皮肤安装包图片的效果图。 [0027] FIG. 8 is a display control apparatus of the present invention provides the use of a second display module 102 of FIG showing the effect of skin-mountable package image.

[0028] 图9是本发明提供的展示控件的方法流程图。 [0028] FIG. 9 shows the control method of the present invention provides a flow chart.

[0029] 图10是接收启动指示并创建第一展示模块的流程图。 [0029] FIG. 10 is a flowchart of the reception start instruction and the first display module created.

[0030] 图11是弹出第二展示模块的流程图。 [0030] FIG. 11 is a flowchart showing a second pop-up module.

[0031] 图12是第二展示模块隐藏后重新显示第一展示模块的处理流程图。 [0031] FIG. 12 is a flowchart showing a first module of the second display module redisplay hidden.

[0032] 图13是实现第一展示模块和第二展示模块的展示效果同步的流程图。 [0032] FIG. 13 is a display effect achieved first display module and the second module is a flowchart showing synchronization.

具体实施方式 detailed description

[0033] 为使本发明的目的、技术方案及优点更加清楚明白,以下參照附图并举实施例,对本发明进一歩详细说明。 [0033] To make the objectives, technical solutions and advantages of the present invention will become more apparent, with reference to the accompanying drawings and the following embodiments, the present invention will be described in detail into a ho. [0034] 本发明提供的展示控件的装置包括展示模块,用于接收启动指示,按照第一方式展示各个控件,接收转换触发后,按照第二方式展示各个控件。 [0034] The display control apparatus according to the present invention comprises display means for receiving a start instruction, each of the display control according to the first embodiment, after receiving the trigger conversion, showing a second embodiment according to the respective control.

[0035] 图I是本发明提供的展示控件的装置的第一结构图,如图I所示,该装置包括第一展示模块101和第二展示模块102。 [0035] Figure I is a first configuration diagram showing a control apparatus of the present invention provides, as shown in FIG. I, the apparatus comprises a first display module 101 and second display module 102.

[0036] 第一展示模块101,接收启动指示,按照第一方式展示各个控件,接收转换触发后,向第二展示模块102发送展示指示。 [0036] The first display module 101, receives the start instruction, each of the display control according to the first embodiment, after receiving the conversion is to send an indication to display a second display module 102.

[0037] 第二展示模块102,接收来自第一展示模块101的展示指示后,按照第二方式展示各个控件。 [0037] The second display module 102, after receiving the instruction from the display of the first display module 101 according to the second embodiment showing the controls.

[0038] 其中,第一展示模块101,接收启动指示,按照各个控件被压入第一展示模块101的顺序存储所述各个控件,设置显示控件的窗ロ高度,接收上翻触发和/或下翻触发,根据所述窗ロ高度以及上翻触发和/或下翻触发,显示相应存储位置的控件,接收转换触发,向第二展示模块102发送展示指示。 [0038] wherein the first display module 101, receives the start instruction, in accordance with the respective control is added sequentially store the respective first display control module 101, a display window ro height control, turn on the receiver and the trigger / or lower turn trigger, based on the window height and the upturned ro turn trigger the trigger and / or, the display control corresponding to the storage location, the reception conversion trigger, send an indication to display a second display module 102. 第一展示模块101也可称为内嵌窗ロ模块。 The first display module 101 may also be referred to as an embedded window ro modules.

[0039] 第二展示模块102,按照各个控件被压入第二展示模块102的顺序存储所述各个控件,设置显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器存储的控件行数,若是,显示存储的所有控件,若否,显示滚动条,根据接收的滚动触发以及所述窗ロ高度显示相应存储位置的控件。 [0039] The second display module 102, according to each control is added sequentially stored in each of the 102 controls a second display module, a display control window height ro, ro is determined whether the height of the window is greater than the second storage container arranged control the number of rows, and if so, display-all control storage, if not, scroll bars, scroll according to the received trigger and control the height of the display window ro corresponding memory location. 第二展示模块102也可称为下拉窗ロ模块。 Second display module 102 may also be referred to as a pull-down window ro module.

[0040] 图2是本发明提供的展示装置中第一展示模块101的详细结构图,如图2所示,第一展不模块101包括第一排布容器1011、第二排布容器1012、转换模块1013、滚动条工具栏1014、上翻页按钮1015和下翻页按钮1016。 [0040] FIG. 2 shows the device according to the present invention is provided by the first display module 101 of the detailed structure, shown in Figure 2 does not show the first module 101 comprises a first arrangement of container 1011, the container 1012 of the second arrangement, conversion module 1013, a scroll bar toolbar 1014, page up button 1015 and the page down button 1016.

[0041] 第一排布容器1011,用于对第二排布容器1012、转换模块1013、滚动条工具栏1014、上翻页按钮1015和下翻页按钮1016进行布局控制。 [0041] The first arrangement of container 1011, a second arrangement for container 1012, conversion module 1013, a scroll bar toolbar 1014, page up button 1015 and the page down button 1016 for layout control.

[0042] 第二排布容器1012,用于按照各个控件被压入该第二排布容器1012的顺序存储所述各个控件,接收上翻页按钮1015发来的上翻指示和/或下翻页按钮1016发来的下翻指示,根据滚动条工具栏1014设置的窗ロ高度,以及接收的上翻指示和/或下翻指示,显示相应存储位置的控件。 [0042] The second container arrangement 1012, in accordance with each control for sequentially stored is pressed into each of the 1012 control arrangement of the second container, receiving the sent page button 1015 indicating turn on the turn and / or lower next page button 1016 turn sent to indicate, according ro the height of the scroll bar toolbar window 1014 is provided, and turn on the received indication turn indication and / or, the display control corresponding memory location.

[0043] 滚动条工具栏1014,用于设置第二排布容器1012显示控件的窗ロ高度。 [0043] The scroll bar 1014 toolbar, a window for setting a second display control arrangement of container 1012 ro height.

[0044] 上翻页按钮1015,用于接收上翻触发,向第二排布容器1012发送上翻指示。 Page [0044] button 1015 for turn on the trigger received, indicates to turn on the second container 1012 transmission arrangement.

[0045] 下翻页按钮1016,用于接收下翻触发,向第二排布容器1012发送下翻指示。 [0045] The next page button 1016, next turn for receiving a trigger, to turn the second indication 1012 transmission arrangement container.

[0046] 转换模块1013,用于接收转换触发,向第二展示模块102发送展示指示。 [0046] Conversion module 1013 for receiving a conversion trigger, send an indication to display a second display module 102.

[0047] 图3是第一展示模块101的层次结构图,其示出了第一展示模块101各组成部分的层次关系。 [0047] FIG. 3 is a hierarchy diagram showing a first block 101, which illustrates the hierarchical relationship of the components of the first display module 101.

[0048] 如图3所示,在第一排布容器1011中布局有第二排布容器1012、转换模块1013、滚动条工具栏1014、上翻页按钮1015和下翻页按钮1016。 [0048] As shown in FIG. 3, 1011 in a first container arranged in the second arrangement layout container 1012, conversion module 1013, a scroll bar toolbar 1014, page up button 1015 and the page down button 1016. 滚动条工具栏1014用于对第二排布容器1012中存储的控件进行滚动控制,并设置第二排布容器1012显示控件的窗ロ高度,通常该窗ロ高度小于第二排布容器1012中存储的控件行数,为节省显示空间,一般取为I行。 Toolbar 1014 scroll bar arrangement for the second container 1012 controls are stored in the scroll control, and sets the second control 1012 displays a window arranged ro the height of the container, usually less than a second height of the window arrangement ro vessel 1012 the number of control lines stored in order to save display space, and generally I-line. 各个待显示的控件被压入到第二排布容器1012中。 Controls to be displayed of each is pressed into the second vessel 1012 are arranged.

[0049] 图4是本发明提供的展示装置中第二展示模块102的详细结构图,如图4所示,第ニ展示模块102包括第一排布容器1021、第二排布容器1022、滚动条工具栏1023和浮动窗ロ1024。 [0049] Figure 4 is the apparatus of the present invention provides a second display module 102 of the detailed structure, as shown in FIG, 4 shows a first Ni module 102 includes a first arrangement of container 1021, the container 1022 of the second arrangement, the rolling Article toolbars and floating windows 1023 ro 1024. [0050] 第一排布容器1021,用于对第二排布容器1022和滚动条工具栏1023进行布局控制。 [0050] The first arrangement of container 1021, a second arrangement for the container 1022 and a scroll bar 1023 for layout control toolbar.

[0051] 第二排布容器1022,用于按照各个控件被压入该第二排布容器1022的顺序存储所述各个控件,接收滚动条工具栏1023发来的大于指示,显示存储的所有控件,或者,接收滚动条工具栏1023发来的小于指示和滚动位置指示,根据所述滚动位置和滚动条工具栏1023设置的窗ロ高度显示相应存储位置的控件; [0051] The second container arrangement 1022, in accordance with each control for sequentially stored is pressed into each of the 1022 control arrangement of the second container, higher than the command receiving rolling sent toolbar 1023 bar, all the controls to display the stored or, receiving a scroll bar indicating the toolbar is smaller than 1023 and sent to the scroll position indicator, according to the scroll bar and scroll position toolbar window 1023 is provided a display control ro height corresponding memory location;

[0052] 滚动条工具栏1023,用于设置第二排布容器1022显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器1022存储的控件行数,若是,向该第二排布容器1022发送大于指示,否则向该排布容器1022发送小于指示并显示滚动条,根据接收的滚动触发向第ニ排布容器1022发送滚动位置指示。 The number of control lines [0052] The scrollbar tool bar 1023, a second arrangement is provided for the container 1022 controls display window height ro, ro is determined that the window is greater than the height of the second container 1022 stored in the arrangement, if, to the first two vessel arrangement 1022 transmits greater than indicated otherwise arranged to transmit the container 1022 is smaller than the scroll bar and displaying an indication, according to the received first scroll trigger ni container arrangement position indication 1022 transmission scroll.

[0053] 浮动窗ロ1024,用于显示第二排布容器1022所要显示的控件。 [0053] ro floating window 1024, the control arrangement of the second container 1022 to be displayed for displaying.

[0054] 图5是第二展示模块102的层次结构图,其示出了第二展示模块102各组成部分的层次关系。 [0054] FIG. 5 is a hierarchy diagram showing a second module 102, which shows the hierarchy of various components of the second display module 102.

[0055] 如图5所示,在第一排布容器1021中布局有第二排布容器1022和滚动条工具栏1023,第一排布容器1021、第二排布容器1022和滚动条工具栏1023均通过浮动窗ロ1024进行显示。 [0055] 5, 1021 in a first container arranged in the second arrangement layout container 1022 and a scroll bar toolbar 1023, a first arrangement of container 1021, the container 1022 and a second arrangement of the scroll Toolbar 1023 ro 1024 are displayed via a floating window.

[0056] 以上所述的滚动条工具栏可以采用类MFC的Scroll bar实现。 [0056] The above-described scroll type Toolbar may be employed to achieve the MFC Scroll bar. 如果第一排布容器中除所述滚动条工具栏以外的模块被删除,则所述滚动条工具栏将撑满整个第一容器。 If the first arrangement of the container other than the scroll bar module toolbar is deleted, then the scroll bar over the entire toolbar will hold the first container.

[0057] 第二排布容器1012和第二排布容器1022都可以突出显示当前被选中的控件。 [0057] The arrangement of the second container 1012 and a second container 1022 can be arranged highlighting the currently selected control.

[0058] 第一展示模块101和/或第二展示模块102还可以进ー步包括键盘操作模块。 [0058] The first display module 101 and / or the second display module 102 may also include a further feed ー keyboard module.

[0059] 所述键盘操作模块,用于接收键盘输入,根据第二排布容器每行最多显示的控件个数将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置,将当前被选中控件的存储位置发给第ニ排布容器。 [0059] The keyboard module for receiving a keyboard input, a maximum number of display control according to the second container of each row are arranged to receive keyboard input key value is converted into integer variables, and based on the integer variable receiving said keyboard the control input before the selected storage location currently selected control calculates a storage position, the currently selected memory location is sent to the control arrangement of ni container. 第ニ排布容器根据该存储位置突出显示当前被选中的控件。 A first container arranged ni highlights the currently selected storage location based on the control.

[0060] 其中,将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置包括: [0060] wherein the received keyboard input key value is converted to integer variables, calculates a current control according to the selected storage location prior to the shaping of the receiving keyboard input variable and controls the selected storage location comprises:

[0061] 如果键盘输入键值是向上,则将接收所述键盘输入前被选中控件的存储位置减去每行最多显示的控件个数,即,将“向上”这ー键值转换为“每行最多显示的控件个数的相反数”这ー整形变量,再将接收所述键盘输入前被选中控件的存储位置与所述整形变量相カロ,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向下,则将接收所述键盘输入前被选中控件的存储位置加上每行最多显示的控件个数,即,将“向下”这ー键值转换为“每行最多显示的控件个数”这ー整形变量,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向左,则将接收所述键盘输入前被选中控件的存储位置减去1,即,将“向左”这ー键值转换为“-I”这ー整形变量,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向右,则将接收所述键 [0061] * If the keyboard input keys upward, then the keyboard input is received by subtracting the number of storage locations of the selected widget control in each line of the display, i.e., the "up" which translates as "each key ーmaximum line number of controls displayed opposite the number "this ー integer variables, and then receives the selected control prior to said storage position and the keyboard input variable phase shaping ro grades, the result obtained for the control of the currently selected memory location; if the number of control keys is downwardly keyboard input, the received prior to said selected control keyboard storage position plus each line of the display, i.e., the "down" key which is converted to ー "in each line the number of controls displayed "this ー integer variables, the results of control currently selected storage location; if the key input is a key to the left, then subtracting the selected receiving said control memory location before a keyboard input, i.e., , the "left" key ー this translates to "-I" this ー integer variables, the results of control currently selected storage location; if the key input is the right key, the key will be received 盘输入前被选中控件的存储位置加上1,即,将“向右”这ー键值转换为“ I ”这ー整形变量,所得结果为当前被选中控件的存储位置。 The selected control input disk before storage location plus 1, i.e., the "right" key which ー converted to "I" which ー integer variables, results obtained for the control currently selected storage location.

[0062] 为了实现不同展示风格所展示的效果达到同歩,S卩,如果采用某种风格展示控件过程中,对控件数据进行了修改,则在转换为另一种风格展示控件时,应该根据修改后的控件数据采用所述另ー种风格进行控件展示,为此,本发明提供了又一展示装置的实施例。 [0062] In order to display different styles to achieve the same effect exhibited ho, S Jie, if a certain style display process control, control of the data has been modified, at the transition to another display style control should be based on control data using said further modified ー styles for display control, this end, the present invention provides a further embodiment of the display device. [0063] 图6是本发明提供的展示控件的装置的第二结构图。 [0063] FIG. 6 is a second configuration diagram showing a control apparatus of the present invention is provided. 图6所示装置在图I至图5中任一图所示的装置基础上,进ー步包括了缓存模块601和同步模块602。 In the apparatus shown in FIG. 6 to FIG base I shown in FIG. 5 FIG apparatus of any one of the intake ー further comprises a buffering module 601 and a synchronization module 602.

[0064] 缓存模块601,用于缓存第一展示模块101和/或第二展示模块102中存储的各个控件数据,井根据同步模块602的通知,实时更新控件数据。 [0064] The cache module 601, configured to buffer the first display module 101 and / or the second display control data stored in the respective module 102, according to the well to the synchronization module 602, control data is updated in real time.

[0065] 同步模块602,与缓存模块601、第一展示模块101和第二展示模块102相连,监听第一展示模块101和第二展示模块102中存储的控件数据是否发生变化,若是,则通知缓存模块601更新控件数据,并通知第一展示模块101和第二展示模块102中数据没有发生变化的一方从缓存模块601中获取更新的控件数据。 [0065] The synchronization module 602, and cache module 601, the first display 101 and second display module is connected to module 102, monitor module 101 and a second first display module 102 stored in the display control data is changed, and if yes, the notification cache module 601 updates the control data, and notifies the first display module 101 and one of the second display module 102 does not change the data acquired from the cache data update control module 601.

[0066] 第一展示模块101和/或第二展示模块102从缓存模块601中获取控件数据并显示相应的控件。 [0066] The first display module 101 and / or the second display module 102 acquires data from the buffer control module 601 and displays the corresponding control. [0067] 或者,缓存模块601,用于缓存第一展示模块101和/或第二展示模块102中存储的各个控件数据,毎次更新控件数据后,都将更新的控件数据发给第一展示模块101和/或第二展示模块102中控件数据没有发生变化的一方。 [0067] Alternatively, the cache module 601 for and / or the second display module 102 each control data stored in the cache of the first display module 101, control data is updated every time, all the updated data to the first display control module and / or the second display control module 102 is one that does not change the data 101 occurs.

[0068] 同步模块602,与缓存模块601、第一展示模块101和第二展示模块102相连,监听第一展示模块101和第二展示模块102中的控件数据是否发生变化,若是,则通知缓存模块601更新控件数据。 [0068] The synchronization module 602, and cache module 601, the first display 101 and second display module is connected to module 102, control data listener first display module 101 and second display module 102 changes whether, and if yes, notifies the cache module 601 updates the control data.

[0069] 第一展示模块101和/或第二展示模块102接收缓存模块601发来的控件数据,并显示相应的控件。 [0069] The first display module 101 and / or the second display module 102 receives the buffer control module 601 to send data, and displays the appropriate controls.

[0070] 上述的各个展示控件的装置中,第一展示模块101和第二展示模块102在同一时刻一方处于显不状态,另一方处于隐藏状态。 Each of the display control apparatus of [0070], the first display module 101 and second display module 102 at the same time in one state is not significant, the other is hidden.

[0071] 上述的各个展示控件的装置中,所展示的控件可以是图片、按钮等适于进行展示的控件或控件的组合。 [0071] each of the above-described display control apparatus, the control can be illustrated picture, display button or the like is adapted to control or combined control.

[0072] 上述的各个展示控件的装置可以在多种场景下应用,下面以即时通讯场景为例,具体介绍其应用方法。 [0072] each of the display control apparatus may be applied in a variety of scenarios, scenario as an example below to chat, specifically describes methods for their use.

[0073] 当前的即时通讯客户端为用户提供了更换皮肤和/或背景图片的功能,目前,SP时通讯客户端从服务器端拉取皮肤安装包的名称和/或背景图片的名称等文字信息,将拉取的文字信息显示给用户,用户根据该文字信息选择皮肤安装包和/或背景图片,显然,这种更换皮肤和/或背景图片的方法不够直观。 [0073] The current instant messaging client provides the replacement of the skin and / or background image functionality to users, at present, SP time communications client from the server side to pull the skin installation package name and / or background image name and other textual information , the pull of the character information displayed to the user, the user selection skin installation package and / or background image based on the character information, it is apparent that the replacement of the skin and / or background image is not intuitive method.

[0074] 本发明提出,由即时通讯客户端从服务器端拉取皮肤安装包的主题皮肤图片和/或背景图片,通过本发明提供的展示控件的装置或方法,来展示拉取的图片,根据用户选中图片并确认应用该图片对应的皮肤安装包或确认将该图片应用为背景图片的触发,更新即时通讯客户端的皮肤和/或背景图片。 [0074] The present invention provides, by the IM client to pull the skin installation package from the server relating to the skin images and / or background image, by a means or method of display control according to the present invention is provided to show the pulled image, according to users select the picture and confirms the application of the picture corresponding to the skin installation package or confirm the picture to trigger the application of the background image, update instant messaging client of the skin and / or background image. 所述的主题皮肤图片是相应皮肤按照包的预览图。 The images relating to skin in accordance with the corresponding preview skin package.

[0075] 上述展示控件的装置中的展示模块与即时通讯客户端的主面板皮肤工具栏或者皮肤设置中心相连,通过主面板皮肤工具栏或者皮肤设置中心接收启动指示。 Means [0075] The display control in the display module and the instant messaging client toolbar main panel skin or skin disposed Center, and receives the start instruction through the main panel of the skin set the center bar or the skin.

[0076] 在展示皮肤安装包图片的应用背景下,展示模块中的第二排布容器还可以进ー步划分为系统皮肤模块、自定义皮肤模块和推荐皮肤模块。 [0076] In the application display image background skin installation package, showing the module arrangement of a second container may also be further divided into the intake system of the skin ー modules, custom modules skin and skin recommendation module.

[0077] 所述系统皮肤模块,存储并显示系统默认皮肤安装包的主题皮肤图片。 The [0077] skin system modules, the system stores and displays the default skin Skin image relating to the installation package.

[0078] 所述自定义皮肤模块,存储并显示已经下载到本地的皮肤安装包的主题皮肤图片。 [0078] The skin custom module, stores and displays have been downloaded to the local skin Skin image relating to the installation package. [0079] 所述推荐皮肤模块,存储并显示尚未下载到本地的皮肤安装包的主题皮肤图片。 [0079] The recommendation skin module, storage and display of skin has not been downloaded to the local installation package of theme skin picture.

[0080] 如果用户选中图片并确认启用该选中图片对应的皮肤安装包,则如果该主题皮肤图片位于自定义皮肤模块中,直接安装并启用相应皮肤安装包,如果该主题皮肤图片位于推荐皮肤模块中,先下载相应皮肤安装包再安装并启用所述皮肤安装包。 [0080] If the user select the picture and make sure to enable the selected picture corresponds to the skin installation package, if the topic Skin image is located in a custom skin module, directly installed and enabled the appropriate skin installation package, if the topic Skin image of the recommended skin module , the respective first download and install the skin installation package enabling the skin-mountable package.

[0081] 图7是利用本发明提供的展示控件的装置中的第一展示模块101展示皮肤安装包的主题皮肤图片的效果图。 [0081] FIG. 7 is a display control apparatus of the present invention provides the use of the first display in the display module 101 relating to the installation package skin Skin image renderings.

[0082] 如图7所示,展示控件的装置(即图7中“皮肤管理”下面的用于展示第一行图片的装置)通过皮肤设置中心(即框选的“皮肤”)来启用。 [0082] As shown in FIG 7, the control apparatus (i.e., FIG. 7 "skin management" means for following a first row of the display image) display is enabled by setting the center of the skin (i.e. marquee "skin").

[0083] 图7中,第一展示模块101中的滚动条工具栏1014设置的显示窗ロ高度是I行,第二排布容器1012中每行存储4个主题皮肤图片,图7中第I行图片中右侧位于最上方的向上的单箭头为上翻页按钮1015、位于中间的向下的单箭头为下翻页按钮1016、位于最下方的向下的带有横线的箭头是转换模块1013。 In [0083] FIG. 7, the display window of the first scroll bar toolbar display module 101 is provided ro 1014 I-line height, a second container arranged in each row 1012 relating to the skin picture store 4, 7 I of FIG. line up the picture located to the right of the uppermost single arrows on turning button 1015 is located in the middle of the downward arrow for the next single page button 1016 is located in the lowermost horizontal line with a downward arrow is converted module 1013.

[0084] 假设第二排布容器1012中存储有3行图片,当前显示的是第I行主题皮肤图片,则上翻页按钮1015灰选,即当前不可用,如果下翻页按钮1016接收到用户点击,即接收到下翻触发,则向第二排布容器1012发送下翻指示,第二排布容器1012根据该下翻指示显示第2行主题皮肤图片;如果当前显示的是第3行主题皮肤图片,则下翻页按钮1016灰选,即当前不可用,如果上翻页按钮1015接收到用户点击,即接收到上翻触发,则向第二排布容器1012发送上翻指示,第二排布容器1012根据该上翻指示显示第2行主题皮肤图片。 [0084] Assuming that the second vessel 1012 are arranged in three rows stored picture currently displayed is the picture of the skin relating to the first row I, page up button 1015 is selected from the ash, i.e. currently unavailable, if the next page button 1016 is received the user clicks, i.e., receipt of the next turn trigger 1012 is turned to the second arrangement indicate the transmitting container, the second container 1012 are arranged to turn instructs the display line 2 based on the image relating to the skin; if the currently displayed line 3 skin image theme, the next page button 1016 is selected from ash, i.e. currently unavailable, if the next page button 1015 receives the user clicks, i.e., turn on the received trigger, the indication to turn on the second container 1012 transmission arrangement, the first two vessel arrangement line 1012 to turn instructs the display 2 on the basis of the image relating to the skin.

[0085]当转换模块1013接收到用户点击,即接收到转换触发时,如果这是第一展示模块101被创建后、转换模块1013首次接收到转换触发,则开始创建第二展示模块102,如果不是首次接收到转换触发,则显示已经创建的第二展示模块102。 [0085] When the switch module 1013 receives the user clicks on, i.e. converter receiving the trigger, if this is the first display module 101 is created, conversion module 1013 converts the first received trigger, the second display module 102 starts creating, if not for the first time received conversion trigger, the second display module 102 displays have been created.

[0086] 图8是利用本发明提供的展示控件的装置中的第二展示模块102展示皮肤安装包的主题皮肤图片的效果图。 [0086] FIG. 8 is a display control apparatus of the present invention provides the use of the second display in the display module 102 relating to the installation package skin Skin image renderings.

[0087] 參见图8,第二展示模块102以浮动窗ロ形式展示图片,第二展示模块102中的滚动条工具栏1023设置的显示窗ロ高度是3行,由于第二排布容器1022中一共仅有3行主题皮肤图片,因此右侧没有出现滚动条,如果滚动条工具栏1023设置的显示窗ロ高度是2行,则右侧将出现滚动条,当用户拖动该滚动条时,滚动条工具栏1023根据用户的拖动操作向第二排布容器1022发送相应的滚动位置指示,第二排布容器1022根据该滚动位置指示更新当前处于显示窗ロ中的主题皮肤图片。 [0087] Referring to Figure 8, a second image display module 102 to display a window floating ro form, the toolbar display window scroll bar second display module 102 provided ro 1023 3 rows height, since the arrangement of the second container 1022 in a total of only three lines theme skin image, so there is no scroll bar appears on the right side, if the scroll bar toolbar 1023 set the display window height is 2 ro line, the right side of the scroll bar will appear when the user drags the scroll bar scroll toolbar 1023 sends a corresponding instruction to the second position of the rolling container arrangement 1022 according to a user's drag operation, a second container arranged in the display 1022 indicates to update the current image window ro relating to skin in accordance with the scroll position.

[0088] 无论是第一展示模块101还是第二展示模块102都支持键盘操作,即通过键盘来选中主题皮肤图片,第一展示模块101和第二展示模块102可以突出显示当前选中的主题皮肤图片,然后根据键盘输入,将相应输入键值转换为整形变量,根据该整形变量计算下ー次需要显示的主题皮肤图片的存储位置(即存储空间的地址),突出显示相应存储位置上的主题皮肤图片。 [0088] either the first or the second display module 101 display module 102 supports keyboard operation, that is to select the keyboard theme skin picture, first display module 101 and the second display module 102 may highlight the theme of the currently selected skin Picture and according to the keyboard input, the input key value is converted to the corresponding integer variables, skin image theme according to this shaping variable calculating ー times need to show a storage location (i.e., memory address space), highlighted topic corresponding storage location of the skin image.

[0089] 在同一时刻,第一展不模块101和第二展不模块102 —方处于显不状态,另一方处于隐藏状态。 [0089] At the same time, do not show the first module 101 and second module 102 does not show - Square state is not significant, the other is hidden.

[0090] 由于第二展示模块102以浮动窗ロ形式展示主题皮肤图片,因此,根据浮动窗ロ的特性,一旦第二展示模块102被启用,则如果当前焦点在浮动窗口上,第二展示模块102处于显示状态,否则,第一展示模块101处于显示状态。 [0090] Since the second display module 102 to display images relating to the skin in the form of a floating window ro, therefore, according to the characteristics of the floating window ro, once the second display module 102 is enabled, if the current focus on the floating window, the second display module in the display state 102, otherwise, the first display module 101 in a display state. 当然,第二展示模块102也可采用其他窗ロ形式展示图片,这种情况下,可在第二展示模块102中添加转换模块,如果该转换模块接收到转换触发,则将第二展示模块102隐藏,使得第一展示模块101处于显示状态。 Of course, the second display module 102 can be other forms of display windows ro images, in this case, may be added in the second display module conversion module 102, if the converter module receives a conversion trigger, then the second display module 102 hide, so that the first display module 101 in a display state.

[0091] 还可以对图7和图8中的第二排布容器进ー步细分,以区分各个皮肤安装包的不同存储状态,从而根据相应的存储状态进行后续操作。 [0091] may also be further subdivided into ー in FIGS. 7 and 8 arranged in a second container, each storage state to distinguish different skin-mountable package, so that subsequent operations according to the corresponding memory state. 具体地,第二排布容器可以分为系统皮肤模块、自定义皮肤模块和推荐皮肤模块,所述系统皮肤模块,存储并显示系统默认皮肤安装包的主题皮肤图片,所述自定义皮肤模块,存储并显示已经下载到本地的皮肤安装包的主题皮肤图片,所述推荐皮肤模块,存储并显示尚未下载到本地的皮肤安装包的主题皮肤图片。 In particular, the second container may be arranged into the skin system modules, custom modules skin and skin recommendation module, the module system, the skin, the system stores and displays the default skin Skin image relating to the installation package, the skin custom module, storage and display of skin has been downloaded to the local installation package of theme skin picture, the skin is recommended module, storage and display of skin has not been downloaded to the local installation package of theme skin picture. 如果用户选中主题皮肤图片并确认启用该选中主题皮肤图片对应的皮肤安装包,则如果该主题皮肤图片位于自定义皮肤模块中,直接安装并启用相应皮肤安装包,如果该主题皮肤图片位于推荐皮肤模块中,先下载相应皮肤安装包再安装并启用所述皮肤安装包。 If the user selects the topic Skin image and confirm enable the selected topic Skin image corresponding to the skin installation package, if the topic Skin image is located in a custom skin module, directly installed and enabled the appropriate skin installation package, if the topic Skin image of the recommended skin module, to download the appropriate skin installation package installed and enabled, and then the skin-mountable package.

[0092] 其中,系统皮肤模块中的主题皮肤图片是不可删除的,自定义皮肤模块和推荐皮肤模块中的主题皮肤图片是可以删除的,推荐皮肤模块中的主题皮肤图片带有突出显示标识,例如带有“荐”字标识。 [0092] where the skin system module theme skin picture can not be deleted, custom skin module and recommendation module skin theme skin pictures can be deleted, it is recommended skin module theme skin picture with highlighted logo, for example, with the "recommended" character identifier.

[0093] 当光标移动到某一主题皮肤图片上吋,还可以突出显示该主题皮肤图片和/或显示该主题皮肤图片相关的信息,例如主题名称、安装包大小等。 [0093] When the cursor is moved to a topic skin inch image, the subject can also highlight skin image information related to the subject skin pictures and / or display, such as the subject name, installation package size.

[0094] 本发明中的第一展示模块101和第二展示模块102实际上可以通过对ー个对象进行两次实例化得到,即,对第一排布容器进行两次实例化,两次实例化过程中向第一排布容器中填充不同的孩子控件,并对孩子控件的參数进行不同的设置,其中,第一排布容器是填充式的排布容器,所述的孩子控件例如可以是第二排布容器、上翻页按钮、下翻页按钮、转换模块、滚动条工具栏等,所述的參数例如可以是滚动条工具栏中设置的显示窗ロ高度。 [0094] In the present invention, the first display module 101 and second display module 102 can be achieved by actually twice ー object instantiated obtained, i.e., the first arrangement example of the two containers, two examples , and the parameters of the child controls the process to be arranged in a first container filled with different child control different settings, wherein the first container is arranged filled container arrangement, the child control may e.g. the second container is arranged, the button on the page, the next page button, the conversion module, scroll bars toolbars, said parameter may be, for example, the toolbar display window a scroll bar provided ro height.

[0095] 图9是本发明提供的展示控件的方法流程图,如图9所示,该方法包括: [0095] FIG. 9 shows the control method of the present invention provides a flow chart shown in Figure 9, the method comprising:

[0096] 步骤901,接收启动指示。 [0096] Step 901, the reception start instruction.

[0097] 步骤902,按照第一方式展示各个控件。 [0097] Step 902, the respective display control according to the first embodiment.

[0098] 本步骤中,创建第一展示模块,将各个待展示的控件压入第一展示模块,按照各个控件被压入该第一展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,接收上翻触发和/或下翻触发,根据所述窗ロ高度以及上翻触发和/或下翻触发,显示相应存储位置的控件。 [0098] In this step, creating a first display module, the respective display control to be pressed into the first display module, in accordance with each control is pressed into the first display sequentially storing the respective control module, the control display window provided ro height, receiver turn on the turn trigger the trigger and / or lower, based on the window height and the upturned ro turn trigger the trigger and / or, the display control corresponding memory location.

[0099] 具体地,创建第一展示模块包括: [0099] Specifically, creating a first display module comprising:

[0100] 创建第一排布容器、第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮; [0100] arranged to create a first container, the second container arrangement conversion module, a scroll bar on the toolbar, the button page and next page buttons;

[0101] 通过第一排布容器对第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮进行布局控制; [0101] By arranging the first container to a second container arrangement conversion module, a scroll bar on the toolbar, the button page and the page layout control buttons;

[0102] 由第二排布容器按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收上翻页按钮发来的上翻指示和/或下翻页按钮发来的下翻指示,根据滚动条工具栏设置的窗ロ高度,以及接收的上翻指示和/或下翻指示,显示相应存储位置的控件; [0102] by a second container arranged according to each sequence storage control is pressed into the second container arranged to each control on the page turn button receiving incoming page indicates the flip buttons and / or issued by the indicating the next turn, according ro the height of the window scroll bar toolbar settings, and turn on the received indication turn indication and / or, the display control corresponding storage location;

[0103] 通过滚动条工具栏设置第二排布容器显示控件的窗ロ高度; [0103] Scroll through the toolbar a second container arranged to control the display window height ro;

[0104] 通过上翻页按钮接收上翻触发,向第二排布容器发送上翻指示; [0104] By turning the turning button trigger on the receiving, transmitting an indication to turn on the second container are arranged;

[0105] 通过下翻页按钮接收下翻触发,向第二排布容器发送下翻指示;[0106] 通过转换模块接收转换触发。 [0105] triggered by receiving the next page turn button, indicating the turn sends a second container arranged; [0106] triggered by reception switching converter module.

[0107] 步骤903,接收转换触发。 [0107] Step 903, the reception conversion trigger.

[0108] 步骤904,按照第二方式展示各个控件。 [0108] Step 904, according to a second embodiment showing the controls.

[0109] 本步骤中,创建第二展示模块,将各个待展示的控件压入第二展示模块,按照各个控件被压入该第二展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器存储的控件行数,若是,显示存储的所有控件,若否,显示滚动条,根据接收的滚动触发以及所述窗ロ高度显示相应存储位置的控件。 [0109] In this step, creating a second display module, the respective display control to be pressed into the second display module, according to each sequence storage control is pressed into the respective module of the second display control, the display control settings window ro height, determines the height of the window is greater than ro number of rows of the second control storage container arrangement, and if so, display-all control storage, if not, scroll bars, and received according to the scroll trigger the display window height corresponding ro control storage location.

[0110] 具体地,创建第二展示模块包括: [0110] Specifically, to create the second display module comprises:

[0111] 创建第一排布容器、第二排布容器、滚动条工具栏和浮动窗ロ; [0111] arranged to create a first container, a second container arranged, scroll bars and toolbars ro floating window;

[0112] 通过第一排布容器对第二排布容器、滚动条工具栏和浮动窗ロ进行布局控制; [0112] ro layout control arrangement of the second container, the scroll bar and the floating toolbar window by arranging a first container;

[0113] 设置第二排布容器的存储空间大小,由第二排布容器按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收滚动条工具栏发来的大于指示,显示存储的所有控件,或者,接收滚动条工具栏发来的小于指示和滚动位置指示,根据所述滚动位置和滚动条工具栏设置的窗ロ高度显示相应存储位置的控件; [0113] a second arrangement of storage space of the container, the second container in accordance with the respective control arrangement is pressed into the second order of storing the arrangement of each control container, receiving the scrollbar tool bar higher than the command sent by all the controls, displays stored or receive scrollbar tool bar and lower than the command sent by the scroll position indicator, according to the scroll bar and scroll position setting window toolbar display control ro height corresponding memory location;

[0114] 通过滚动条工具栏设置第二排布容器显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器存储的控件行数,若是,向该第二排布容器发送大于指示,否则向该排布容器发送小于指示并显示滚动条,根据接收的滚动触发向第二排布容器发送滚动位置指示; The number of control lines [0114] ro the height of the window is greater than the second storage container arranged by the scroll bar arranged a second toolbar display window control ro vessel height, is determined, if yes, to send a second container arranged greater than indicated otherwise arranged to transmit less than the container and indicating scroll bars, scroll position indicative of the second transmission arrangement according to the scroll trigger receiving container;

[0115] 通过浮动窗ロ显示所述第二排布容器所要显示的各个控件。 [0115] The second display control arrangement of the respective container to be displayed by the floating window ro.

[0116] 下面以在即时通讯客户端展示皮肤安装包的图片为例,对图9所示方法进行介绍。 [0116] In the following instant messaging client to show skin installation package picture as an example, the introduction of the method shown in Figure 9.

[0117] 图10是接收启动指示并创建第一展示模块的流程图,如图10所示,该流程包括: [0117] FIG. 10 is a flowchart indicative of the reception start and creating a first display module 10, the process comprising:

[0118] 步骤1001,通过皮肤设置中心接收启动指示。 [0118] Step 1001, through the skin setting start instruction receiving center.

[0119] 本步骤中,所述启动指示是展示皮肤安装包图片的确认触发。 [0119] In this step, the start instruction is confirmed to show pictures of the installation package triggers skin.

[0120] 步骤1002,从数据存储中心获取相关图片信息,并将该图片信息缓存在主题皮肤 [0120] Step 1002, obtain the relevant information from the data storage center picture, and the picture information is cached in the subject skin

管理中心。 control center.

[0121] 步骤1003,创建第一展示模块。 [0121] Step 1003, creating a first display module.

[0122] 步骤1004,从主题皮肤管理中心获取缓存的图片信息并创建相应的主题预览图,将创建的主题预览图压入第二排布容器中。 [0122] Step 1004, cache acquired from the image information relating to the management center of the skin and create the appropriate theme preview, preview the theme created arrangement is pressed into the second container.

[0123] 步骤1005,第一展示模块监听按钮事件等用户的操作,并进行相应的处理。 [0123] Step 1005, the first display module monitor user operation events of the buttons, and the corresponding process.

[0124] 本步骤中的按钮事件包括点击上翻页按钮、下翻页按钮、转换模块等,其他的用户操作例如有通过键盘或鼠标选中某图片。 [0124] This step is a button click event comprises a page button, the next page button, conversion module, for example, other user operation through a keyboard or mouse to select a picture.

[0125] 图11是弹出第二展示模块的流程图,如图11所示,该流程包括: [0125] FIG. 11 is a flowchart showing a second pop-up module 11, the process comprising:

[0126] 步骤1101,第一展示模块接收用户点击转换模块的命令。 [0126] Step 1101, the user clicks on the first display module receives a command conversion module.

[0127] 步骤1102,第一展示模块判断是否是首次接收到所述命令,如果是,执行步骤1103,否则,执行步骤1104。 [0127] Step 1102, determines whether the first display module is the first time the command is received, if yes, performing step 1103, otherwise step 1104.

[0128] 步骤1103,创建第二展示模块。 [0128] Step 1103, create a second display module.

[0129] 步骤1104,设置浮动窗ロ的当前焦点位置。 [0129] Step 1104, set the current focus position of the floating window ro.

[0130] 步骤1105,从主题皮肤管理中心获取缓存的主题图片信息,并创建相应的主题预览图,将创建的主题预览图压入第二排布容器中。 [0130] Step 1105 is acquired from the skin relating to the management center image information relating to the cache, and creating the appropriate theme preview, preview the theme created arrangement is pressed into the second container.

[0131] 步骤1106,监听用户操作并进行相应的处理。 [0131] Step 1106, the user operates the monitor and the corresponding process.

[0132] 本步骤中,根据当前的焦点位置进行浮动窗ロ的显示或隐藏,并相应地隐藏或显示第一展示模块。 [0132] In this step, a floating window displays or hides ro based on the current focus position, and accordingly the display or hide the first display module.

[0133] 图12是第二展示模块隐藏后重新显示第一展示模块的处理流程图,如图12所示,该流程包括: [0133] FIG. 12 is a second display module redisplay the hidden process flow diagram showing a first module 12, the process comprising:

[0134] 步骤1201,隐藏第二展示模块。 [0134] Step 1201, the hidden second display module.

[0135] 步骤1202,显示第一展示模块。 [0135] Step 1202, the display of the first display module.

[0136] 步骤1203,第一展示模块中的第二排布容器查找当前选中的主题预览图。 [0136] Step 1203, the first display module arranged in a second vessel to find the current selected theme preview.

[0137] 皮肤设置管理中心缓存的数据中包含当前选中信息,即当前哪ー图片处于选中状态,第一展示模块从该中心获知哪一主题预览图处于选中状态。 [0137] set the center of the skin cache management data contains information about the currently selected, that is what the current ー picture is selected, the first display module which is known from the Center theme preview is selected.

[0138] 步骤1204,第二排布容器显示当前选中的主题预览图,上翻页按钮和下翻页按钮根据当前主题皮肤的个数以及当前位置确定自身的灰选情況。 [0138] Step 1204, a second container arranged to display the current selected theme preview, page up and page down button button itself determined according to the number and selection of gray skin of the current theme and the current position.

[0139] 图13是实现第一展示模块和第二展示模块的展示效果同步的流程图,如图13所示,该流程包括: [0139] FIG. 13 is a display showing the effect of the first module and the second display module synchronous flow chart shown in Figure 13 implement the process comprising:

[0140] 步骤1301,通过自定义事件监听模块监听第一展示模块和第二展示模块中哪一方需要展示的控件数据发生了变化,缓存并更新控件数据。 [0140] Step 1301, the first display module and a second display module which party controls the data needs to show changes through custom event monitoring module monitoring, control and update the cache data.

[0141] 步骤1302,通过自定义事件发送模块将控件数据发生变化的消息通知给另一方,或者通过自定义事件发送模块将更新的控件数据发给另一方 [0141] Step 1302, the custom event notification message sending module control data changes to another party, or by custom event module transmitting the updated control data to the other party

[0142] 步骤1303,所述另一方直接接收控件数据,或者根据接收的所述消息获取控件数据,并更新自身存储的控件数据。 [0142] Step 1303, the other of said directly received control data, or to obtain data according to the control message received, and updates its own stored control data.

[0143] 本步骤中,所述另一方同时监听自身的各种用户操作,并进行相应的处理。 [0143] In this step, while monitoring the other of its various user operations, and the corresponding process. 例如,第一展示模块监听上翻页触发或下翻页触发并进行相应的上翻处理或下翻处理。 For example, the first display module listens on the trigger or triggers flip flip and turn the process on the corresponding process or turn.

[0144] 由上述技术方案可见,本发明提供的技术方案在展示控件时,先按照第一方式展示各个控件,接收转换触发后,再按照第二方式展示各个控件,与现有技术相比,能够通过不同的展示风格展示控件,从而提高了用户体验和显示空间利用率。 [0144] can be seen from the above technical solutions, the present invention provides a technical solution when display control to display the various controls in accordance with a first embodiment, after receiving the trigger conversion, and then display the various controls in accordance with the second embodiment, compared with the prior art, It can display different styles to show the controls, thereby improving the user experience and display space utilization.

[0145] 进ー步地,本发明通过缓存控件数据,并实时更新当前展示的控件数据,使得通过不同的展示风格展示控件时,所产生的展示效果是同步的。 [0145] Step ー feed, the present invention is by caching control data, updated in real time and control data for the current display, such that different display styles display control, display effect produced is synchronized.

[0146] 再进ー步地,给出了本发明提供的展示方法和装置在即时通讯领域的具体应用方法,能够解决即时通讯客户端更换皮肤时如何展示主题图片的问题。 [0146] and then into ー step, given a specific application of the method to show the method and apparatus provided by the invention in the field of instant messaging, you can solve the problem of how to show pictures of the theme when instant messaging client to replace the skin.

[0147] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0147] The above are only preferred embodiments of the present invention but are not intended to limit the scope of the present invention, where any modifications within the spirit and principle of the present invention, equivalent substitutions, improvements, It should be included within the scope of the present invention.

Claims (22)

  1. 1. ー种展示控件的装置,其特征在于,该装置包括第一展示模块、第二展示模块、缓存模块和同步模块; 第一展示模块,接收启动指示,按照第一方式展示各个控件,接收转换触发后,向第二展示模块发送展示指示; 第二展示模块,接收来自第一展示模块的展示指示后,按照第二方式展示各个控件; 其中,所述第一展示模块和所述第二展示模块通过对第一排布容器进行两次实例化,两次实例化过程中向所述第一排布容器中填充不同的孩子控件,并对孩子控件的參数进行不同的设置得到,所述的孩子控件包括第二排布容器; 所述缓存模块,用于缓存第一展示模块和/或第二展示模块中存储的各个控件数据;所述同步模块,与缓存模块、第一展示模块和第二展示模块相连,监听第一展示模块和第二展示模块中存储的控件数据是否发生变化; 所述缓存 Display control apparatus 1. ー species, characterized in that the apparatus includes a first display module, a second display module, a cache module and a synchronization module; first display module for receiving start instruction, each of the display control according to the first embodiment, the receiving after the conversion is to send an indication to display a second display module; a second display module, after receiving the display instruction from the first display module showing a second embodiment in accordance with the respective control; wherein said first and said second display module display module by the first two examples of the arrangement of the container, the two instantiation control arrangement to the first container filled with different children, the child control parameters and different settings obtained, the children said control arrangement comprises a second container; the buffering module, configured to buffer the first display module and / or the individual control data stored in the second display module; said synchronization module, the buffer module, the first display module and a second display module is connected, the listener first display module and a second display control data stored in the module whether changes; the buffer 块每次更新控件数据后,都将更新的控件数据发给第一展示模块和第二展示模块中控件数据没有发生变化的一方,或者,所述同步模块在第一模块或第二模块中存储的控件数据发送变化时,通知缓存模块更新控件数据,并通知第一展示模块和第二展示模块中数据没有发生变化的一方从缓存模块中获取更新的控件数据; 所述第一展示模块和/或第二展示模块中的第二排布容器从缓存模块中获取更新的控件数据并显示相应的控件。 After each update block control data are updated control data to the one of the first display module and a second display module, the control data is not changed, or, the synchronization module stored in the first module or the second module transmitting control data changes, the notification control module updates the data cache, and notifies the first display module and one module does not change the data in the second display control acquiring updated data from the cache module; the first display module and / or the second display module arranged in a second container acquires updated data from the cache control module and displays the appropriate controls.
  2. 2.如权利要求I所述的装置,其特征在干, 所述第一展示模块,接收启动指示,按照各个控件被压入该第一展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,接收上翻触发和/或下翻触发,根据所述窗ロ高度以及上翻触发和/或下翻触发,在所述高度的窗口内显示相应存储位置的控件,接收转换触发,向第二展示模块发送展示指示。 2. The apparatus according to claim I, characterized in that the dry, the first display module for receiving start instruction, in accordance with each control is pressed into the first display sequentially stored in the respective control module, a display control ro window height, receiver turn on the turn trigger the trigger and / or lower, based on the window height and the upturned ro turn trigger the trigger and / or, the display control corresponding memory location within the window height, the reception conversion trigger, sending second display instruction to the display module.
  3. 3.如权利要求I所述的装置,其特征在干, 所述第二展示模块,接收展示指示,按照各个控件被压入该第二展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二展示模块存储的控件行数,若是,显示存储的所有控件,若否,显示滚动条,接收滚动触发,根据所述滚动触发以及所述窗ロ高度,在所述高度的窗口内显示相应存储位置的控件。 3. The device according to claim I, characterized in that the dry, the second display module for receiving display instructions in accordance with the respective control is added sequentially stored in the second display module of the respective control, set the display controls ro the height of the window, the window is determined whether the height is greater than ro line of the second control number stored in the display module, if so, display-all control storage, if not, scroll bars, scroll trigger received, based on the trigger and the rolling window ro height, display control corresponding memory location within the window height.
  4. 4.如权利要求2所述的装置,其特征在于,所述第一展示模块包括第一排布容器、第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮; 所述第一排布容器,用于对第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮进行布局控制; 所述第二排布容器,用于按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收上翻页按钮发来的上翻指示和/或下翻页按钮发来的下翻指示,根据滚动条工具栏设置的窗ロ高度,以及接收的上翻指示和/或下翻指示,显示相应存储位置的控件; 所述滚动条工具栏,用于设置第二排布容器显示控件的窗ロ高度; 所述上翻页按钮,用于接收上翻触发,向第二排布容器发送上翻指示; 所述下翻页按钮,用于接收下翻触发,向第二排布容器发送下翻指示; 所述转换模块,用于接收转 4. The apparatus according to claim 2, wherein said first display module comprises a first arrangement of container, the second container arrangement conversion module, a scroll bar on the toolbar, the button page and the next page button; the first arrangement of container, for controlling the layout of the arrangement of the second container, the conversion module, the scroll bar on the toolbar, the button page and next page buttons; a second container arranged for storing the respective control order is pressed into the second container arranged to each control flip-receiving instructions sent by the page turn button and / or the page down button turn sent to indicate, according to the scroll toolbar ro height setting window, and receiving the indication of turning on the turn and / or the indication, display control corresponding storage location; the scrollbar tool bar, for setting a second container arranged to control the display window height ro; the on page button, for receiving a trigger turn, turn on the transmission instruction to the second container are arranged; the next page button, for receiving a triggering turn, turn indicates to the second transmitting arrangement container; the conversion means for receiving transferred 触发,向第二展示模块发送展示指示。 Trigger, sending instructions to the second display module display.
  5. 5.如权利要求3所述的装置,其特征在于,所述第二展示模块包括第一排布容器、第二排布容器、滚动条工具栏和浮动窗ロ; 所述第一排布容器,用于对第二排布容器和滚动条工具栏进行布局控制; 所述第二排布容器,用于按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收滚动条工具栏发来的大于指示,显示存储的所有控件,或者,接收滚动条工具栏发来的小于指示和滚动位置指示,根据所述滚动位置和滚动条工具栏设置的窗ロ高度显示相应存储位置的控件; 所述滚动条工具栏,用于设置第二排布容器显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器存储的控件行数,若是,向该第二排布容器发送大于指示,否则向该排布容器发送小于指示并显示滚动条,根据接收的滚动触发向第二排布容器发送滚动位置指示; 所述 The first container arrangement; 5. The device of claim 3 arranged second container, scroll bars and toolbars ro floating window as claimed in claim, wherein the second display module comprises a first container arranged, , a second arrangement for a container and a scroll bar layout control toolbar; arrangement of the second container, in accordance with each control for sequentially storing said pressed into the second container arranged in the controls, received scroll toolbar higher than the command sent, the display-all control store, or receive scrollbar tool bar lower than the command sent by the position indicator and rolling, the rolling according to the position of the scroll bar and the toolbar display setting window corresponding to the height of the storage ro position control; the scrollbar tool bar, for setting a second container arranged ro display window height control, it is determined whether the height of the window ro control lines greater than the number of the second storage container are arranged, and if so, this first transmitting arrangement is greater than two containers indicated otherwise arranged to transmit less than the container and indicating scroll bars, scroll position indicative of the second transmission arrangement according to the scroll trigger receiving container; the 动窗ロ,用于显示所述第二排布容器所要显示的控件。 Ro movable window for displaying the second control container are arranged to be displayed.
  6. 6.如权利要求4或5所述的装置,其特征在干, 所述第二排布容器,突出显示当前被选中的控件; 所述第二展示模块进一歩包括键盘操作模块; 所述键盘操作模块,用于接收键盘输入,根据第二排布容器每行最多显示的控件个数将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置,将当前被选中控件的存储位置发给第二排布容器。 6. The apparatus of claim 4 or claim 5, characterized in that the dry, said second vessel arrangement, highlighting the currently selected control; the second display module includes a keyboard into a ho module; said keyboard operation means for receiving keyboard input, keyboard input conversion key number up display control arrangement according to the second container for each row of the received integer variable, the front control is selected based on the key input and receiving said variable shaping calculating a storage position of the currently selected memory position control, the currently selected position of the control distributed to the second storage container are arranged.
  7. 7.如权利要求6所述的装置,其特征在干,所述将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置包括: 如果键盘输入键值是向上,则将接收所述键盘输入前被选中控件的存储位置减去每行最多显示的控件个数,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向下,则将接收所述键盘输入前被选中控件的存储位置加上每行最多显示的控件个数,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向左,则将接收所述键盘输入前被选中控件的存储位置减去1,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向右,则将接收所述键盘输入前被选中控件的存储位置加上1,所得结果为当前被选中控件的存储位置。 7. The apparatus according to claim 6, characterized in that the dry, the keyboard input the received key value is converted into integer variables, calculated according to the storage location prior to receiving the plastic keyboard input variable and controls a current to be selected storage location of the selected widget comprising: a front control is selected if the key input is a key-up, then the receiving keyboard input by subtracting the number of storage locations in each line of the display control, the results obtained for the currently selected memory location of the control ; If the keyboard enter key is down, then the number of the receiving control is selected before the storage location of the control keyboard plus the display in each line, the results obtained for the control of the currently selected memory location; if the input key keyboard value is to the left, then receives the selected control key input before subtracting 1 from a storage location, the results of control currently selected storage location; if the key input is a key to the right, the keyboard input will be received before the selected storage location plus a control, the results of control currently selected storage location.
  8. 8.如权利要求I所述的装置,其特征在干, 所述第一展不模块和第二展不模块在同一时刻一方处于显不状态,另一方处于隐藏状态。 8. The apparatus according to claim I, characterized in that the dry, does not show the first module and the second module does not show at the same time in one state is not significant, the other is hidden.
  9. 9.如权利要求2〜5或7〜8中任ー权利要求所述的装置,其特征在干,展示的控件是图片。 The apparatus of claim 9 or claim 2 ~ 5 ー claimed in any one of claims 7~8, wherein the dry, the control image is displayed.
  10. 10.如权利要求9所述的装置,其特征在干, 所述第一展示模块与即时通讯客户端的主面板皮肤工具栏或者皮肤设置中心相连,通过主面板皮肤工具栏或者皮肤设置中心接收启动指示。 10. The apparatus according to claim 9, characterized in that the dry, the display module is connected to the first instant messaging client toolbar main panel skin or skin set the center, received by the main panel to start the skin or skin set the center toolbar instructions.
  11. 11.如权利要求4或5所述的装置,其特征在于,所述第二排布容器包括系统皮肤模块、自定义皮肤模块和推荐皮肤模块; 所述系统皮肤模块,存储并显示系统默认皮肤安装包的主题皮肤图片;所述自定义皮肤模块,存储并显示已经下载到本地的皮肤安装包的主题皮肤图片; 所述推荐皮肤模块,存储并显示尚未下载到本地的皮肤安装包的主题皮肤图片。 11. The apparatus of claim 4 or claim 5, wherein said system comprises a second container arranged skin modules, custom modules skin and skin recommendation module; skin said system module, the system stores and displays the default skin installation package of theme skin picture; the custom skin module, storage and display of skin has been downloaded to the local installation package of theme skin picture; the recommendation skin module, storage and display of skin has not been downloaded to the local installation package of theme skin image.
  12. 12.如权利要求11所述的装置,其特征在干, 所述自定义皮肤模块,接收到用户选中主题皮肤图片并确认启用该选中主题皮肤图片对应的皮肤安装包的命令后,直接安装并启用相应皮肤安装包; 所述推荐皮肤模块,接收到用户选中主题皮肤图片并确认启用该选中主题皮肤图片对应的皮肤安装包的命令后,先下载相应皮肤安装包再安装并启用所述皮肤安装包。 12. The apparatus according to claim 11, characterized in that the dry, the skin custom module, receiving a user selected image and relating to the skin confirmation command corresponding to the selected topic skin image skin installation package is enabled, and installed directly enabling the corresponding installation package skin; skin after the recommendation module, receiving a user selected image and confirm commands relating to the skin of the skin image corresponding to the selected topic skin installation package is enabled, to re-download the skin installation package installed and enabled, the skin-mountable package.
  13. 13. —种展不控件的方法,其特征在于,该方法包括: 接收启动指示,按照第一方式展示各个控件,接收转换触发后,按照第二方式展示各个控件; 其中,通过对第一排布容器进行两次实例化,两次实例化过程中向所述第一排布容器中填充不同的孩子控件,并对孩子控件的參数进行不同的设置,实现按照第一方式展示各个控件和按照第二方式展示各个控件,所述的孩子控件包括第二排布容器; 监听第一展示模块和第二展示模块中存储的控件数据是否发生变化,若是,则缓存更新后的控件数据,并通知第一展示模块和第二展示模块中数据没有发生变化的一方获取更新后的控件数据,或将更新后的控件数据发给第一展示模块和第二展示模块中数据没有发生变化的一方; 所述第二排布容器获取或接收更新的控件数据,并显示相应的控件。 13. - kind of control does not show a method, wherein the method comprises: receiving a start instruction, each of the display control according to the first embodiment, after receiving the trigger conversion, showing a second embodiment in accordance with the respective control; wherein the first row by two examples of fabric container, filled with two different instances of the process control to the first child container arrangement, and the parameters of the child control different settings to achieve display in a first manner and the respective control according to a second embodiment showing each control, the child control arrangement comprises a second container; listener first display module and the second display module stored in the control data is changed, if the control data, the cache is updated, and one of the first display module and a second notification module data show no change after acquisition of updated control data, or control data updates sent to one of the first display module and a second display module data has not changed; the second container arrangement retrieved or received control data updates and displays the corresponding control.
  14. 14.如权利要求13所述的方法,其特征在于,所述按照第一方式展示各个控件包括: 创建第一展示模块,将各个待展示的控件压入第一展示模块,按照各个控件被压入该第一展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,接收上翻触发和/或下翻触发,根据所述窗ロ高度以及上翻触发和/或下翻触发,在所述高度的窗ロ内显示相应存储位置的控件。 14. The method according to claim 13, wherein said display control according to a first embodiment each comprising: creating a first display module, the respective display control to be pressed into the first display module, according to each control is pressed sequentially storing each of the control into the first display module, a display window ro height control, turn on the receiver turn trigger the trigger and / or lower, based on the window height and ro upturned turn trigger the trigger and / or lower, display control corresponding memory location within the window height ro.
  15. 15.如权利要求13所述的方法,其特征在于,所述按照第二方式展示各个控件包括: 创建第二展示模块,将各个待展示的控件压入第二展示模块,按照各个控件被压入该第二展示模块的顺序存储所述各个控件,设置显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二展示模块存储的控件行数,若是,显示存储的所有控件,若否,显示滚动条,根据接收的滚动触发以及所述窗ロ高度显示相应存储位置的控件。 15. The method according to claim 13, wherein said display control according to the second embodiment each comprising: creating a second display module, the respective display control to be pressed into the second display module, according to each control is pressed sequentially storing said second display module into the respective control, set the height of the display window of the control ro, ro is determined whether the height of the window is greater than the number of control lines stored in the second display module, if so, display-all control storage, if not , scroll bars, scroll according to the received trigger and control the height of the display window ro corresponding memory location.
  16. 16.如权利要求14所述的方法,其特征在于,所述创建第一展示模块包括: 实例化第一排布容器,所述孩子控件包括第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮; 通过第一排布容器对第二排布容器、转换模块、滚动条工具栏、上翻页按钮和下翻页按钮进行布局控制; 由第二排布容器按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收上翻页按钮发来的上翻指示和/或下翻页按钮发来的下翻指示,根据滚动条工具栏设置的窗ロ高度,以及接收的上翻指示和/或下翻指示,显示相应存储位置的控件; 通过滚动条工具栏设置第二排布容器显示控件的窗ロ高度; 通过上翻页按钮接收上翻触发,向第二排布容器发送上翻指示; 通过下翻页按钮接收下翻触发,向第二排布容器发送下翻指示;通过转换模块接收转换触发。 16. The method according to claim 14, wherein said creating a first display module comprising: a first arrangement example of the container, the child container control arrangement comprises a second conversion module, scroll Toolbar , page up and page down button buttons; layout control arrangement of the second container, the conversion module, the scroll bar on the toolbar, the button page and next page buttons arranged by the first container; a second arrangement according to various control container is pressed into the second order of storing the arrangement of each control container, receiving an indication on the page turn button sent and / or the page down button turn sent to indicate, according to the scroll bar tool ro window bar set height, and the received indication turn on the turn and / or the indication, display control corresponding storage location; scroll display control by a second toolbar window arrangement ro vessel height; via the page button receiving trigger turn, turn on the transmission instruction to the second container arrangement; page Down buttons to scroll through the received trigger indicates to turn the second container arranged transmitted; converted by the conversion module receives the trigger.
  17. 17.如权利要求15所述的方法,其特征在于,所述创建第二展示模块包括: 实例化第一排布容器,所述孩子控件包括第二排布容器、滚动条工具栏和浮动窗ロ; 通过第一排布容器对第二排布容器、滚动条工具栏和浮动窗ロ进行布局控制; 由第二排布容器按照各个控件被压入该第二排布容器的顺序存储所述各个控件,接收滚动条工具栏发来的大于指示,显示存储的所有控件,或者,接收滚动条工具栏发来的小于指示和滚动位置指示,根据所述滚动位置和滚动条工具栏设置的窗ロ高度显示相应存储位置的控件; 通过滚动条工具栏设置第二排布容器显示控件的窗ロ高度,判断该窗ロ高度是否大于该第二排布容器存储的控件行数,若是,向该第二排布容器发送大于指示,否则向该排布容器发送小于指示并显示滚动条,根据接收的滚动触发向第二排布容器发 17. The method according to claim 15, wherein the creating second display module comprising: a first arrangement example of the container, the child control arrangement comprises a second container, scroll bars and toolbars floating window ro; layout control arrangement of the second container, scroll bars and toolbars ro floating window by arranging the first container; the second container is arranged to store the sequentially pressed into the second container is arranged according to the controls the controls, the scroll bar receiving toolbar higher than the command sent, the display-all control store, or receive scrollbar tool bar and lower than the command sent by the scroll position indicator, and disposed according to the position of the scroll bar to scroll a window toolbar ro height corresponding memory location of display controls; toolbar scrollbar provided by a second container arranged to control the display window height ro, ro is determined whether the height of the window is greater than the number of control lines of the second row stored in the container fabric, if so, to transmitting a second container arranged larger than indicated otherwise arranged to transmit less than the container and indicating scroll bars, scroll received trigger to send a second container arranged according 滚动位置指示; 通过浮动窗ロ显示所述第二排布容器所要显示的各个控件。 Scroll position indication; ro window displayed by the respective floating control arrangement of the second vessel to be displayed.
  18. 18.如权利要求16或17所述的方法,其特征在于,该方法进ー步包括: 接收键盘输入,根据第二排布容器每行最多显示的控件个数将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置,突出显示该存储位置上的控件。 18. The method of claim 16 or claim 17, characterized in that, the method proceeds ー further comprising: receiving a keyboard input, a second control based on the number of container arrangement shown in each line of the received keyboard input conversion key for the integer variables, calculating the storage location currently selected control according to the storage position before the shaping and receiving the variable input is selected keyboard control, highlighting controls on the storage location.
  19. 19.如权利要求18所述的方法,其特征在于,所述将接收的键盘输入键值转换为整形变量,根据该整形变量和接收所述键盘输入前被选中控件的存储位置计算当前被选中控件的存储位置包括: 如果键盘输入键值是向上,则将接收所述键盘输入前被选中控件的存储位置减去每行最多显示的控件个数,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向下,则将接收所述键盘输入前被选中控件的存储位置加上每行最多显示的控件个数,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向左,则将接收所述键盘输入前被选中控件的存储位置减去1,所得结果为当前被选中控件的存储位置;如果键盘输入键值是向右,则将接收所述键盘输入前被选中控件的存储位置加上1,所得结果为当前被选中控件的存储位置。 19. The method according to claim 18, wherein said converting the received keyboard input key for integer variables, calculated according to the storage location prior to the shaping and receiving keyboard input variable selected is currently selected control control storage location comprises: if the key input is a key-up, prior to said selected control keyboard subtracting the number of control memory locations in each line of the display will be received, the results obtained for the currently selected control memory location; If the keyboard input key is down, then the number of controls on the front receiving keyboard input is selected the control storage location in each line of the display together with the results obtained for the control of the currently selected memory location; if the keyboard enter key is to the left, then receives the selected control key input before subtracting 1 from a storage location, the results of control currently selected storage location; if the key input is a key to the right, then the front receiving keyboard input selected storage location plus a control, the results of control currently selected storage location.
  20. 20.如权利要求16或17所述的方法,其特征在于, 监听第一展示模块和第二展示模块的显示状态,在同一时刻只显示二者其中之一。 20. The method of claim 16 or claim 17, wherein the first display module and a monitor module to display a second display state, the display of which only either at the same time.
  21. 21.如权利要求20所述的方法,其特征在干,所述监听第一展示模块和第二展示模块的显示状态包括: 如果当前焦点在浮动窗口上,则第二展示模块处于显示状态,否则第一展示模块处于显示状态。 21. The method according to claim 20, characterized in that the dry, the monitor display state of the first display module and a second display module comprises: if the current focus on the floating window, the second display module in a display state, otherwise the first display module in a display state.
  22. 22.如权利要求21所述的方法,其特征在于,记录当前选中的控件的存储位置,第一展示模块和/或第二展示模块根据当前选中的控件的存储位置,显示当前选中的控件。 22. The method according to claim 21, wherein recording the storage location of the currently selected control, a first display module and / or the second display module according to the storage location of the currently selected control, displays the currently selected control.
CN 200910138458 2009-05-18 2009-05-18 Device and method for displaying control CN101566949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910138458 CN101566949B (en) 2009-05-18 2009-05-18 Device and method for displaying control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910138458 CN101566949B (en) 2009-05-18 2009-05-18 Device and method for displaying control

Publications (2)

Publication Number Publication Date
CN101566949A true CN101566949A (en) 2009-10-28
CN101566949B true CN101566949B (en) 2012-10-10

Family

ID=41283113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910138458 CN101566949B (en) 2009-05-18 2009-05-18 Device and method for displaying control

Country Status (1)

Country Link
CN (1) CN101566949B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446097B (en) * 2011-09-29 2015-02-04 奇智软件(北京)有限公司 Method for changing user interface skins
CN103488489B (en) * 2013-09-30 2017-02-01 乐视网信息技术(北京)股份有限公司 A data processing method and apparatus
CN103617036B (en) * 2013-11-27 2017-11-14 小米科技有限责任公司 A method of displaying widget terminal apparatus and
CN105159526A (en) * 2015-08-25 2015-12-16 网易(杭州)网络有限公司 Display control method and apparatus for virtual objects in game interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1337619A (en) 2000-06-23 2002-02-27 国际商业机器公司 Automatic minifying-amplifying picture-mark to suit one display area in data processing system
WO2003104964A2 (en) 2002-06-06 2003-12-18 Sony Ericsson Mobile Communications Ab Graphical user interface for expandable menus
JP2005004419A (en) 2003-06-11 2005-01-06 Fuji Photo Film Co Ltd File browsing device and method, and program
CN1661520A (en) 2004-02-24 2005-08-31 株式会社康耐克 Problem solution support device and program
WO2007059503A1 (en) 2005-11-15 2007-05-24 Google Inc. Displaying compact and expanded data items
US7444599B1 (en) 2002-03-14 2008-10-28 Apple Inc. Method and apparatus for controlling a display of a data processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1337619A (en) 2000-06-23 2002-02-27 国际商业机器公司 Automatic minifying-amplifying picture-mark to suit one display area in data processing system
US7444599B1 (en) 2002-03-14 2008-10-28 Apple Inc. Method and apparatus for controlling a display of a data processing system
WO2003104964A2 (en) 2002-06-06 2003-12-18 Sony Ericsson Mobile Communications Ab Graphical user interface for expandable menus
JP2005004419A (en) 2003-06-11 2005-01-06 Fuji Photo Film Co Ltd File browsing device and method, and program
CN1661520A (en) 2004-02-24 2005-08-31 株式会社康耐克 Problem solution support device and program
WO2007059503A1 (en) 2005-11-15 2007-05-24 Google Inc. Displaying compact and expanded data items

Also Published As

Publication number Publication date Type
CN101566949A (en) 2009-10-28 application

Similar Documents

Publication Publication Date Title
US20040179017A1 (en) System and method for providing transparent windows of a display
US20120304068A1 (en) Presentation format for an application tile
US20120204191A1 (en) System and method for providing notifications on a mobile computing device
US20100231612A1 (en) Smart Keyboard Management for a Multifunction Device with a Touch Screen Display
US8612874B2 (en) Presenting an application change through a tile
US20140109008A1 (en) Application Reporting in an Application-Selectable User Interface
US20060242596A1 (en) Updatable menu items
US20100248788A1 (en) Method of dividing screen areas and mobile terminal employing the same
US20120185781A1 (en) Email user interface
US20050039134A1 (en) System and method for effectively implementing a dynamic user interface in an electronic network
US20100031185A1 (en) Web page push to new window
US20110267367A1 (en) Handheld electric apparatus and graphic interface operation method
CN102065166A (en) Mobile terminal and method and system for carrying out rapid and convenient operation on contacts
US20110083099A1 (en) Mobile device and overlay display method thereof
CN102135886A (en) Method, device and electronic equipment for sharing page content
US20110185040A1 (en) System and Method for Independent Aspect Ratio Touch Screen Optimization
US20130318158A1 (en) User interface content state synchronization across devices
CN103051516A (en) Message prompting method and device of instant messaging client
CN101552837A (en) Menu indication method
CN101840305A (en) Display method of user graphical interface and terminal equipment
JP2003316490A (en) Remote control system and method thereof
KR100801650B1 (en) Method for executing function in idle screen of mobile terminal
WO2005104572A1 (en) Method and apparatus for controlling and applying resource of idle screen on mobile
CN102662649A (en) Method and apparatus for customizing function menu of application programs
US20110078621A1 (en) Thin client system, server apparatus, client apparatus, and storage medium

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted