Tuesday, February 20th 2018, 10:20am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jan 18th 2016

Posts: 45


Wednesday, March 16th 2016, 2:55pm

[SOLVED] How to use hardware cursor with emWin?

These days I was struggling with hardware cursor.
I configured the lpc43xx, and tested ok.

I knew that both lpc43xx and emWin support hardware cursor.
But, there're some questions with emWin:
a) Need another layer? (Now GUI_NUM_LAYERS is limited to 1 by default)
b) How to tell emWin there's a hardware cursor and use it?
c) lpc43xx modifies frame buffer directly, will emWin overwrite them?

The UM03001 says very little about it.
Any idea or hint is welcome! Thanks.

This post has been edited 1 times, last edit by "kenmux" (Mar 30th 2016, 7:52am)


Super Moderator

Date of registration: Dec 20th 2007

Posts: 81


Tuesday, March 29th 2016, 4:44pm


a) Yes, as explained in the documentation. Excerpt:

"If a hardware supports multiple layers and the ability of layer positioning emWin can be configured to use a separate layer for managing the cursor."

b) “GUI_AssignCursorLayer()” should be used.

c) Should be explained in detail under “GUI_AssignCursorLayer() in chapter 'MultiLayer API'




Date of registration: Jan 18th 2016

Posts: 45


Wednesday, March 30th 2016, 7:50am

I see. Thanks for your reply!
It seems that lpc43xx done all job, no extra layer needed.