aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs9
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
3 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 0de5c9b..bca019b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -880,6 +880,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
880 return drawList; 880 return drawList;
881 } 881 }
882 882
883 public string osSetFontName(string drawList, string fontName)
884 {
885 CheckThreatLevel(ThreatLevel.None, "osSetFontName");
886
887 m_host.AddScriptLPS(1);
888 drawList += "FontName "+ fontName +"; ";
889 return drawList;
890 }
891
883 public string osSetPenSize(string drawList, int penSize) 892 public string osSetPenSize(string drawList, int penSize)
884 { 893 {
885 CheckThreatLevel(ThreatLevel.None, "osSetPenSize"); 894 CheckThreatLevel(ThreatLevel.None, "osSetPenSize");
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index b129b39..49aa45a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -99,6 +99,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
99 string osDrawFilledRectangle(string drawList, int width, int height); 99 string osDrawFilledRectangle(string drawList, int width, int height);
100 string osDrawPolygon(string drawList, LSL_List x, LSL_List y); 100 string osDrawPolygon(string drawList, LSL_List x, LSL_List y);
101 string osDrawFilledPolygon(string drawList, LSL_List x, LSL_List y); 101 string osDrawFilledPolygon(string drawList, LSL_List x, LSL_List y);
102 string osSetFontName(string drawList, string fontName);
102 string osSetFontSize(string drawList, int fontSize); 103 string osSetFontSize(string drawList, int fontSize);
103 string osSetPenSize(string drawList, int penSize); 104 string osSetPenSize(string drawList, int penSize);
104 string osSetPenColour(string drawList, string colour); 105 string osSetPenColour(string drawList, string colour);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 45492dd..8f52d99 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -282,6 +282,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
282 return m_OSSL_Functions.osSetFontSize(drawList, fontSize); 282 return m_OSSL_Functions.osSetFontSize(drawList, fontSize);
283 } 283 }
284 284
285 public string osSetFontName(string drawList, string fontName)
286 {
287 return m_OSSL_Functions.osSetFontName(drawList, fontName);
288 }
289
285 public string osSetPenSize(string drawList, int penSize) 290 public string osSetPenSize(string drawList, int penSize)
286 { 291 {
287 return m_OSSL_Functions.osSetPenSize(drawList, penSize); 292 return m_OSSL_Functions.osSetPenSize(drawList, penSize);