comparison Samples/Sdl/SdlHelpers.h @ 1388:240531afdd2d

Dead code removal + removed untested Dicomweb + SingleFrameViewer wasm fixes
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 28 Apr 2020 08:57:39 +0200
parents dfb48f0794b1
children ffdb82850e98
comparison
equal deleted inserted replaced
1387:4ebf246f3919 1388:240531afdd2d
91 p.AddPosition(compositor.GetPixelCenterCoordinates(event.button.x, event.button.y)); 91 p.AddPosition(compositor.GetPixelCenterCoordinates(event.button.x, event.button.y));
92 p.SetAltModifier(modifiers & KeyboardModifiers_Alt); 92 p.SetAltModifier(modifiers & KeyboardModifiers_Alt);
93 p.SetControlModifier(modifiers & KeyboardModifiers_Control); 93 p.SetControlModifier(modifiers & KeyboardModifiers_Control);
94 p.SetShiftModifier(modifiers & KeyboardModifiers_Shift); 94 p.SetShiftModifier(modifiers & KeyboardModifiers_Shift);
95 } 95 }
96
97 //inline void ParseCommonCommandLineArguments()
98 //{
99
100 // po::options_description description("Usage:");
101
102 // description.add_options()
103 // ("trace", "Enable TRACE logging mode (default: false)")
104 // ("info", "Enable INFO logging mode (default: false)")
105 // ("orthanc", po::value<string>()->default_value("http://localhost:8042"), "Base URL of the Orthanc instance")
106
107 // po::variables_map vm;
108 // po::store(po::command_line_parser(argc, argv).options(description).run(), vm);
109 // po::notify(vm);
110
111 // if (vm.count("help"))
112 // {
113
114 // }
115
116 // if (vm.count("compression"))
117 // {
118 // cout << "Compression level " << vm["compression"].as<int>() << endl;
119 // }
120
121 // return 0;
122
123 //}
124
125 //inline void DeclareOptionAndDefault(boost::program_options::options_description& options,
126 // const std::string& flag, const std::string& defaultValue,
127 // std::string help = "")
128 //{
129 // description.add_options()
130 // (flag, po::value<string>()->default_value(defaultValue), help);
131 //}
132
133 //inline void ProcessOptions
134
135 } 96 }
136 97