CN106371695A - Processing method and device for user-defined cursor - Google Patents
Processing method and device for user-defined cursor Download PDFInfo
- Publication number
- CN106371695A CN106371695A CN201610772104.3A CN201610772104A CN106371695A CN 106371695 A CN106371695 A CN 106371695A CN 201610772104 A CN201610772104 A CN 201610772104A CN 106371695 A CN106371695 A CN 106371695A
- Authority
- CN
- China
- Prior art keywords
- cursor
- self
- custom
- outward appearance
- specially good
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 230000000694 effects Effects 0.000 claims abstract description 60
- 238000004091 panning Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 4
- 230000003068 static effect Effects 0.000 description 3
- 230000008034 disappearance Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a processing method and a device for a user-defined cursor, wherein the method comprises the following steps: calling an application programming interface of the system, and hiding a system cursor provided by the system and used for indicating the current text input position; generating a cursor with a custom appearance on the current text input position; wherein the appearance comprises a shape and a background color; giving a self-defined dynamic special effect to the cursor, and displaying the cursor at the position according to the dynamic special effect. By adopting the invention, the cursor display with the user-defined effect can be simply and conveniently realized.
Description
Technical field
The present invention relates to field of computer technology, more particularly, to a kind for the treatment of method and apparatus of custom cursor.
Background technology
When carrying out text input in a computer, computer system provides a cursor to be used for the current text of instruction user
On position, this cursor is generally monochromatic, is more the rectangular color lumps of a black, and the technical scheme that system provides is worked as
In, often only by the rectangular color lumps of flicker, current text input position is indicated, the effect more do not enriched,
It is unfavorable for improving the experience of user version input.And if desired the display effect of system cursor is customized, then need to obtain
Corresponding System Privileges, domestic consumer is difficult to change.
Content of the invention
The purpose of the embodiment of the present invention there are provided a kind of processing method of custom cursor, realizes custom effect
Cursor shows, improves Consumer's Experience.
To achieve these goals, embodiments provide a kind of processing method of custom cursor, comprising:
The application programming interface of calling system, what hiding system provided for indicate current text input position is
System cursor;
The cursor of self-defined outward appearance is generated on described current text input position;Wherein, described outward appearance include profile and
Background color;
Give described cursor self-defining dynamic specially good effect, and according to described dynamic specially good effect on described position to described cursor
Shown.
The processing meanss of the custom cursor that the present invention provides, by hiding system cursor, without System Privileges, utilize
The cursor of self-defined outward appearance is replaced to system cursor, the static cursor of achievable custom effect, and is described further
Cursor gives dynamic specially good effect, can achieve diversified Dynamic Announce effect, is conducive to lifting the experience of user version input.
Preferably, described dynamic specially good effect includes the combination of one or more of color gradient, shake, rotation and scaling.
Preferably, the described cursor that self-defined outward appearance is generated on described current text input position, comprising:
Generate and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in described system light
Mark the position before being hidden;
Self-defining profile and background color are applied on described cursor glyph, to change the outer of described cursor glyph
See.
Preferably, in the described imparting self-defining dynamic specially good effect of described cursor, and according to described dynamic specially good effect in institute's rheme
Put after described cursor is shown, also include:
Obtain described smooth target current display position, and after user carries out the operation of impact cursor position, obtain described
Light target target display location;
According to self-defining animation effect, described cursor is moved to institute in animated way from described current display position
State target display location.
The processing method of the custom cursor that the present invention provides, is shown by obtaining light target current display position and target
Position is that light target is mobile adds self-defining animation effect, changes the existing input stiff disappearance of indicating cursor, lofty display
Mobile scheme, be conducive to the Consumer's Experience of further improving product.
Preferably, described animation effect includes one or more of rotation, zooming and panning combination.
Correspondingly, the embodiment of the present invention additionally provides a kind of processing meanss of custom cursor, comprising:
Cursor hidden module, for the application programming interface of calling system, what hiding system provided works as instruction
The system cursor of front text input position;
Cursor generation module, for generating the cursor of self-defined outward appearance on described current text input position;Wherein, institute
State outward appearance and include profile and background color;With,
Cursor FX Module, for giving described cursor self-defining dynamic specially good effect, and according to described dynamic specially good effect in institute
Rheme is put and described cursor is shown.
Preferably, described dynamic specially good effect includes the combination of one or more of color gradient, shake, rotation and scaling.
Preferably, described cursor generation module includes:
Replacement unit, generates and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in
Described system cursor be hidden before position;
Self-defined unit, self-defining profile and background color is applied on described cursor glyph, to change described light
The outward appearance of logo image.
Preferably, described device also includes:
Position acquisition module, for obtaining described smooth target current display position, and carries out affecting cursor position in user
Operation after, obtain described smooth target target display location;With,
Animation effect module, according to self-defining animation effect, by described cursor from described current display position with animation
Mode mobile to described target display location.
Preferably, described animation effect includes one or more of rotation, zooming and panning combination.
Brief description
Fig. 1 is the flow chart of the embodiment of the processing method of custom cursor that the present invention provides;
Fig. 2 is the flow chart of another embodiment of the processing method of custom cursor that the present invention provides;
Fig. 3 is the structure chart of the embodiment of the processing meanss of custom cursor that the present invention provides;
Fig. 4 is the structure chart of another embodiment of the processing meanss of custom cursor that the present invention provides.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.It should be noted that the sequence number before each step in embodiment is only for convenience of description, no
Should be regarded as the restriction to each step execution sequence.
Referring to Fig. 1, it is the flow chart of the embodiment of the processing method of custom cursor that the present invention provides.
As shown in figure 1, the processing method of described custom cursor, including step s11~s13:
S11, the application programming interface of calling system, hiding system provide for indicating current text input position
System cursor.
As described in the background art, the modification of system cursor generally requires by corresponding System Privileges, for general
It is difficult to realize for user.Api interface (the application programming that the present invention is provided by operating system
Interface, application programming interface) dexterously system cursor is hidden, to get around System Privileges, show self-defining light
Mark.
S12, generates the cursor of self-defined outward appearance on described current text input position.Wherein, outside described outward appearance includes
Shape and background color.
In the middle of being embodied as, described step s12 includes:
Generate and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in described system light
Mark the position before being hidden.
Self-defining profile and background color are applied on described cursor glyph, to change the outer of described cursor glyph
See.
Using such scheme, user can self-defining light target profile and background color as needed, can realize easily appointing
Light target profile such as can be revised as waveform, light target background color is changed by the static cursor customization of meaning shape and color
For gradient color.
S13, give the self-defining dynamic specially good effect of described cursor, and according to described dynamic specially good effect on described position to described
Cursor is shown.
Wherein, described dynamic specially good effect preferably includes the combination of one or more of color gradient, shake, rotation and scaling.
The thin and tall rectangle of a gradient color, can be drawn in current text input indicating positions, over time taking color gradient as a example
Passage, light target color gradually changes, to realize the custom cursor that gradient color moves effect.It should be appreciated that above-mentioned dynamic specially good effect
It is only preferred embodiment, those skilled in the art can choose other dynamic specially good effects and dynamic specially good effect according to actual needs
The mode of combination realizes technical scheme.
It is the flow chart of another embodiment of processing method of the custom cursor that the present invention provides referring to Fig. 2.This reality
Apply example on the basis of embodiment illustrated in fig. 1, further include step s21~s22.
As shown in Fig. 2 after described step s13, also including:
S21, obtains described smooth target current display position, and after user carries out the operation of impact cursor position, obtains
Described smooth target target display location.
The operation of described impact cursor position preferably includes: the new content of text of user input, or user uses mouse
Click on the position that any text is located, or user uses the direction key control input indicating cursor of keyboard to new display position
Put.For example, at the end of text " made in China, ", user continues input text " benefiting the whole world " to light target current display position,
Then light target target display location should be at the end of text " made in China benefits the whole world ".Those skilled in the art can manage
Solution, above-mentioned embodiment is merely illustrative, and in being embodied as, the operation of impact cursor position can also pass through its other party
Formula is realized, and is difficult to enumerate, all embodiments under the premise without departing from the principles of the invention all should regard in the present embodiment
For protection scope of the present invention.
S22, according to self-defining animation effect, described cursor is moved in animated way from described current display position
To described target display location.
Wherein, described animation effect preferably includes one or more of rotation, zooming and panning combination.It is being embodied as
Central, described smooth target current display position be p1, described smooth target target display location be p2, the present invention described cursor from
P1 is mobile to apply animation effect to p2, such as moves to p2 from p1 by way of direct translation, or with arc road
The footpath mode turning clockwise moves to p2 from p1.It should be appreciated that above-mentioned animation effect is only preferred embodiment, ability
Field technique personnel can choose other animation effects according to actual needs and the mode of animation effect combination realizes the present invention's
Technical scheme.
In the middle of prior art, when user carries out text input in computer, computer system provides a cursor to be used for
The current text on position of instruction user, after user input text, cursor is to disappear from original position suddenly, then goes out suddenly
Now after the text of new input.Or when user changes input position using the directionkeys of mouse or keyboard, cursor is also
Directly disappear from current location, then suddenly appear in the position that the keyboard of user or mouse point to.Existing cursor moves
Scheme is only simply to show the input position of user it is impossible to provide more adjustable mobile scheme, is unfavorable for improving and uses
The experience of family text input.The present embodiment provide custom cursor processing method, by system cursor hide and replace
Change, without system bottom authority, by obtaining light target current display position and target display location, being that light target is mobile adds
Self-defining animation effect, changes the existing input stiff disappearance of indicating cursor, the mobile scheme of lofty display, is conducive to being lifted
The Consumer's Experience of product.
Referring to Fig. 3, it is the structure chart of the embodiment of the processing meanss of custom cursor that the present invention provides.This enforcement
The ultimate principle of example is consistent with the ultimate principle of embodiment illustrated in fig. 1, part is not described in detail in detail in the present embodiment and can be found in shown in Fig. 1 in fact
Apply the associated description in example.
As shown in figure 3, the processing meanss of described custom cursor include:
Cursor hidden module 31, for the application programming interface of calling system, hiding system provide for indicating
The system cursor of current text input position.
Cursor generation module 32, for generating the cursor of self-defined outward appearance on described current text input position.Wherein,
Described outward appearance includes profile and background color.With,
Cursor FX Module 33, for giving described cursor self-defining dynamic specially good effect, and exists according to described dynamic specially good effect
On described position, described cursor is shown.
Wherein, described dynamic specially good effect preferably includes the combination of one or more of color gradient, shake, rotation and scaling.
In the middle of being embodied as, described cursor generation module 32 includes:
Replacement unit, generates and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in
Described system cursor be hidden before position.
Self-defined unit, self-defining profile and background color is applied on described cursor glyph, to change described light
The outward appearance of logo image.
The processing meanss of the custom cursor that the present embodiment provides, by hiding system cursor, without System Privileges, profit
With the cursor of self-defined outward appearance, system cursor is replaced, the static cursor of achievable custom effect, and further for institute
State cursor and give dynamic specially good effect, can achieve diversified Dynamic Announce effect, be conducive to the Consumer's Experience of improving product.
Referring to Fig. 4, it is the structure chart of another embodiment of the processing meanss of custom cursor that the present invention provides.This reality
Applying example increases on the basis of embodiment illustrated in fig. 3 further:
Position acquisition module 41, for obtaining described smooth target current display position, and carries out affecting light mark in user
After the operation put, obtain described smooth target target display location.With,
Animation effect module 42, according to self-defining animation effect, by described cursor from described current display position with dynamic
The mobile extremely described target display location of mode drawn.
Wherein, described animation effect preferably includes one or more of rotation, zooming and panning combination.
In sum, the present invention provides the processing method of custom cursor and system, can be used for computer application software
Text editing in, by hiding and replace to system cursor, the cursor that can easily realize custom effect shows and moves
Dynamic, be conducive to improving the experience of user version input.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.
Claims (10)
1. a kind of processing method of custom cursor is it is characterised in that include:
The application programming interface of calling system, the system light for indicating current text input position that hiding system provides
Mark;
The cursor of self-defined outward appearance is generated on described current text input position;Wherein, described outward appearance includes profile and background
Color;
Give described cursor self-defining dynamic specially good effect, and on described position, described cursor is carried out according to described dynamic specially good effect
Display.
2. the processing method of custom cursor as claimed in claim 1 is it is characterised in that described dynamic specially good effect includes color gradually
One or more of become, shake, rotate and scale combination.
3. the processing method of custom cursor as claimed in claim 1 is it is characterised in that described input in described current text
The cursor of self-defined outward appearance is generated on position, comprising:
Generate and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in described system cursor quilt
Position before hiding;
Self-defining profile and background color are applied on described cursor glyph, to change the outward appearance of described cursor glyph.
4. the processing method of the custom cursor as described in any one of claims 1 to 3 is it is characterised in that in described imparting institute
State the self-defining dynamic specially good effect of cursor, and after described cursor being shown on described position according to described dynamic specially good effect,
Also include:
Obtain described smooth target current display position, and after user carries out the operation of impact cursor position, obtain described cursor
Target display location;
According to self-defining animation effect, described cursor is moved to described mesh in animated way from described current display position
Mark display location.
5. custom cursor as claimed in claim 4 processing method it is characterised in that described animation effect include rotation,
One or more of zooming and panning combine.
6. a kind of processing meanss of custom cursor are it is characterised in that include:
Cursor hidden module, for the application programming interface of calling system, what hiding system provided ought be above for instruction
The system cursor of this input position;
Cursor generation module, for generating the cursor of self-defined outward appearance on described current text input position;Wherein, described outer
See and include profile and background color;With,
Cursor FX Module, for giving described cursor self-defining dynamic specially good effect, and according to described dynamic specially good effect in institute's rheme
Put and described cursor is shown.
7. the processing meanss of custom cursor as claimed in claim 6 are it is characterised in that described dynamic specially good effect includes color gradually
One or more of become, shake, rotate and scale combination.
8. the processing meanss of custom cursor as claimed in claim 6 are it is characterised in that described cursor generation module includes:
Replacement unit, generates and described system cursor outward appearance identical cursor glyph, and described cursor glyph is shown in described
System cursor be hidden before position;
Self-defined unit, self-defining profile and background color are applied on described cursor glyph, are marked on a map with changing described light
The outward appearance of picture.
9. the processing meanss of the custom cursor as described in any one of claim 6~8 are it is characterised in that described device is also wrapped
Include:
Position acquisition module, for obtaining described smooth target current display position, and carries out affecting the behaviour of cursor position in user
After work, obtain described smooth target target display location;With,
Animation effect module, according to self-defining animation effect, by described cursor from described current display position with the side of animation
The mobile extremely described target display location of formula.
10. custom cursor as claimed in claim 9 processing meanss it is characterised in that described animation effect include rotation,
One or more of zooming and panning combine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610772104.3A CN106371695A (en) | 2016-08-30 | 2016-08-30 | Processing method and device for user-defined cursor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610772104.3A CN106371695A (en) | 2016-08-30 | 2016-08-30 | Processing method and device for user-defined cursor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371695A true CN106371695A (en) | 2017-02-01 |
Family
ID=57902314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610772104.3A Pending CN106371695A (en) | 2016-08-30 | 2016-08-30 | Processing method and device for user-defined cursor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371695A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646957A (en) * | 2018-03-20 | 2018-10-12 | 上海车音智能科技有限公司 | A kind of dynamic input method and device |
CN113515213A (en) * | 2021-08-03 | 2021-10-19 | 恒安嘉新(北京)科技股份公司 | Cursor shape synchronization method, remote browsing system, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060248447A1 (en) * | 2005-05-02 | 2006-11-02 | Nokia Corporation | Indicating loading status of information from a computer network |
CN101308443A (en) * | 2007-01-31 | 2008-11-19 | 捷讯研究有限公司 | System and method for organizing icons for applications on a mobile device |
CN102012805A (en) * | 2009-09-04 | 2011-04-13 | 腾讯科技(深圳)有限公司 | Custom cursor realization method and device |
CN103440090A (en) * | 2013-07-31 | 2013-12-11 | 贝壳网际(北京)安全技术有限公司 | Cursor control method and device and user terminal |
-
2016
- 2016-08-30 CN CN201610772104.3A patent/CN106371695A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060248447A1 (en) * | 2005-05-02 | 2006-11-02 | Nokia Corporation | Indicating loading status of information from a computer network |
CN101308443A (en) * | 2007-01-31 | 2008-11-19 | 捷讯研究有限公司 | System and method for organizing icons for applications on a mobile device |
CN102012805A (en) * | 2009-09-04 | 2011-04-13 | 腾讯科技(深圳)有限公司 | Custom cursor realization method and device |
CN103440090A (en) * | 2013-07-31 | 2013-12-11 | 贝壳网际(北京)安全技术有限公司 | Cursor control method and device and user terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646957A (en) * | 2018-03-20 | 2018-10-12 | 上海车音智能科技有限公司 | A kind of dynamic input method and device |
CN113515213A (en) * | 2021-08-03 | 2021-10-19 | 恒安嘉新(北京)科技股份公司 | Cursor shape synchronization method, remote browsing system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11625136B2 (en) | Systems, methods, and computer-readable media for managing collaboration on a virtual work of art | |
US20120210261A1 (en) | Systems, methods, and computer-readable media for changing graphical object input tools | |
CN106648337B (en) | Method and device for displaying content in display list and electronic equipment | |
CN102681853B (en) | Method and device for realizing 3D (3-Dimensional) screen rotation of desktop of Android operating system by using OpenGL ES (OpenGL for Embedded Systems) | |
WO2020147300A1 (en) | Map interaction method based on dynamic legend | |
CN108762482A (en) | Data interactive method and system between a kind of large screen and augmented reality glasses | |
KR102374160B1 (en) | A method and apparatus to reduce display lag using scailing | |
Forbes et al. | Generative fluid profiles for interactive media arts projects | |
CN106371695A (en) | Processing method and device for user-defined cursor | |
CN110502205A (en) | Picture showing edge processing method, device, electronic equipment and readable storage medium storing program for executing | |
US20090320004A1 (en) | Test Instrument Graphical User Interface | |
EP2965289A1 (en) | Generating screen data | |
CN104077114B (en) | A kind of method and electronic equipment of display interface that replacing application software | |
CN106708356A (en) | Call tag display method and device | |
US10311130B1 (en) | Dynamic page transitions in electronic content | |
CN102591646A (en) | Method for simultaneously scaling multiple WPF (Windows presentation foundation) windows and device | |
CN110543370B (en) | Method for rewriting UE4 rendering engine bottom layer and communication mechanism thereof | |
CN108228036B (en) | Method and device for realizing window menu in windows | |
CN109739599A (en) | A kind of mutual runner disc plug-in unit of the Product Interface based on canvas | |
Berthaut et al. | Controllar: Appropriation of visual feedback on control surfaces | |
KR102014453B1 (en) | Method for simulation displaying 3D user interface | |
JP5404125B2 (en) | Content distribution apparatus, portable electronic device, content distribution method, content display method, and program | |
Jaganmohan et al. | PySide GUI Application Development | |
CN114299207A (en) | Virtual object rendering method and device, readable storage medium and electronic device | |
KR101804049B1 (en) | Screen Configuration Method using a Background Frame and Translucent Layout |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |