Skip to content

Commit b9d53b7

Browse files
committed
removed unnecessary code
1 parent 15f7572 commit b9d53b7

File tree

8 files changed

+387
-491
lines changed

8 files changed

+387
-491
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
3+
## 1.0.0.3
4+
5+
Features:
6+
- descVersion updated
7+
- cleaned code
8+
9+
Fix:
10+
- removed unnecessary code
11+
12+
## 1.0.0.2
13+
14+
Features:
15+
- descVersion updated
16+
- improved code
17+
18+
## 1.0.0.1
19+
20+
Features:
21+
- descVersion updated

README.md

Lines changed: 53 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,60 @@
1-
<div id='top'></div>
1+
<div id="top"></div>
22
<br/>
3-
<div align='center'>
4-
<a href='https://github.com/4c65736975/fovControl'>
5-
<img src='screenshots/icon.png' alt='Logo' width='128' height='128'>
6-
</a>
7-
<h3>Fov Control</h3>
8-
<p>
9-
Farming Simulator 22 Modification
10-
<br/>
11-
<br/>
12-
<a href='https://github.com/4c65736975/fovControl/issues'>Report Bug</a>
13-
·
14-
<a href='https://github.com/4c65736975/fovControl/issues'>Request Feature</a>
15-
</p>
3+
<div align="center">
4+
<a href="https://github.com/4c65736975/fovControl">
5+
<img src="screenshots/icon.png" alt="Logo" width="128" height="128">
6+
</a>
7+
<h3>Fov Control</h3>
8+
<p>
9+
Farming Simulator 22 Modification
10+
<br/>
11+
<br/>
12+
<a href="https://github.com/4c65736975/fovControl/issues">Report Bug</a>
13+
·
14+
<a href="https://github.com/4c65736975/fovControl/issues">Request Feature</a>
15+
·
16+
<a href="https://github.com/4c65736975/fovControl/blob/main/CHANGELOG.md">Changelog</a>
17+
</p>
1618
</div>
1719
<details>
18-
<summary>Table of Contents</summary>
19-
<ol>
20-
<li>
21-
<a href='#about-the-project'>About The Project</a>
22-
</li>
23-
<li>
24-
<a href='#getting-started'>Getting Started</a>
25-
<ul>
26-
<li>
27-
<a href='#prerequisites'>Prerequisites</a>
28-
</li>
29-
<li>
30-
<a href='#installation'>Installation</a>
31-
</li>
32-
</ul>
33-
</li>
34-
<li>
35-
<a href='#usage'>Usage</a>
36-
</li>
37-
<li>
38-
<a href='#license'>License</a>
39-
</li>
40-
<li>
41-
<a href='#acknowledgments'>Acknowledgments</a>
42-
</li>
43-
</ol>
20+
<summary>Table of Contents</summary>
21+
<ol>
22+
<li>
23+
<a href="#about-the-project">About The Project</a>
24+
</li>
25+
<li>
26+
<a href="#getting-started">Getting Started</a>
27+
<ul>
28+
<li>
29+
<a href="#prerequisites">Prerequisites</a>
30+
</li>
31+
<li>
32+
<a href="#installation">Installation</a>
33+
</li>
34+
</ul>
35+
</li>
36+
<li>
37+
<a href="#usage">Usage</a>
38+
</li>
39+
<li>
40+
<a href="#license">License</a>
41+
</li>
42+
<li>
43+
<a href="#acknowledgments">Acknowledgments</a>
44+
</li>
45+
</ol>
4446
</details>
4547

4648
## About the project
4749

48-
<img src='screenshots/screenShot (1).png' alt='screenshot'>
50+
<img src="screenshots/screenShot (1).png" alt="screenshot">
4951

5052
Thanks to this simple modification, you can set the field of view for the currently used vehicle camera.
5153
<br/>
5254
<br/>
53-
Opening Fov Controller - key combination 'left shift + z' (default)
55+
Opening Fov Controller - key combination "left shift + z" (default)
5456

55-
<p align='right'>&#x2191 <a href='#top'>back to top</a></p>
57+
<p align="right">&#x2191 <a href="#top">back to top</a></p>
5658

5759
## Getting started
5860

@@ -83,26 +85,26 @@ or
8385
4. That's it, if everything went as it should, you can delete downloaded folder and zip file.
8486
5. Run the game and have a nice time.
8587

86-
<p align='right'>&#x2191 <a href='#top'>back to top</a></p>
88+
<p align="right">&#x2191 <a href="#top">back to top</a></p>
8789

8890
## Usage
8991

90-
<img src='screenshots/screenShot (2).png' alt='screenshot'>
91-
<img src='screenshots/screenShot (3).png' alt='screenshot'>
92-
<img src='screenshots/screenShot (4).png' alt='screenshot'>
93-
<img src='screenshots/screenShot (5).png' alt='screenshot'>
92+
<img src="screenshots/screenShot (2).png" alt="screenshot">
93+
<img src="screenshots/screenShot (3).png" alt="screenshot">
94+
<img src="screenshots/screenShot (4).png" alt="screenshot">
95+
<img src="screenshots/screenShot (5).png" alt="screenshot">
9496

95-
<p align='right'>&#x2191 <a href='#top'>back to top</a></p>
97+
<p align="right">&#x2191 <a href="#top">back to top</a></p>
9698

9799
## License
98100

99101
Distributed under the GPL-3.0 license. See [LICENSE](https://github.com/4c65736975/fovControl/blob/main/LICENSE) for more information.
100102

101-
<p align='right'>&#x2191 <a href='#top'>back to top</a></p>
103+
<p align="right">&#x2191 <a href="#top">back to top</a></p>
102104

103105
## Acknowledgments
104106

105107
* [Choose an Open Source License](https://choosealicense.com)
106108
* [Best README Template](https://github.com/othneildrew/Best-README-Template)
107109

108-
<p align='right'>&#x2191 <a href='#top'>back to top</a></p>
110+
<p align="right">&#x2191 <a href="#top">back to top</a></p>

data/gui/dialogs/FovControlDialog.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2-
<GUI onOpen='onOpen' onClose='onClose' onCreate='onCreate'>
3-
<GuiElement type='empty' profile='newLayer'/>
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<GUI onOpen="onOpen" onClose="onClose" onCreate="onCreate">
3+
<GuiElement type="empty" profile="newLayer"/>
44

5-
<GuiElement type='bitmap' profile='dialogFullscreenBg' id='bgElement'>
6-
<GuiElement type='bitmap' profile='bgVignette'/>
7-
<GuiElement type='bitmap' profile='bgGlowDialog'/>
8-
</GuiElement>
5+
<GuiElement type="bitmap" profile="dialogFullscreenBg" id="bgElement">
6+
<GuiElement type="bitmap" profile="bgVignette"/>
7+
<GuiElement type="bitmap" profile="bgGlowDialog"/>
8+
</GuiElement>
99

10-
<GuiElement type='bitmap' profile='fovDialogBg' id='dialogElement'>
11-
<GuiElement type='bitmap' profile='dialogHeaderDocked'>
12-
<GuiElement type='text' profile='dialogHeaderText' text='$l10n_title_fovDialog' id='dialogTitleElement'/>
13-
</GuiElement>
10+
<GuiElement type="bitmap" profile="fovDialogBg" id="dialogElement">
11+
<GuiElement type="bitmap" profile="dialogHeaderDocked">
12+
<GuiElement type="text" profile="dialogHeaderText" text="$l10n_ui_fovDialogTitle" id="dialogTitleElement"/>
13+
</GuiElement>
1414

15-
<GuiElement type='multiTextOption' profile='multiTextOptionFov' onClick='onClickFovValue' id='fovElement' focusInit='onOpen' handleFocus='true'>
16-
<GuiElement type='button' profile='multiTextOptionLeft'/>
17-
<GuiElement type='button' profile='multiTextOptionRight'/>
18-
<GuiElement type='text' profile='multiTextOptionText'/>
19-
<GuiElement type='bitmap' profile='multiTextOptionBgFov'/>
20-
</GuiElement>
15+
<GuiElement type="multiTextOption" profile="multiTextOptionFov" onClick="onClickFovValue" id="fovElement" focusInit="onOpen" handleFocus="true">
16+
<GuiElement type="button" profile="multiTextOptionLeft"/>
17+
<GuiElement type="button" profile="multiTextOptionRight"/>
18+
<GuiElement type="text" profile="multiTextOptionText"/>
19+
<GuiElement type="bitmap" profile="multiTextOptionBgFov"/>
20+
</GuiElement>
2121

22-
<GuiElement type='button' profile='fovDialogResetButton' text='$l10n_button_reset' onClick='onClickResetFov'/>
22+
<GuiElement type="button" profile="fovDialogResetButton" text="$l10n_button_reset" onClick="onClickResetFov"/>
2323

24-
<GuiElement type='flowLayout' profile='buttonBoxDialog'>
25-
<GuiElement type='button' profile='buttonOK' text='$l10n_button_apply' onClick='onClickApply'/>
26-
<GuiElement type='button' profile='buttonExtra1' text='$l10n_button_remove_background' onClick='onClickRemoveBackground' id='btnRemoveBgElement'/>
27-
<GuiElement type='button' profile='buttonBack' text='$l10n_button_back' onClick='onClickBack'/>
28-
</GuiElement>
29-
</GuiElement>
24+
<GuiElement type="flowLayout" profile="buttonBoxDialog">
25+
<GuiElement type="button" profile="buttonOK" text="$l10n_button_apply" onClick="onClickApply"/>
26+
<GuiElement type="button" profile="buttonExtra1" text="$l10n_button_removeBackground" onClick="onClickRemoveBackground" id="btnRemoveBgElement"/>
27+
<GuiElement type="button" profile="buttonBack" text="$l10n_button_back" onClick="onClickBack"/>
28+
</GuiElement>
29+
</GuiElement>
3030
</GUI>

data/gui/guiProfiles.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
<?xml version='1.0' encoding='utf-8' standalone='no'?>
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
22
<GUIProfiles>
3-
<Profile name='fovDialogBg' extends='colorDialogBg'>
4-
<Value name='size' value='498px 234px'/>
5-
</Profile>
3+
<Profile name="fovDialogBg" extends="colorDialogBg">
4+
<Value name="size" value="498px 234px"/>
5+
</Profile>
66

7-
<Profile name='multiTextOptionFov' extends='multiTextOption' with='anchorMiddleCenter'>
8-
<Value name='size' value='408px 48px'/>
9-
<Value name='position' value='0 40px'/>
10-
</Profile>
7+
<Profile name="multiTextOptionFov" extends="multiTextOption" with="anchorMiddleCenter">
8+
<Value name="size" value="408px 48px"/>
9+
<Value name="position" value="0 40px"/>
10+
</Profile>
1111

12-
<Profile name='multiTextOptionBgFov' extends='multiTextOptionBg'>
13-
<Value name='size' value='312px 48px'/>
14-
</Profile>
12+
<Profile name="multiTextOptionBgFov" extends="multiTextOptionBg">
13+
<Value name="size" value="312px 48px"/>
14+
</Profile>
1515

16-
<Profile name='fovDialogResetButton' extends='ingameMenuSettingsNativeHelpButton' with='anchorMiddleCenter'>
17-
<Value name='size' value='408px 48px'/>
18-
<Value name='position' value='0 -40px'/>
19-
<Value name='textResizeWidth' value='200px'/>
20-
<Value name='handleFocus' value='false'/>
21-
<Value name='iconUVs' value='0px 0px 48px 48px'/>
22-
<Value name='iconFilename' value='g_fovControlUIElements'/>
23-
</Profile>
16+
<Profile name="fovDialogResetButton" extends="ingameMenuSettingsNativeHelpButton" with="anchorMiddleCenter">
17+
<Value name="size" value="408px 48px"/>
18+
<Value name="position" value="0 -40px"/>
19+
<Value name="textResizeWidth" value="200px"/>
20+
<Value name="handleFocus" value="false"/>
21+
<Value name="iconUVs" value="0px 0px 48px 48px"/>
22+
<Value name="iconFilename" value="g_fovControlUIElements"/>
23+
</Profile>
2424
</GUIProfiles>

0 commit comments

Comments
 (0)