CN106569757A - Method and device for changing color of graphical interface text - Google Patents
Method and device for changing color of graphical interface text Download PDFInfo
- Publication number
- CN106569757A CN106569757A CN201510646394.2A CN201510646394A CN106569757A CN 106569757 A CN106569757 A CN 106569757A CN 201510646394 A CN201510646394 A CN 201510646394A CN 106569757 A CN106569757 A CN 106569757A
- Authority
- CN
- China
- Prior art keywords
- internal storage
- storage data
- graphical interfaces
- pixel
- text
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention provides a method and device for changing the color of a graphical interface text, and the graphical interface text contains original decoding data. The method comprises the steps: receiving a color change request of the graphical interface text, wherein the color change request comprises the information of a specified color; obtaining a memory data table, corresponding to the information of the specified color, of all pixels of the graphical interface text according to the request; searching pixel memory data matched with the original decoding data of the graphical interface text from the memory data table. The method employs the pixel memory data to display the graphical interface text with the specified color, enables the conversion of the original decoding data to be completed through employing a hardware module to directly read the memory data table, does not need to carry out the point-by-point conversion through a CPU, and solves problems that a conventional method spends a large amount of time in changing the graphical interface text and occupies too many CPU resources.
Description
Technical field
The application is related to multimedia technology field, more particularly to a kind of change graphical interfaces textcolor
Method and a kind of device of change graphical interfaces textcolor.
Background technology
Display Technique is used in increasing electronic equipment, such as computer, television set, mobile electricity
Words etc..With the progress of science and technology, colour of the Display Technique also from initial white and black displays development till now shows
Show, brought gorgeous visual experience.
In order to adapt to different viewing demands, user can be according to the button for arranging on an electronic device to screen
The color that curtain shows is adjusted, to obtain optimal viewing effect.But, this adjustment is general all only
Thickened or lightened process for the color of screen display content so that screen look more gorgeous or
It is more plain, cannot but change the graphical interfaces text of the display color of itself.By taking television set as an example, user
Can be adjusted to showing color according to the color button on television set or on remote control, color is adjusted
It is dense, make picture look more bright-coloured;Or color is lightened, make picture show deflection black and white.But,
This adjustment is not related to the adjustment of the graphical interfaces text intrinsic colour to showing.Such as, people make
When adjusting volume with remote control, video screen occurs volume bar and volume numeral, the display face of the numeral
Color can't change with the adjustment of picture color.
In general, the color similar to this kind of graphical interfaces text of volume numeral is all to draw television set
Fix during local user interface (UI), it is more difficult to change.Because data of the text in internal memory are 256
Color shade image, but the television set image to be shown generally is ARGB forms.Therefore, if it is desired to
Text is arranged to into certain color, at present a kind of method of change graphical interfaces textcolor, is to pass through
The mode of software, when system decoding finishes a text, needs individually to enter each pixel of the text
Row is processed, and is converted into the ARGB data that can shield above.In the process, due to needing CPU to carry out
Pointwise is changed, and this can expend the substantial amounts of CPU working times, drag the reaction speed of slow UI and system.And
And, even if according to the method, also the color of graphical interfaces text can only be changed to system when UI is designed
The system color that fixation have selected, it is impossible to by the color that text change is user preference.
Therefore, at present in the urgent need to the technical problem that those skilled in the art solve is exactly:How to press
The color of graphical interfaces text is changed according to user preference, the efficiency of data conversion is improved, to reduce to CPU
The consuming of resource.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application overcomes the problems referred to above or extremely to provide one kind
A kind of method of the change graphical interfaces textcolor for partially solving the above problems and corresponding one kind
The device of change graphical interfaces textcolor.
In order to solve the above problems, the embodiment of the present application discloses a kind of change graphical interfaces textcolor
Method, the graphical interfaces text has raw decoded data, and methods described includes:
The color change request for graphical interfaces text is received, the request includes the letter of designated color
Breath;
According to the request, each pixel of graphical interfaces text corresponding with the designated color information is obtained
Internal storage data table;
From the internal storage data table, find out and matched with the raw decoded data of the graphical interfaces text
Pixel internal storage data;
Graphical interfaces text with the designated color is represented using the pixel internal storage data.
Alternatively, it is described according to the request, obtain graphical interfaces corresponding with the designated color information
The step of internal storage data table of text each pixel, includes:
According to the request, obtain corresponding with the designated color information from preset color database
The internal storage data table of each pixel of graphical interfaces text.
Alternatively, it is described according to the request, obtain graphical interfaces corresponding with the designated color information
The step of internal storage data table of text each pixel, includes:
According to the request, the rgb value of the designated color is input into;
According to the rgb value of the designated color, the graphical interfaces text for calculating the designated color is each
The internal storage data of pixel, forms internal storage data table.
Alternatively, it is described from the internal storage data table, find out original with the graphical interfaces text
The step of pixel internal storage data of decoding data matching, includes:
Travel through the raw decoded data of the graphical interfaces text;
In the internal storage data table, the raw decoded data with the graphical interfaces text is found out one by one
One-to-one pixel internal storage data;
The raw decoded data of the graphical interfaces text is replaced with into one by one the pixel internal storage data.
In order to solve the above problems, the embodiment of the present application also discloses a kind of change graphical interfaces textcolor
Device, the graphical interfaces text has raw decoded data, and described device includes:
Color changes request receiving module, for receiving the color change request for graphical interfaces text,
The request includes the information of designated color;
Internal storage data table acquisition module, for according to the request, obtaining and the designated color information phase
The internal storage data table of each pixel of graphical interfaces text answered;
Pixel internal storage data searching modul, for from the internal storage data table, finding out and the figure
The pixel internal storage data of the raw decoded data matching of shape interface text;
Graphical interfaces text display module, for being represented with the finger using the pixel internal storage data
Determine the graphical interfaces text of color.
Alternatively, the internal storage data table acquisition module includes:
Preset internal storage data table acquisition submodule, for according to the request, from preset color database
The middle internal storage data table for obtaining each pixel of graphical interfaces text corresponding with the designated color information.
Alternatively, the internal storage data table acquisition module includes:
Rgb value input submodule, for according to the request, being input into the rgb value of the designated color;
Internal storage data meter operator module, for according to the rgb value of the designated color, calculating institute
The internal storage data of each pixel of graphical interfaces text of designated color is stated, internal storage data table is formed.
Alternatively, the pixel internal storage data searching modul includes:
Raw decoded data travels through submodule, for traveling through the primitive solution yardage of the graphical interfaces text
According to;
Pixel internal storage data search submodule, in the internal storage data table, find out one by one with
The one-to-one pixel internal storage data of raw decoded data of the graphical interfaces text;
Pixel internal storage data replaces submodule, for by the raw decoded data of the graphical interfaces text
The pixel internal storage data is replaced with one by one.
Compared with background technology, the embodiment of the present application includes advantages below:
It is each by obtaining graphical interfaces text corresponding with designated color information in embodiments herein
The internal storage data table of pixel, then from the internal storage data table, finds out the original with graphical interfaces text
The pixel internal storage data of beginning decoding data matching, is represented with designated color using pixel internal storage data
Graphical interfaces text so that the conversion to raw decoded data can directly read internal memory by hardware module
Tables of data without the need for carrying out pointwise conversion by CPU, solves change graphical interfaces text at present completing
This color takes considerable time and takes the excessive problem of cpu resource.
Secondly, in embodiments herein, user can pass through the rgb value of a certain color of input,
Each pixel internal storage data of the graphical interfaces text of the color is calculated in real time, forms internal storage data table,
By calling the internal storage data table, graphical interfaces text is set to show corresponding color, so as to realize to text
The self-defined setting of color.
3rd, in embodiments herein, according to the request of user each text can be adjusted respectively
With the internal storage data table of different colours, so as to realize that the colored of text shows.
Description of the drawings
Fig. 1 is the image schematic diagram represented on television screen after digital " 1 " decoding;
The step of Fig. 2 is a kind of embodiment of the method for change graphical interfaces textcolor of the application flow process
Figure;
Fig. 3 is that the internal storage data of each pixel of graphical interfaces text red under ARGB forms represents meaning
Figure;
Fig. 4 is that the internal storage data of each pixel of graphical interfaces text of purple under ARGB forms represents meaning
Figure;
Fig. 5 is a kind of structured flowchart of the device embodiment of change graphical interfaces textcolor of the application.
Specific embodiment
It is understandable to enable the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the accompanying drawings
The application is described in further detail with specific embodiment.
By taking television set as an example, in the graphical interfaces of television set, each text has original decoding
Data.If in the grid for being dimensioned to may be displayed on 8*10 of each text, each of which
Individual grid represents a pixel on television screen.With reference to Fig. 1, digital " 1 " decoding is shown
The schematic diagram of the image for being represented on television screen afterwards, then, the original of digital " 1 " in internal memory
Beginning decoding data is just as shown in table 1 below, and now, the raw decoded data of digital " 1 " in internal memory is
256 rank gray level images, are not colored.
Table 1:
0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x80 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0xff | 0x00 | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0xfa | 0xff | 0xfa | 0x00 | 0x00 | 0x00 |
0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 |
Because television set can be shown the data of ARGB forms, so now, if it is desired to by number
Word " 1 " is changed to redness, then need the raw decoded data conversion of 256 rank gray level images in internal memory
Into the ARGB formatted datas in such as table 2 below:
Table 2:
And whole transfer process, need to be completed according to pointwise conversion by CPU.Corresponding transfer process
Can be represented with following code:
By described above, CPU can expend when the raw decoded data in internal memory is changed
The substantial amounts of time, substantial amounts of cpu resource is taken, and then drag the reaction speed of slow UI and whole system.
Therefore, one of core idea of the embodiment of the present application is, corresponding with designated color by calling
The internal storage data table of each pixel of graphical interfaces text, realization completes primitive solution by the hardware module of system
The conversion of code data, and then represent the graphical interfaces text with designated color, it is to avoid to cpu resource
Occupancy.
With reference to Fig. 2, a kind of embodiment of the method for change graphical interfaces textcolor of the application is shown
Flow chart of steps, specifically may include steps of:
Step 101, receives the color change request for graphical interfaces text;
In a kind of embodiment of the application, user can send change figure by remote control to television set
The request of interface textcolor, the request includes the information of the designated color that needs are changed, such as, use
Family can ask for graphic interface text to be changed to redness by current black.
Step 102, according to the request, obtains graphical interfaces text corresponding with the designated color information
The internal storage data table of this each pixel;
According to the request of user, graphical interfaces text corresponding with designated color information can be first obtained each
The internal storage data table of pixel.Such as, the internal storage data of the red each pixel of graphical interfaces text is obtained
Table.The internal storage data table of each pixel of graphical interfaces text is used for depositing each pixel internal memory of certain color
Data, the internal storage data table of each pixel of graphical interfaces text of each color is included in 256 pixels
Deposit data, represents real color data under the color format.With reference to Fig. 3 and Fig. 4, respectively illustrate
The schematic diagram of the internal storage data table of each pixel of graphical interfaces text of red and purple under ARGB forms.
In a preferred embodiment of the present application, the internal storage data table of each pixel of graphical interfaces text can
To obtain in the following way:
According to the request, obtain corresponding with the designated color information from preset color database
The internal storage data table of each pixel of graphical interfaces text.
In implementing, can shift to an earlier date in the color database of system it is preset with it is a certain or certain is several
The internal storage data table of each pixel of the corresponding graphical interfaces text of colouring information.Such as, can in advance will be red
The internal storage data table of each pixel of graphical interfaces text of color is preset at color database, when receiving needs
When the color of graphical interfaces text is changed to into the request of redness, directly can extract from color database
Go out the internal storage data table of each pixel of graphical interfaces text of redness.
But, due to the internal storage data table of each pixel of graphical interfaces text of all colours all cannot be carried
Before be preset in color database, therefore, in another preferred embodiment of the present application, graphical interfaces
The internal storage data table of each pixel of text can also be obtained in the following way:
According to the request, the rgb value of the designated color is input into;
According to the rgb value of the designated color, the graphical interfaces text for calculating the designated color is each
The internal storage data of pixel, forms internal storage data table.
When user needs for textcolor to be changed to another kind of color by current color, if the color
The internal storage data table of each pixel of graphical interfaces text does not shift to an earlier date in preset color database, user
The rgb value of the color can be first input into.In implementing, if the user desired that by textcolor
Be changed to lilac, then can be input into the corresponding rgb value of lilac (203,137,203), or,
User can also directly input the decimal system rgb value (203,137,203) corresponding ten with lilac
Senary value (0xcb, 0x89,0xcb).
After the rgb value of the user input color, in a preferred embodiment of the present application, can be with
According to the rgb value of input, each pixel of graphical interfaces text of color corresponding with the rgb value is calculated
The internal storage data of point, forms internal storage data table.When user input rgb value for (203,137,203)
Afterwards, then the internal storage data of each pixel of graphical interfaces text of lilac can be calculated, interior poke is formed
According to table.
Step 103, from the internal storage data table, finds out the primitive solution with the graphical interfaces text
The pixel internal storage data of code Data Matching;
After the internal storage data table of each pixel of graphical interfaces text of designated color is obtained, can be interior from this
In deposit data table, poke in the pixel matched with the raw decoded data of graphical interfaces text is found out
According to.
It is described from the internal storage data table in a preferred embodiment of the present application, find out and institute
Stating the sub-step of the pixel internal storage data of the raw decoded data matching of graphical interfaces text can include:
Sub-step S1031, travels through the raw decoded data of the graphical interfaces text;
Sub-step S1032, in the internal storage data table, finds out one by one and the graphical interfaces text
The one-to-one pixel internal storage data of raw decoded data;
Sub-step S1033, by the raw decoded data of the graphical interfaces text picture is replaced with one by one
Vegetarian refreshments internal storage data.
In implementing, the raw decoded data of the text for needing to change color can be one by one read, from
Find out and raw decoded data in the internal storage data table of each pixel of graphical interfaces text of designated color
One-to-one pixel internal storage data, raw decoded data is replaced with one by one pixel internal storage data.
Such as, digital " 1 " is changed to into redness, then reads the primitive solution yardage in table 1 one by one first
According to finding out and raw decoded data in the internal storage data table of the red each pixel of graphical interfaces text
One-to-one pixel internal storage data, with the pixel internal storage data for finding out primitive solution yardage is replaced
According to.
The 1st value in raw decoded data is read, is 0x00, then from red graphical interfaces text
Corresponding pixel internal storage data is found out in the internal storage data table of each pixel, is 0x00000000, then
Raw decoded data 0x00 is replaced with 0x00000000.
Then, the 2nd value in raw decoded data is read, is 0x00, from red graphical interfaces text
Corresponding pixel internal storage data is found out in the internal storage data table of this each pixel, is 0x00000000,
Then replace raw decoded data 0x00 with 0x00000000.
It is 0x80 when the 19th value in reading raw decoded data, then from red figure circle
Corresponding pixel internal storage data is found out in the internal storage data table of each pixel of face text, is
0x80654465, with 0x80654465 raw decoded data 0x80 is replaced.
It is 0xfa when the 67th value in reading raw decoded data, then from red figure circle
Corresponding pixel internal storage data is found out in the internal storage data table of each pixel of face text, is
0xfafa0000, with 0xfafa0000 raw decoded data 0xfa is replaced.
It is 0xff when the 68th value in reading raw decoded data, then from red figure circle
Corresponding pixel internal storage data is found out in the internal storage data table of each pixel of face text, is
0xffff0000, with 0xffff0000 raw decoded data 0xff is replaced.
It is 0x00 when the 80th value in reading raw decoded data, then from red figure circle
Corresponding pixel internal storage data is found out in the internal storage data table of each pixel of face text, is
0x00000000, with 0x00000000, replace raw decoded data 0x00.
Complete until all raw decoded datas are replaced.
Step 104, using the pixel internal storage data graphical interfaces with the designated color is represented
Text.
Mode according to step 103, whole raw decoded datas of graphical interfaces text are all replaced
Into after the pixel internal storage data of designated color, then can be represented with specified using pixel internal storage data
The graphical interfaces text of color.
It is each by obtaining graphical interfaces text corresponding with designated color information in embodiments herein
The internal storage data table of pixel, then from the internal storage data table, finds out the original with graphical interfaces text
The pixel internal storage data of beginning decoding data matching, is represented with designated color using pixel internal storage data
Graphical interfaces text so that the conversion to raw decoded data can directly read internal memory by hardware module
Tables of data without the need for carrying out pointwise conversion by CPU, solves change graphical interfaces text at present completing
This color takes considerable time and takes the excessive problem of cpu resource.
As a kind of embodiment of the application, the internal memory of multiple color is preset in advance in color database
During tables of data, if necessary to graphical interfaces text is changed to into another kind of color by current color, can be by
The pointer for pointing to current color internal storage data table address points to the internal storage data table address for needing to change color
.
Such as, in the case of presetting red and green internal storage data table in advance in color database,
If the Show Color of current text is changed to into redness, receiving for graphical interfaces text
After color change request, red internal storage data table preset in color database is obtained, according to embodiment
Mode in one, replaces raw decoded data, makes graphical interfaces text represent redness.Further, such as
Fruit user needs for red text to be changed to green, then system will can refer to after change request is received
The internal storage data table address of green is pointed to the pointer of red internal storage data table address, original is then successively read
Value in beginning decoding data, from the internal storage data table of green, finds out and a pair of raw decoded data 1
The pixel internal storage data answered, is replaced after raw decoded data with the pixel internal storage data for finding out,
The graphical interfaces text of green can then be represented.
In the present embodiment, from the internal storage data table of green, find out original with graphical interfaces text
Decoding data matching pixel internal storage data the step of it is similar with step 103, the present embodiment to this no longer
Repeat.
Used as another kind of embodiment of the application, user can be according to respective preference, by graphical interfaces text
Originally it is changed to random color.
Such as, if the user desired that textcolor is changed in lilac, but color database not
The internal storage data table of preset lilac in advance, now user can directly input the rgb value of lilac
(203,137,203), each pixel of graphical interfaces text of lilac is calculated with the rgb value
Internal storage data, forms internal storage data table.Then, the value being successively read in raw decoded data, from calculating
In the internal storage data table of the lilac for going out, find out and the one-to-one pixel internal memory of raw decoded data
Data, are replaced after raw decoded data with the pixel internal storage data for finding out, then can represent grey violet
The graphical interfaces text of color.
In the present embodiment, from the internal storage data table of lilac, the original with graphical interfaces text is found out
Beginning decoding data matching pixel internal storage data the step of it is similar with step 103, the present embodiment to this not
Repeat again.
As another embodiment of the application, the colored display of graphical interfaces text can also be realized.
If the user desired that each word of a word is shown respectively with different colors, then can be right respectively
Each word calls the internal storage data table of the different colours in color database.Such as, redness can be obtained
Internal storage data table, by the raw decoded data of first character replace with redness pixel internal storage data,
Make first character shown in red;The pointer for pointing to red internal storage data table address is pointed to into the internal memory of green
Data table addresses, by the raw decoded data of second word the pixel internal storage data of green is replaced with, and is made
Second word is shown in green;Then the pointer for pointing to green internal storage data table address is pointed in purple
Deposit data table address, by triliteral raw decoded data the pixel internal storage data of purple is replaced with,
The 3rd word is set to be shown as purple, so as to realize that the colored of graphical interfaces text shows.
In the present embodiment, from the internal storage data table of shades of colour, find out and graphical interfaces text
The step of pixel internal storage data of raw decoded data matching, is similar with step 103, and the present embodiment is to this
Repeat no more.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it is
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described
Sequence of movement restriction because according to the embodiment of the present application, some steps can using other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Preferred embodiment is belonged to, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 5, a kind of device embodiment of change graphical interfaces textcolor of the application is shown
Structured flowchart, specifically can include such as lower module:
Color changes request receiving module 201, and the color change for receiving for graphical interfaces text please
Ask, the request includes the information of designated color;
Internal storage data table acquisition module 202, for according to the request, obtaining and designated color letter
Cease the internal storage data table of each pixel of corresponding graphical interfaces text;
Pixel internal storage data searching modul 203, for from the internal storage data table, finding out and institute
State the pixel internal storage data of the raw decoded data matching of graphical interfaces text;
Graphical interfaces text display module 204, for being represented with institute using the pixel internal storage data
State the graphical interfaces text of designated color.
In a preferred embodiment of the present application, the internal storage data table acquisition module 202 can include
Following submodule:
Preset internal storage data table acquisition submodule 2021, for according to the request, from preset number of colours
According to the internal storage data that each pixel of graphical interfaces text corresponding with the designated color information is obtained in storehouse
Table.
In another preferred embodiment of the present application, the internal storage data table acquisition module 202 can be with
Including following submodule:
Rgb value input submodule 2022, for according to the request, being input into the RGB of the designated color
Value;
Internal storage data meter operator module 2023, for according to the rgb value of the designated color, calculating
Go out the internal storage data of each pixel of graphical interfaces text of the designated color, form internal storage data table.
In a preferred embodiment of the present application, the pixel internal storage data searching modul 203 can be with
Including following submodule:
Raw decoded data travels through submodule 2031, for traveling through the original decoded of the graphical interfaces text
Data;
Pixel internal storage data searches submodule 2032, in the internal storage data table, searching one by one
Go out and the one-to-one pixel internal storage data of the raw decoded data of the graphical interfaces text;
Pixel internal storage data replaces submodule 2033, for by the original decoded of the graphical interfaces text
Data replace with one by one the pixel internal storage data.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison of description
Simply, related part is illustrated referring to the part of embodiment of the method.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present application can using complete hardware embodiment, completely
Software implementation or the form with reference to the embodiment in terms of software and hardware.And, the embodiment of the present application
Can adopt can be situated between in one or more computers for wherein including computer usable program code with storage
The computer journey implemented in matter (including but not limited to magnetic disc store, CD-ROM, optical memory etc.)
The form of sequence product.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal device (system) and meter
The flow chart and/or block diagram of calculation machine program product is describing.It should be understood that can be by computer program instructions
Each flow process and/or square frame and flow chart and/or square frame in flowchart and/or block diagram
The combination of flow process and/or square frame in figure.Can provide these computer program instructions to all-purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipments is producing
One machine so that by the computing device of computer or other programmable data processing terminal equipments
Instruction produce for realizing in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The device of the function of specifying in multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process
In the computer-readable memory that terminal device works in a specific way so that be stored in the computer-readable
Instruction in memory is produced and includes the manufacture of command device, and command device realization is in flow chart one
The function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing terminals set
It is standby upper so that execution series of operation steps is in terms of producing on computer or other programmable terminal equipments
The process that calculation machine is realized, so as to the instruction performed on computer or other programmable terminal equipments provides use
In realization in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames
The step of function of specifying.
Although having been described for the preferred embodiment of the embodiment of the present application, those skilled in the art are once
Basic creative concept is known, then other change and modification can be made to these embodiments.So,
Claims are intended to be construed to include preferred embodiment and fall into the institute of the embodiment of the present application scope
Have altered and change.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms
It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires
Either to imply and there is any this actual relation or order between these entities or operation.And, art
Language " including ", "comprising" or its any other variant are intended to including for nonexcludability, so that
A series of process, method, article or terminal device including key elements not only includes those key elements, and
Also include other key elements for being not expressly set out, or also include for this process, method, article or
The intrinsic key element of person's terminal device.In the absence of more restrictions, by sentence " including one
It is individual ... " key element that limits, it is not excluded that including the process of the key element, method, article or end
Also there is other identical element in end equipment.
Method above to a kind of change graphical interfaces textcolor provided herein and a kind of change
The device of graphical interfaces textcolor, is described in detail, and specific case used herein is to this Shen
Principle and embodiment please is set forth, and the explanation of above example is only intended to help and understands this Shen
Method please and its core concept;Simultaneously for one of ordinary skill in the art, according to the application's
Thought, will change in specific embodiments and applications, in sum, this specification
Content should not be construed as the restriction to the application.
Claims (8)
1. a kind of method of change graphical interfaces textcolor, it is characterised in that graphical interfaces text
This has raw decoded data, and methods described includes:
The color change request for graphical interfaces text is received, the request includes the letter of designated color
Breath;
According to the request, each pixel of graphical interfaces text corresponding with the designated color information is obtained
Internal storage data table;
From the internal storage data table, find out and matched with the raw decoded data of the graphical interfaces text
Pixel internal storage data;
Graphical interfaces text with the designated color is represented using the pixel internal storage data.
2. method according to claim 1, it is characterised in that described according to the request, obtains
The step of taking the internal storage data table of graphical interfaces text corresponding with the designated color information each pixel
Including:
According to the request, obtain corresponding with the designated color information from preset color database
The internal storage data table of each pixel of graphical interfaces text.
3. method according to claim 1, it is characterised in that described according to the request, obtains
The step of taking the internal storage data table of graphical interfaces text corresponding with the designated color information each pixel
Including:
According to the request, the rgb value of the designated color is input into;
According to the rgb value of the designated color, the graphical interfaces text for calculating the designated color is each
The internal storage data of pixel, forms internal storage data table.
4. the method according to claim 1 or 2 or 3, it is characterised in that described from described interior
In deposit data table, the pixel internal memory matched with the raw decoded data of the graphical interfaces text is found out
The step of data, includes:
Travel through the raw decoded data of the graphical interfaces text;
In the internal storage data table, the raw decoded data with the graphical interfaces text is found out one by one
One-to-one pixel internal storage data;
The raw decoded data of the graphical interfaces text is replaced with into one by one the pixel internal storage data.
5. a kind of device of change graphical interfaces textcolor, it is characterised in that graphical interfaces text
This has raw decoded data, and described device includes:
Color changes request receiving module, for receiving the color change request for graphical interfaces text,
The request includes the information of designated color;
Internal storage data table acquisition module, for according to the request, obtaining and the designated color information phase
The internal storage data table of each pixel of graphical interfaces text answered;
Pixel internal storage data searching modul, for from the internal storage data table, finding out and the figure
The pixel internal storage data of the raw decoded data matching of shape interface text;
Graphical interfaces text display module, for being represented with the finger using the pixel internal storage data
Determine the graphical interfaces text of color.
6. device according to claim 5, it is characterised in that the internal storage data table obtains mould
Block includes:
Preset internal storage data table acquisition submodule, for according to the request, from preset color database
The middle internal storage data table for obtaining each pixel of graphical interfaces text corresponding with the designated color information.
7. device according to claim 5, it is characterised in that the internal storage data table obtains mould
Block includes:
Rgb value input submodule, for according to the request, being input into the rgb value of the designated color;
Internal storage data meter operator module, for according to the rgb value of the designated color, calculating institute
The internal storage data of each pixel of graphical interfaces text of designated color is stated, internal storage data table is formed.
8. the device according to claim 5 or 6 or 7, it is characterised in that in the pixel
Deposit data searching modul includes:
Raw decoded data travels through submodule, for traveling through the primitive solution yardage of the graphical interfaces text
According to;
Pixel internal storage data search submodule, in the internal storage data table, find out one by one with
The one-to-one pixel internal storage data of raw decoded data of the graphical interfaces text;
Pixel internal storage data replaces submodule, for by the raw decoded data of the graphical interfaces text
The pixel internal storage data is replaced with one by one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510646394.2A CN106569757A (en) | 2015-10-08 | 2015-10-08 | Method and device for changing color of graphical interface text |
PCT/CN2016/072029 WO2017059651A1 (en) | 2015-10-08 | 2016-01-25 | Method and apparatus for changing text colour of graphical interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510646394.2A CN106569757A (en) | 2015-10-08 | 2015-10-08 | Method and device for changing color of graphical interface text |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106569757A true CN106569757A (en) | 2017-04-19 |
Family
ID=58487305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510646394.2A Pending CN106569757A (en) | 2015-10-08 | 2015-10-08 | Method and device for changing color of graphical interface text |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106569757A (en) |
WO (1) | WO2017059651A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286475A (en) * | 2020-10-30 | 2021-01-29 | 海信电子科技(武汉)有限公司 | Text display method and display equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365082A (en) * | 2008-10-08 | 2009-02-11 | 南京邮电大学 | Set-top box on screen display system implementing method based on peer-to-peer computing technique |
CN101833542A (en) * | 2010-04-21 | 2010-09-15 | 中兴通讯股份有限公司 | Method and device for rendering fonts of user interface |
CN102169423A (en) * | 2010-02-26 | 2011-08-31 | 腾讯科技(北京)有限公司 | Method and system for displaying characters |
CN102799436A (en) * | 2012-07-16 | 2012-11-28 | 蔡远文 | Memory mapping based method for quickly displaying and processing multiple bitmaps |
CN103259989A (en) * | 2012-02-17 | 2013-08-21 | 中兴通讯股份有限公司 | Screen content display method and screen content display device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100433808C (en) * | 2004-12-30 | 2008-11-12 | 厦门华侨电子股份有限公司 | Method for displaying OSD menu of TV set |
CN101052107B (en) * | 2006-04-04 | 2010-07-21 | 康佳集团股份有限公司 | Switching circuit for TV menu skin color |
CN101312511B (en) * | 2007-05-22 | 2012-08-29 | 深圳Tcl新技术有限公司 | Method and system for setting appearance of OSD menu of display |
TR200709081A2 (en) * | 2007-12-28 | 2009-07-21 | Vestel Elektron�K Sanay� Ve T�Caret A.�. | Dynamic color user for display systems. |
CN101827233B (en) * | 2009-12-31 | 2015-04-22 | 康佳集团股份有限公司 | Method for converting display colors of television menu based on alpha value and television thereof |
-
2015
- 2015-10-08 CN CN201510646394.2A patent/CN106569757A/en active Pending
-
2016
- 2016-01-25 WO PCT/CN2016/072029 patent/WO2017059651A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365082A (en) * | 2008-10-08 | 2009-02-11 | 南京邮电大学 | Set-top box on screen display system implementing method based on peer-to-peer computing technique |
CN102169423A (en) * | 2010-02-26 | 2011-08-31 | 腾讯科技(北京)有限公司 | Method and system for displaying characters |
CN101833542A (en) * | 2010-04-21 | 2010-09-15 | 中兴通讯股份有限公司 | Method and device for rendering fonts of user interface |
CN103259989A (en) * | 2012-02-17 | 2013-08-21 | 中兴通讯股份有限公司 | Screen content display method and screen content display device |
CN102799436A (en) * | 2012-07-16 | 2012-11-28 | 蔡远文 | Memory mapping based method for quickly displaying and processing multiple bitmaps |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286475A (en) * | 2020-10-30 | 2021-01-29 | 海信电子科技(武汉)有限公司 | Text display method and display equipment |
CN112286475B (en) * | 2020-10-30 | 2022-09-30 | 海信电子科技(武汉)有限公司 | Text display method and display device |
Also Published As
Publication number | Publication date |
---|---|
WO2017059651A1 (en) | 2017-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108648249B (en) | Image rendering method and device and intelligent wearable device | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
CN106843505A (en) | A kind of digital video interactive and method based on preschool education | |
CN108806638B (en) | Image display method and device | |
WO2023071861A1 (en) | Data visualization display method and apparatus, computer device, and storage medium | |
WO2015096588A1 (en) | Method and device for switching display pages | |
CN114298900A (en) | Image super-resolution method and electronic equipment | |
CN113742025A (en) | Page generation method, device, equipment and storage medium | |
CN111369431A (en) | Image processing method and device, readable medium and electronic equipment | |
CN106155542A (en) | Image processing method and device | |
CN110363837B (en) | Method and device for processing texture image in game, electronic equipment and storage medium | |
CN115328429A (en) | Display method, display device, electronic apparatus, and storage medium | |
CN104639834A (en) | Method and system for transmitting camera image data | |
CN111327762A (en) | Operation track display method and device, electronic equipment and storage medium | |
CN106535002B (en) | Desktop starter template layout updating method and device | |
US10402707B2 (en) | Interactive optical code creation | |
CN106569757A (en) | Method and device for changing color of graphical interface text | |
WO2023078281A1 (en) | Picture processing method and apparatus, device, storage medium and program product | |
CN115953597B (en) | Image processing method, device, equipment and medium | |
US20110221775A1 (en) | Method for transforming displaying images | |
CN111383289A (en) | Image processing method, image processing device, terminal equipment and computer readable storage medium | |
CN109189524A (en) | Image resource generation method and device | |
CN111127310B (en) | Image processing method and device, electronic equipment and storage medium | |
CN114489910A (en) | Video conference data display method, device, equipment and medium | |
CN114677461A (en) | Method, device and equipment for generating special effect characters and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |
|
RJ01 | Rejection of invention patent application after publication |