/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / touchscreen:(

Username:     
Password:     
             

Forum

# 1   2009-03-12 10:43:00 touchscreen:(

ashleypeters
New member
Registered: 2009-03-11
Posts: 2

touchscreen:(

hey guys
was just wondering if anyone has re-programmed/reconfigured the 4 touchscreen menu buttons on the stm32 primer2(e module:rectangular) to do specific things or go into another menu which i would like to specify. Can anybody help? sad

Offline

 

# 2   2009-03-12 12:58:39 touchscreen:(

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: touchscreen:(

Hi Ashley,
The 4 touchscreen menu buttons form the "toolbar", managed by the TOOLBAR handler, and the CircleOS provides some API functions to modify it :
- TOOLBAR_Set(@ new toolbar) : change the current toolbar to the new one described by the structure passed through parameter (tToolbar type, with pointer to new icons),
- TOOLBAR_SetDafaultToolbar : restore the factory toolbar.

You also can modify only one button with the function : TOOLBAR_ChangeButton(button, @ new icon, @ new function).


I recommend you to take a look at the online documentation :
http://www.stm32circle.com/circleos_doc/index.html
http://www.stm32circle.com/resources/do … _v2_v3.pdf

Regards,
Yves

Last edited by yrt (2009-03-12 13:00:56)

Offline

 

Board footer