|
GUI Sliders headache |
jaime barrachina
Member #6,780
January 2006
|
Hello people, I was wondering if you could lend a minute or two to help me out a tight spot (as usual). The problem is as follows, I'm trying to make 2 sliders for my map editor, to move the map and so on. The problem is that it doesn't change the value of any variable, even changing i2 and j2 it should move already. As far as I know it doesn't even use the functions, could anyone tell me why?
"Under the sword lifted high There is hell making you tremble: But go ahead, And you have the land of bliss. - Miyamoto Musahshi" |
Dennis
Member #1,090
July 2003
|
Quote:
Function Pointers In other words: The "(void*)" piece is wrong, just writing the function name into dp2 should correct the problem that it isn't called. Why is that? --- 0xDB | @dennisbusch_de --- |
jaime barrachina
Member #6,780
January 2006
|
But if I take the (void*) away, it gives the folowing error: Invalid conversion from `int (*)(void*, int)' to `void*' Any idea why that is? Txs a bunch for the help. (_ _) Edit: Hummm oks now it works, but it does funny things xD like not showing the rest of the interface while using the slidebars xD Well, at least it wors, txs for the help. "Under the sword lifted high There is hell making you tremble: But go ahead, And you have the land of bliss. - Miyamoto Musahshi" |
|