SDL  2.0
test.cpp File Reference
#include <fx.h>
#include "hidapi.h"
#include "mac_support.h"
#include <string.h>
#include <stdlib.h>
#include <limits.h>
+ Include dependency graph for test.cpp:

Go to the source code of this file.

Data Structures

class  MainWindow
 

Functions

 FXDEFMAP (MainWindow) MainWindowMap []
 
 FXIMPLEMENT (MainWindow, FXMainWindow, MainWindowMap, ARRAYNUMBER(MainWindowMap))
 
int main (int argc, char **argv)
 

Variables

const int timeout_scalar = 1
 
FXMainWindow * g_main_window
 

Function Documentation

◆ FXDEFMAP()

FXDEFMAP ( MainWindow  )

◆ FXIMPLEMENT()

FXIMPLEMENT ( MainWindow  ,
FXMainWindow  ,
MainWindowMap  ,
ARRAYNUMBER(MainWindowMap)   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 524 of file test.cpp.

References g_main_window, and MainWindow::MainWindow().

525 {
526  FXApp app("HIDAPI Test Application", "Signal 11 Software");
527  app.init(argc, argv);
528  g_main_window = new MainWindow(&app);
529  app.create();
530  app.run();
531  return 0;
532 }
FXMainWindow * g_main_window
Definition: test.cpp:98

Variable Documentation

◆ g_main_window

FXMainWindow* g_main_window

◆ timeout_scalar

const int timeout_scalar = 1