## Link to GitHub Issue, if one exists #345 ## Description of change When DLL is configured to use TDJ I/O but spice is in LDJ mode, show an error in LED ticker suggesting the user to turn on `-iidxtdj`. When DLL is configured to use LDJ I/O but spice is in TDJ mode, show an error in TDJ overaly suggesting the user to fix the DLL. Fix a small bug that caused a white window to be created when `-w` is enabled even when `-iidxtdj` is not, but DLL is using TDJ I/O.
20 lines
504 B
C++
20 lines
504 B
C++
#ifndef SPICETOOLS_OVERLAY_WINDOWS_IIDX_SUB_H
|
|
#define SPICETOOLS_OVERLAY_WINDOWS_IIDX_SUB_H
|
|
|
|
#include "overlay/window.h"
|
|
#include "overlay/windows/generic_sub.h"
|
|
|
|
namespace overlay::windows {
|
|
|
|
class IIDXSubScreen : public GenericSubScreen {
|
|
public:
|
|
IIDXSubScreen(SpiceOverlay *overlay);
|
|
|
|
protected:
|
|
void touch_transform(const ImVec2 xy_in, LONG *x_out, LONG *y_out) override;
|
|
void check_for_errors() override;
|
|
};
|
|
}
|
|
|
|
#endif // SPICETOOLS_OVERLAY_WINDOWS_IIDX_SUB_H
|