#pragma once //########################################################################### // // L4PADPANEL -- the on-screen cockpit button panel (BT_GLASS only). // // A developer-grade GDI window presenting the pod's RIO button banks as // clickable, lamp-lit buttons: upper aux banks (0x20-0x37), the 12 // secondary-panel buttons (0x10-0x15, 0x18-0x1D), lower aux banks // (0x00-0x0F), and the special/handle row (door, panic, reverse, trigger, // hat, pinky/thumbs). Lamps render from PadRIO::GetLampState; clicks // inject through PadRIO::SetScreenButton. Created by the PadRIO ctor when // BT_PAD_PANEL=1 (the glass preset sets it); destroyed with the PadRIO. // // All window-management uses the W APIs (the L4VB16 mojibake lesson). The // window lives on the app thread and repaints on a ~10 Hz timer. // //########################################################################### void BTPadPanel_Create(); void BTPadPanel_Destroy();