Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
vite
Commits
f96665f2
Commit
f96665f2
authored
Dec 02, 2018
by
Mathieu Faverge
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup DOS files to unix files
parent
1c96b263
Changes
30
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
3634 additions
and
3636 deletions
+3634
-3636
externals/otf/otf_vc08.sln
externals/otf/otf_vc08.sln
+66
-66
src/interface/interval_select.ui
src/interface/interval_select.ui
+226
-226
src/render/Shader.hpp
src/render/Shader.hpp
+54
-54
src/render/TextVertexShader.fragmentshader
src/render/TextVertexShader.fragmentshader
+16
-16
src/render/TextVertexShader.vertexshader
src/render/TextVertexShader.vertexshader
+20
-21
src/render/text2D.cpp
src/render/text2D.cpp
+128
-128
src/render/text2D.hpp
src/render/text2D.hpp
+8
-8
src/render/texture.cpp
src/render/texture.cpp
+211
-211
src/render/texture.hpp
src/render/texture.hpp
+16
-16
src/trace/portable_archive_exception.hpp
src/trace/portable_archive_exception.hpp
+79
-79
src/trace/portable_iarchive.hpp
src/trace/portable_iarchive.hpp
+459
-459
src/trace/portable_oarchive.hpp
src/trace/portable_oarchive.hpp
+439
-439
tests/parser/test_token.cpp
tests/parser/test_token.cpp
+67
-67
tests/stubs/Color.cpp
tests/stubs/Color.cpp
+54
-54
tests/stubs/Color.hpp
tests/stubs/Color.hpp
+79
-79
tests/stubs/Date.cpp
tests/stubs/Date.cpp
+54
-54
tests/stubs/Date.hpp
tests/stubs/Date.hpp
+78
-78
tests/stubs/Double.cpp
tests/stubs/Double.cpp
+54
-54
tests/stubs/Double.hpp
tests/stubs/Double.hpp
+78
-78
tests/stubs/Hex.cpp
tests/stubs/Hex.cpp
+54
-54
tests/stubs/Hex.hpp
tests/stubs/Hex.hpp
+76
-76
tests/stubs/Integer.cpp
tests/stubs/Integer.cpp
+54
-54
tests/stubs/Integer.hpp
tests/stubs/Integer.hpp
+76
-76
tests/stubs/Name.cpp
tests/stubs/Name.cpp
+64
-65
tests/stubs/Name.hpp
tests/stubs/Name.hpp
+70
-70
tests/stubs/String.cpp
tests/stubs/String.cpp
+60
-60
tests/stubs/String.hpp
tests/stubs/String.hpp
+76
-76
tests/stubs/Trace.cpp
tests/stubs/Trace.cpp
+433
-433
tests/stubs/Trace.hpp
tests/stubs/Trace.hpp
+393
-393
tests/stubs/Value.hpp
tests/stubs/Value.hpp
+92
-92
No files found.
externals/otf/otf_vc08.sln
View file @
f96665f2
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotf", "otflib\libotf_vs08.vcproj", "{6B9B49C9-75CD-400D-B736-5EACA04D0A82}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfaux", "tools\otfaux\otfaux_vs08.vcproj", "{24587836-ED5E-49DF-A7AD-419FDC208C08}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfcompress", "tools\otfcompress\otfcompress_vs08.vcproj", "{B6BBC220-1492-4BEA-A299-9D062133ABAA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfdump", "tools\otfdump\otfdump_vs08.vcproj", "{508A823C-8EAB-4C56-9DFE-4D85B0D24491}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfmerge", "tools\otfmerge\otfmerge_vs08.vcproj", "{1B9223C8-DE20-4538-8214-776C6017D22B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release Static|Win32 = Release Static|Win32
Release Static|x64 = Release Static|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|Win32.ActiveCfg = Debug|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|Win32.Build.0 = Debug|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|x64.ActiveCfg = Debug|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|x64.Build.0 = Debug|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|Win32.ActiveCfg = Release Static|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|Win32.Build.0 = Release Static|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|x64.ActiveCfg = Release Static|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|x64.Build.0 = Release Static|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|Win32.ActiveCfg = Debug|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|Win32.Build.0 = Debug|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|x64.ActiveCfg = Debug|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|x64.Build.0 = Debug|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|Win32.ActiveCfg = Release Static|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|Win32.Build.0 = Release Static|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|x64.ActiveCfg = Release Static|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|x64.Build.0 = Release Static|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|Win32.ActiveCfg = Debug|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|Win32.Build.0 = Debug|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|x64.ActiveCfg = Debug|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|x64.Build.0 = Debug|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|Win32.ActiveCfg = Release Static|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|Win32.Build.0 = Release Static|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|x64.ActiveCfg = Release Static|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|x64.Build.0 = Release Static|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|Win32.ActiveCfg = Debug|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|Win32.Build.0 = Debug|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|x64.ActiveCfg = Debug|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|x64.Build.0 = Debug|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|Win32.ActiveCfg = Release Static|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|Win32.Build.0 = Release Static|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|x64.ActiveCfg = Release Static|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|x64.Build.0 = Release Static|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|Win32.ActiveCfg = Debug|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|Win32.Build.0 = Debug|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|x64.ActiveCfg = Debug|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|x64.Build.0 = Debug|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|Win32.ActiveCfg = Release Static|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|Win32.Build.0 = Release Static|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|x64.ActiveCfg = Release Static|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|x64.Build.0 = Release Static|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotf", "otflib\libotf_vs08.vcproj", "{6B9B49C9-75CD-400D-B736-5EACA04D0A82}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfaux", "tools\otfaux\otfaux_vs08.vcproj", "{24587836-ED5E-49DF-A7AD-419FDC208C08}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfcompress", "tools\otfcompress\otfcompress_vs08.vcproj", "{B6BBC220-1492-4BEA-A299-9D062133ABAA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfdump", "tools\otfdump\otfdump_vs08.vcproj", "{508A823C-8EAB-4C56-9DFE-4D85B0D24491}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otfmerge", "tools\otfmerge\otfmerge_vs08.vcproj", "{1B9223C8-DE20-4538-8214-776C6017D22B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release Static|Win32 = Release Static|Win32
Release Static|x64 = Release Static|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|Win32.ActiveCfg = Debug|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|Win32.Build.0 = Debug|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|x64.ActiveCfg = Debug|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Debug|x64.Build.0 = Debug|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|Win32.ActiveCfg = Release Static|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|Win32.Build.0 = Release Static|Win32
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|x64.ActiveCfg = Release Static|x64
{6B9B49C9-75CD-400D-B736-5EACA04D0A82}.Release Static|x64.Build.0 = Release Static|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|Win32.ActiveCfg = Debug|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|Win32.Build.0 = Debug|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|x64.ActiveCfg = Debug|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Debug|x64.Build.0 = Debug|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|Win32.ActiveCfg = Release Static|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|Win32.Build.0 = Release Static|Win32
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|x64.ActiveCfg = Release Static|x64
{24587836-ED5E-49DF-A7AD-419FDC208C08}.Release Static|x64.Build.0 = Release Static|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|Win32.ActiveCfg = Debug|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|Win32.Build.0 = Debug|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|x64.ActiveCfg = Debug|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Debug|x64.Build.0 = Debug|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|Win32.ActiveCfg = Release Static|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|Win32.Build.0 = Release Static|Win32
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|x64.ActiveCfg = Release Static|x64
{B6BBC220-1492-4BEA-A299-9D062133ABAA}.Release Static|x64.Build.0 = Release Static|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|Win32.ActiveCfg = Debug|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|Win32.Build.0 = Debug|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|x64.ActiveCfg = Debug|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Debug|x64.Build.0 = Debug|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|Win32.ActiveCfg = Release Static|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|Win32.Build.0 = Release Static|Win32
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|x64.ActiveCfg = Release Static|x64
{508A823C-8EAB-4C56-9DFE-4D85B0D24491}.Release Static|x64.Build.0 = Release Static|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|Win32.ActiveCfg = Debug|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|Win32.Build.0 = Debug|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|x64.ActiveCfg = Debug|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Debug|x64.Build.0 = Debug|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|Win32.ActiveCfg = Release Static|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|Win32.Build.0 = Release Static|Win32
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|x64.ActiveCfg = Release Static|x64
{1B9223C8-DE20-4538-8214-776C6017D22B}.Release Static|x64.Build.0 = Release Static|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
src/interface/interval_select.ui
View file @
f96665f2
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
interval_selector
</class>
<widget
class=
"QDialog"
name=
"interval_selector"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
522
</width>
<height>
283
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Minimum"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
522
</width>
<height>
283
</height>
</size>
</property>
<property
name=
"windowTitle"
>
<string>
Interval Selection
</string>
</property>
<widget
class=
"QxtSpanSlider"
name=
"interval_slider"
>
<property
name=
"geometry"
>
<rect>
<x>
60
</x>
<y>
140
</y>
<width>
401
</width>
<height>
20
</height>
</rect>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
<widget
class=
"QDoubleSpinBox"
name=
"minSpinBox"
>
<property
name=
"geometry"
>
<rect>
<x>
80
</x>
<y>
80
</y>
<width>
151
</width>
<height>
22
</height>
</rect>
</property>
</widget>
<widget
class=
"QDoubleSpinBox"
name=
"maxSpinBox"
>
<property
name=
"geometry"
>
<rect>
<x>
300
</x>
<y>
80
</y>
<width>
151
</width>
<height>
22
</height>
</rect>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"geometry"
>
<rect>
<x>
30
</x>
<y>
140
</y>
<width>
21
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Min
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"geometry"
>
<rect>
<x>
470
</x>
<y>
140
</y>
<width>
31
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Max
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"min_value"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
160
</y>
<width>
131
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
0
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
<widget
class=
"QLabel"
name=
"max_value"
>
<property
name=
"geometry"
>
<rect>
<x>
390
</x>
<y>
160
</y>
<width>
121
</width>
<height>
20
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
0
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"geometry"
>
<rect>
<x>
100
</x>
<y>
60
</y>
<width>
121
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
New min value :
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_6"
>
<property
name=
"geometry"
>
<rect>
<x>
320
</x>
<y>
60
</y>
<width>
111
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
New max value :
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"ok_button"
>
<property
name=
"geometry"
>
<rect>
<x>
300
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
OK
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"cancel_button"
>
<property
name=
"geometry"
>
<rect>
<x>
390
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Cancel
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"reset_button"
>
<property
name=
"geometry"
>
<rect>
<x>
120
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Reset
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"apply_button"
>
<property
name=
"geometry"
>
<rect>
<x>
210
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Apply
</string>
</property>
</widget>
<widget
class=
"QCheckBox"
name=
"auto_refresh_box"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"geometry"
>
<rect>
<x>
250
</x>
<y>
190
</y>
<width>
241
</width>
<height>
17
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Auto Refresh (disable if slow)
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>
QxtSpanSlider
</class>
<extends>
QSlider
</extends>
<header>
interface/qxtspanslider.h
</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
interval_selector
</class>
<widget
class=
"QDialog"
name=
"interval_selector"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
522
</width>
<height>
283
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Minimum"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
522
</width>
<height>
283
</height>
</size>
</property>
<property
name=
"windowTitle"
>
<string>
Interval Selection
</string>
</property>
<widget
class=
"QxtSpanSlider"
name=
"interval_slider"
>
<property
name=
"geometry"
>
<rect>
<x>
60
</x>
<y>
140
</y>
<width>
401
</width>
<height>
20
</height>
</rect>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
<widget
class=
"QDoubleSpinBox"
name=
"minSpinBox"
>
<property
name=
"geometry"
>
<rect>
<x>
80
</x>
<y>
80
</y>
<width>
151
</width>
<height>
22
</height>
</rect>
</property>
</widget>
<widget
class=
"QDoubleSpinBox"
name=
"maxSpinBox"
>
<property
name=
"geometry"
>
<rect>
<x>
300
</x>
<y>
80
</y>
<width>
151
</width>
<height>
22
</height>
</rect>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"geometry"
>
<rect>
<x>
30
</x>
<y>
140
</y>
<width>
21
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Min
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"geometry"
>
<rect>
<x>
470
</x>
<y>
140
</y>
<width>
31
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Max
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"min_value"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
160
</y>
<width>
131
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
0
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
<widget
class=
"QLabel"
name=
"max_value"
>
<property
name=
"geometry"
>
<rect>
<x>
390
</x>
<y>
160
</y>
<width>
121
</width>
<height>
20
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
0
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"geometry"
>
<rect>
<x>
100
</x>
<y>
60
</y>
<width>
121
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
New min value :
</string>
</property>
</widget>
<widget
class=
"QLabel"
name=
"label_6"
>
<property
name=
"geometry"
>
<rect>
<x>
320
</x>
<y>
60
</y>
<width>
111
</width>
<height>
16
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
New max value :
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"ok_button"
>
<property
name=
"geometry"
>
<rect>
<x>
300
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
OK
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"cancel_button"
>
<property
name=
"geometry"
>
<rect>
<x>
390
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Cancel
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"reset_button"
>
<property
name=
"geometry"
>
<rect>
<x>
120
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Reset
</string>
</property>
</widget>
<widget
class=
"QPushButton"
name=
"apply_button"
>
<property
name=
"geometry"
>
<rect>
<x>
210
</x>
<y>
240
</y>
<width>
75
</width>
<height>
23
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Apply
</string>
</property>
</widget>
<widget
class=
"QCheckBox"
name=
"auto_refresh_box"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"geometry"
>
<rect>
<x>
250
</x>
<y>
190
</y>
<width>
241
</width>
<height>
17
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
Auto Refresh (disable if slow)
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>
QxtSpanSlider
</class>
<extends>
QSlider
</extends>
<header>
interface/qxtspanslider.h
</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
src/render/Shader.hpp
View file @
f96665f2
#ifndef DEF_SHADER
#define DEF_SHADER
//#include <GL/glew.h>
#include "common/common.hpp"
// Includes communs
#include <iostream>
#include <string>
#include <fstream>
// Classe Shader
class
Shader
{
public:
/* Default constructor*/
Shader
();
/*Constructor for shaders using textures. Parameter n is not used, it just allow to create a have another constructor. */
Shader
(
int
glsl
,
int
n
);
/* Construct a Shader reading colors in the VBO. Still used for containers and selection*/
Shader
(
int
glsl
);