aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/UDrawTexture.pas4
-rw-r--r--src/menu/UMenuButton.pas11
-rw-r--r--src/menu/UMenuButtonCollection.pas4
-rw-r--r--src/menu/UMenuInteract.pas4
-rw-r--r--src/menu/UMenuStatic.pas8
5 files changed, 29 insertions, 2 deletions
diff --git a/src/menu/UDrawTexture.pas b/src/menu/UDrawTexture.pas
index a7dde18f..3ea1c5eb 100644
--- a/src/menu/UDrawTexture.pas
+++ b/src/menu/UDrawTexture.pas
@@ -2,6 +2,10 @@ unit UDrawTexture;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$I switches.inc}
uses UTexture;
diff --git a/src/menu/UMenuButton.pas b/src/menu/UMenuButton.pas
index 60b92b9f..3d7442c0 100644
--- a/src/menu/UMenuButton.pas
+++ b/src/menu/UMenuButton.pas
@@ -2,9 +2,18 @@ unit UMenuButton;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$I switches.inc}
-uses TextGL, UTexture, gl, UMenuText,SDL;
+uses
+ TextGL,
+ UTexture,
+ gl,
+ UMenuText,
+ SDL;
type
CButton = class of TButton;
diff --git a/src/menu/UMenuButtonCollection.pas b/src/menu/UMenuButtonCollection.pas
index c700c812..1e36a565 100644
--- a/src/menu/UMenuButtonCollection.pas
+++ b/src/menu/UMenuButtonCollection.pas
@@ -2,6 +2,10 @@ unit UMenuButtonCollection;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$I switches.inc}
uses UMenuButton;
diff --git a/src/menu/UMenuInteract.pas b/src/menu/UMenuInteract.pas
index e0b4fa11..a81a41c4 100644
--- a/src/menu/UMenuInteract.pas
+++ b/src/menu/UMenuInteract.pas
@@ -2,6 +2,10 @@ unit UMenuInteract;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$I switches.inc}
type
diff --git a/src/menu/UMenuStatic.pas b/src/menu/UMenuStatic.pas
index ac8fa2dc..93ee9fa6 100644
--- a/src/menu/UMenuStatic.pas
+++ b/src/menu/UMenuStatic.pas
@@ -2,9 +2,15 @@ unit UMenuStatic;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$I switches.inc}
-uses UTexture, gl;
+uses
+ UTexture,
+ gl;
type
TStatic = class