专利摘要:
The present invention relates to a method for changing and selecting through the color name of the GUI screen of the text in the command window and message window of the base station management system. One preferred embodiment of the window color change processing method in the base station management system according to the present invention comprises: opening a rgb.txt in which usable color names and R, G, and B values are listed when the GUI graphics are started; Storing color names and R, G, and B values for each color in colorname [], rgb []. Red, rgb []. Green, rgb []. Blue; Saving the initial color by opening a file for color; Applying the stored initial color to the initial background and the initial foreground of the GUI screen; Making each of the 64 labels on the GUI screen have a color corresponding to the color name in the background; Assigning 64 pixels using color names and R, G, and B and applying each pixel to a label to display colors; And each label is planted with an event to automatically change the background or foreground of the GUI and text whenever the mouse is clicked.
公开号:KR19990056538A
申请号:KR1019970076536
申请日:1997-12-29
公开日:1999-07-15
发明作者:윤은철
申请人:윤종용;삼성전자 주식회사;
IPC主号:
专利说明:

Window Color Change Processing Method in Base Station Management System
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for processing a window color change in a base station management system, and in particular, selecting through a color name of a graphic user interface (GUI) screen of text in a command window and a message window of a base station management system. To change it.
In general, code division multiple access (CDMA) personal communication service (PCS) systems provide a base station through a software package called a base station manager (BSM). In the management and operation, the base station management system is composed of a top window, a command window, a message window, and an alarm graphic window.
Among them, the color change method that makes it easy to change the background and foreground color of the text screen by selecting the color name on the GUI screen from the command window and the message window. .
You can create a more user-friendly environment by letting users choose their favorite colors.
In addition, the present invention can be extended to a general GUI screen as well as a base station management system.
U. S. Patent No. 5,317, 678 describes a color changing method for changing colors in a display.
A color changing method for changing colors in the display includes: inputting individual picture element values of a color image through an image input device; Plotting individual image element values of the color image in three fundamental color spaces of three dimensions; Displaying three fundamental color spaces in three dimensions, including drawn individual image element values of the color image; Bias representing at least three biases from the origin, i.e., the drafted data, in four vectors including a bias vector, a light source color vector, an object color vector, and a color texture vector. Presuming from the drawn image elements of the vector comprising a vector, a light source color vector, and a target color vector starting from a point displaced from an origin by the bias vector; Three-dimensional positional coordinates of image element values in a three-dimensional space characterized by a light source color vector, a target color vector, and a color composition vector, or image element values in a plane characterized by a light source color vector and a target color vector. Determining coordinates of the two-dimensional position of the field; Altering the three vectors estimated collectively or individually; Acquilishing the color change and positional coordinates of the color image by using the collectively changed vector or the individually changed vector; And displaying the color image mixed with the color change or the display.
Traditionally, pixels obtained using three color attributes, R (Red), G (Green), and B (Blue), to change the text color of an application such as a command window and a message window of a base station management system. The value was applied to the screen. In addition, the pixel values used to apply color are stored in a color file and used when the application is executed.
However, since the color maps held by the systems are different, the combination of colors according to the R, G, and B values is also different, resulting in inconsistent pixel values for the desired R, G, and B values.
Therefore, there was a case where the application of color, which was well performed in one system, was not applied in another system. In addition, if the background and foreground color pixels are not found in the color map, the system may display both the background and the foreground black.
This problem arises because the application of color was based on color pixels. Therefore, there was a need for a solution to a general color change method that can be commonly applied to most systems and to secure a secure color cell.
Accordingly, an object of the present invention is to devise a color change scheme that is invented to solve the problems described above, which is easy to use and convenient, and which is not system dependent. In addition, the proper operation of the color cells to prevent abnormal color change due to the lack of color cells and to solve the occurrence of possible errors. The GUI screen is configured for easier color change, and the user can perform the color change request while looking at the color directly. For general color application, use the color name and R, G, B value of rgb.txt provided by X-Lib on UNIX system. It is an object of the present invention to provide a window color change processing method in a base station management system so that the selection of colors can be made by a mouse click and change both the background and the foreground.
1 is a view showing a state of a GUI screen for changing the color.
2 is a flowchart of a window color change processing method in a base station management system according to the present invention;
One preferred embodiment of the window color change processing method in the base station management system according to the present invention, which was created to achieve the above object, is that when the GUI graphics are started, available color names and R, G, and B values are added. The process of opening the listed rgb.txt;
Storing color names and R, G, and B values for each color in colorname [], rgb []. Red, rgb []. Green, rgb []. Blue;
Saving the initial color by opening a file for color;
Applying the stored initial color to the initial background and the initial foreground of the GUI screen;
Making each of the 64 labels on the GUI screen have a color corresponding to the color name in the background;
Assigning 64 pixels using color names and R, G, and B and applying each pixel to a label to display colors; And
Each label includes planting an event so that the GUI and text background or foreground change automatically whenever the mouse is clicked.
In the present invention, colorname [] is used when calling a function called XAllocNamedColor to determine the pixel for specifying the color of the name, and rgb []. Red, rgb []. Green, rgb []. Blue When selecting a label, it is preferable to use it when determining pixels through a function called XStoreColor.
It is preferable that the event including the callback has the case of selecting the previous button, selecting the next button, clicking the label, selecting the apply button, selecting the exit button,
When the previous or next button is selected, the process of removing 64 assigned pixels and returning 64 empty color cells to the color map, reallocating the next 64 pixels using them, and then reapplying 64 colors to the label. It is preferable to include,
The selection of the label is made in two ways by the left button and the right button of the mouse. The click by the left button is used to apply the foreground to the GUI screen and the text of the application, and the click by the right button is the background. Is preferably applied to GUI screens and text in the application,
If you select the Apply button with the actual color applied, it is preferable to open the file for the color, record the color name to be used as the initial foreground and background color, and then exit the file again.
When the exit button is selected, it is preferable to return the text color to the initial text color and then exit the GUI screen.
When assigning 64 colors, if the number of color cells is not selected in the color map and the pixel is not selected, normal color change operation is impossible.If there are not enough color cells for such an abnormal case, an error message is displayed and color cell allocation or removal is performed. It is preferable to prevent the operation from being performed so that abnormal operation of an application such as a command window or a message window can be prevented by the operation.
If the color change is made based on the color name and its R, G, and B values rather than on the color pixel values, the color change will be common to all systems. To do this, rgb.txt is used by X-lib on most UNIX systems. rgb.txt lists the available color names and the R, G, and B values for each color. The information defined in this rgb.txt can be used in common without any system differences. However, to apply the actual color to the system, it is necessary to determine the color pixel values that differ slightly from system to system. In the same kind of system, the color map is the same, so that the same color pixel values can be used to specify the same color, but in other systems, even the same pixel does not always represent the same color. Therefore, when changing colors, the criteria should not be based on pixels, but rather on the color name or rgb.txt. In order to allocate one pixel on a color map, color cells must first be reserved on the color map. The number of color cells that a user can uniquely assign to a system is usually less than 100. Therefore, to secure color cells, a certain number of pixels must be used and pixels not used when using other colors must be freed from the color map. Once a color cell is secured, the pixel corresponding to the color name can be allocated through XAllocNamedColor, one of the X-lib functions, and used for color change. R, G, and B values are unique values for displaying colors, so if you know R, G, and B values, you can get pixels through a function called XStoreColor. Since the names of the colors used by the system are close to a thousand, assigning one color cell to each color causes a shortage of color cells. Considering this fact, only 64 color cells are allocated and displayed on the GUI screen, and color change is made when one of the 64 colors is selected. Whenever you click a color with the mouse, the GUI screen and the text color of the application are automatically changed so that the user can see the application status directly. If you press the Apply button, the color is actually applied. If you press the Exit button, the GUI screen is closed and at the same time, two color names (background and foreground) are saved in the file, and the color selection is made through the application button. Each time it is determined, it is stored in this file. To display the other 64 colors, create two buttons and display the previous or next 64 colors each time this button is pressed. In this case, 64 color cells of the currently assigned color are removed and new 64 color cells are allocated and used.
Hereinafter, the operation principle of the present invention with reference to the drawings in detail.
1 is a view of a GUI screen for changing the color.
The top of the color change window displays the names of the currently selected background and foreground colors. Below that are 64 labels, next to each label, which shows the background name of the label as a string. Selecting each label with the left mouse button automatically changes the background color of the GUI screen and application text. In addition, when the label is selected through the right mouse button, the foreground color of the GUI screen and the application text are automatically changed. Whenever the color is selected by clicking the mouse, the background and foreground names at the top of the graphic screen are changed. At the bottom of the graphic are two triangle buttons on the far left and right, which are used to display the previous and next 64 colors, respectively.
Referring to FIG. 2, FIG. 2 is a flowchart of a main algorithm designed to implement a color change function that can be commonly applied to all X-Lib systems. Information about each color is used in rgb.txt, and system-dependent pixel values are obtained from color names and R, G, and B values commonly applied to the system. The pixel values thus obtained are selected via the motif GUI screen and used to change the color of the text in the application.
First, when the GUI graphics start, open rgb.txt, and then colorname and R, G, B values for each color, colorname [] and rgb []. Red, rgb []. Green, Store in rgb []. blue. colorname [] is used when calling a function called XAllocNamedColor to determine the pixel for specifying the color of the name. rgb []. red, rgb []. green, rgb []. blue sets the label. When selected, it is used to determine the pixel through XStoreColor function.
The color file stores the initial color and uses it as the initial background and initial foreground of the GUI screen. There are 64 labels on the GUI screen, with each label having a color corresponding to the color name in the background. Allocate 64 pixels using the color name and apply each pixel to the label to display the color. Each label is planted with an event so that whenever the mouse is clicked, the GUI and text background or foreground changes.
There are five cases of events, including callbacks. The first is the selection of the Previous button, the second is the selection of the Next button, the third is the click of the label, the fourth is the selection of the Apply button, and the fifth is the selection of the Exit button. will be. When the previous button or the next button is selected, it removes the 64 assigned pixels and returns 64 empty color cells to the color map, which is used to reallocate the next 64 pixels. Then reapply 64 colors to the label.
Label selection is done in two ways: by the left and right mouse buttons. Clicking by the left button is used to apply the foreground to the GUI screen and text, and clicking by the right button is used to apply the background to the GUI screen and text.
Selecting the Apply button opens the color file, records the color name to be used as the initial foreground and background colors, and then closes the file again. Selecting the Exit button returns the text color to the initial text color and exits the GUI screen.
When 64 colors are assigned, normal color change is impossible if the pixel is not selected because of insufficient color cells in the color map. This happens when there are many applications that use color and the use of color maps is excessive. For these abnormal cases, if there are not enough color cells, an error message is displayed and color cell allocation or removal is not performed. By doing this, an abnormal down of an application such as a command window or a message window can be prevented.
According to the present invention operating as described above, a motif GUI screen is made to allow the operator to easily and conveniently change the color, and the color change is made simple through a click of a mouse. In addition, by changing the color using the color names defined in rgb.txt, we solved the pixel problem according to the system. That is, the color is changed by assigning a unique pixel value of the using system by using the color name and the R, G, and B values thereof. Alloc and removal were used repeatedly to secure color cells. When color cell shortage caused by multiple applications occurs, an error message is displayed and normal color change is made when color cells are regained.
权利要求:
Claims (8)
[1" claim-type="Currently amended] Once the graphics for the GUI starts, open rgb.txt listing the available color names and R, G, and B values;
Storing color names and R, G, and B values for each color in colorname [], rgb []. Red, rgb []. Green, rgb []. Blue;
Saving the initial color by opening a file for color;
Applying the stored initial color to the initial background and the initial foreground of the GUI screen;
Making each of the 64 labels on the GUI screen have a color corresponding to the color name in the background;
Assigning 64 pixels using color names and R, G, and B and applying each pixel to a label to display colors; And
And each label is planted with an event to automatically change the background and foreground of the GUI and text whenever the mouse is clicked.
[2" claim-type="Currently amended] 2. The method of claim 1, wherein colorname [] is used when calling a function called XAllocNamedColor to determine the pixel for specifying the color of the name, and rgb []. Red, rgb []. Green, rgb []. Blue A method of processing window color change in a base station management system, which is used to determine a pixel through a function called XStoreColor when a label is selected.
[3" claim-type="Currently amended] The method of claim 1, wherein the event including the callback has a case of selecting a previous button, selecting a next button, clicking a label, selecting an apply button, and selecting an exit button.
[4" claim-type="Currently amended] 4. The method of claim 3, wherein if the previous or next button is selected, the 64 pixels assigned to the color map are removed by removing the 64 pixels assigned to them, and then reallocating the next 64 pixels to use 64 colors. A window color change processing method in a base station management system comprising the step of reapplying to a label.
[5" claim-type="Currently amended] 4. The method of claim 3, wherein the selection of the label is made in two ways by the left button and the right button of the mouse, wherein the click by the left button is used to apply the foreground to the GUI screen and the text of the application. A method of processing a window color change in a base station management system, wherein clicking by a button is used to apply a background to a GUI screen and text of an application.
[6" claim-type="Currently amended] 4. The window color changing process in the base station management system according to claim 3, wherein when the apply button to which the actual color is applied is selected, the file for opening the color is opened, the color name to be used as the initial foreground and the background color is recorded, and the file is terminated again. Way.
[7" claim-type="Currently amended] 4. The method according to claim 3, wherein when the exit button is selected, the GUI screen is terminated after the text is returned to the initial text color.
[8" claim-type="Currently amended] The method of claim 1, wherein when the 64 colors are allocated, normal color change is not possible unless the number of color cells is selected in the color map, and thus the pixel is not selected. Therefore, an error message is displayed when the color cells are insufficient for such an abnormal case. And preventing a color cell assignment or removal operation from occurring, thereby preventing an abnormal down phenomenon of an application such as a command window or a message window by the operation.
类似技术:
公开号 | 公开日 | 专利标题
US9436347B2|2016-09-06|Methods and systems for entering object assignments
EP0760126B1|2002-02-06|Pattern and color abstraction in a graphical user interface
US5757385A|1998-05-26|Method and apparatus for managing multiprocessor graphical workload distribution
EP1005681B1|2002-10-16|Browser for hierarchical structures
US6281896B1|2001-08-28|Data processor controlled interface with multiple tree of elements views expandable into individual detail views
US5917487A|1999-06-29|Data-driven method and system for drawing user interface objects
CN1316356C|2007-05-16|Displaying graphical objects
US6262732B1|2001-07-17|Method and apparatus for managing and navigating within stacks of document pages
EP0943196B1|2003-11-05|Network management graphical user interface
JP4447612B2|2010-04-07|Method and system for connecting, scanning and accessing computer network resources
JP3173102B2|2001-06-04|Network management operation system and management operation processing method
US5977973A|1999-11-02|Window linking
US5179655A|1993-01-12|Multiwindow control method and apparatus for work station having multiwindow function
US5257349A|1993-10-26|Interactive data visualization with smart object
US5557728A|1996-09-17|Automated image retrieval and scaling into windowed displays
JP2583003B2|1997-02-19|Image display method, frame buffer, and graphics display system in graphics display system
US5623590A|1997-04-22|Dynamic graphics arrangement for displaying spatial-time-series data
JP3088253B2|2000-09-18|Information display device
EP0636971B1|2001-10-17|Method and apparatus for producing a composite second image in the spatial context of a first image
US5801717A|1998-09-01|Method and system in display device interface for managing surface memory
DE69533568T2|2005-10-13|Virtual desk top system and method for doing so
CA1242806A|1988-10-04|Screen manager for a data processing system
US5767851A|1998-06-16|Method and apparatus for emulating an environment's drag and drop functionality in a host environment
US5483631A|1996-01-09|Communication network management system for displaying operation states of network elements on a remote display unit
US6925609B1|2005-08-02|Hybrid task and file oriented user interface
同族专利:
公开号 | 公开日
KR100259850B1|2000-06-15|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
法律状态:
1997-12-29|Application filed by 윤종용, 삼성전자 주식회사
1997-12-29|Priority to KR1019970076536A
1999-07-15|Publication of KR19990056538A
2000-06-15|Application granted
2000-06-15|Publication of KR100259850B1
优先权:
申请号 | 申请日 | 专利标题
KR1019970076536A|KR100259850B1|1997-12-29|1997-12-29|The color change method of the window in bsm system|
[返回顶部]