Hello everyone.
can someone post a simple menu example?
I tried with these examples here: http://www.pcguru.plus.com/tutorial/menus2.html
i get four warnings for the following:
initialization makes integer from pointer without a cast
struct MenuItem item1 =
{ NULL, 0, 0, 48, 12, ITEMTEXT|ITEMENABLED|HIGHCOMP, 0, &text4, &text4, NULL, NULL, 0 };
struct MenuItem item2 =
{ &item1, 0, 12, 48, 12, ITEMTEXT|ITEMENABLED|HIGHCOMP, 0, &text3, &text3, NULL, NULL, 0 };
struct MenuItem item3 =
{ &item2, 0, 24, 48, 12, ITEMTEXT|ITEMENABLED|HIGHCOMP, 0, &text2, &text2, NULL, NULL, 0 };
struct MenuItem item4 =
{ &item3, 0, 36, 48, 12, ITEMTEXT|ITEMENABLED|HIGHCOMP, 0, &text1, &text1, NULL, NULL, 0 };
Fri, 2012-10-05 20:26
#1
Intuition simple menu example
Pages