Hi,
im working on a test project.
I want to add an imagebutton. so I created a image in "resources/btn_test1.png", add a resource.lst file
.res IMG_BTN_TEST1
.image "resources/btn_test1.png"
If I add ../MAHeaders.h I get this error message:
D:\MoSync\workspace\DHHelloNativeUI\GUI\Overview.cpp:37:26: ../MAHeaders.h: No such file or directory
D:\MoSync\workspace\DHHelloNativeUI\GUI\Overview.cpp: In member function `void Overview::createUI()':
--> GCC PIPIL Compiler v2:11:50:55:Aug 26 2009 (O0)
d:\MoSync\bin\xgcc.exe -o D:\MoSync\workspace\DHHelloNativeUI\Output\Debug\DataStore.s -S -g -MMD -MF D:\MoSync\workspace\DHHelloNativeUI\Output\Debug\DataStore.s.deps -DMAPIP -O0 D:\MoSync\workspace\DHHelloNativeUI\BusLog\DataStore.cpp -Id:\MoSync\profiles\vendors\HTC\Desire HD -Id:\MoSync\include -ID:\MoSync\workspace\DHHelloNativeUI\Output\Debug
D:\MoSync\workspace\DHHelloNativeUI\GUI\Overview.cpp:153: error: `IMG_BTN_TEST1' was not declared in this scope
D:\MoSync\workspace\DHHelloNativeUI\GUI\Overview.cpp:158: error: invalid conversion from `NativeUI::Image*' to `MAHandle'
D:\MoSync\workspace\DHHelloNativeUI\GUI\Overview.cpp:158: error: initializing argument 1 of `virtual int NativeUI::ImageButton::setImage(MAHandle)'
Can anybody help me?
Regards,
David