04-07-2007, 12:27 PM
I am designing a throttle,pitch and mixture control for a Diamond Star using some photo realist shots I took of my plane. I've got the MAKE_SLIDER to work but need help with some sample code for the MOUSE_CHILD_EVENT or MOUSE_CHILD_FUNC to position the controls using the mouse. Does anyone have some sample code for these?
Vince Kumagai -sonofullr
Diamond DA-40 N445DS
04-07-2007, 03:06 PM
BOOL FSAPI TQ_eng1_icr_mouse_cb( PPIXPOINT relative_point, FLAGS32 mouse_flags)
trigger_key_event (KEY_THROTTLE_INCR,0) ;
BOOL FSAPI TQ_eng1_dcr_mouse_cb( PPIXPOINT relative_point, FLAGS32 mouse_flags)
trigger_key_event (KEY_THROTTLE_DECR,0) ;
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.