mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
This commit is contained in:
@@ -880,6 +880,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return drawList;
|
||||
}
|
||||
|
||||
public string osSetFontName(string drawList, string fontName)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osSetFontName");
|
||||
|
||||
m_host.AddScriptLPS(1);
|
||||
drawList += "FontName "+ fontName +"; ";
|
||||
return drawList;
|
||||
}
|
||||
|
||||
public string osSetPenSize(string drawList, int penSize)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osSetPenSize");
|
||||
|
||||
@@ -99,6 +99,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
string osDrawFilledRectangle(string drawList, int width, int height);
|
||||
string osDrawPolygon(string drawList, LSL_List x, LSL_List y);
|
||||
string osDrawFilledPolygon(string drawList, LSL_List x, LSL_List y);
|
||||
string osSetFontName(string drawList, string fontName);
|
||||
string osSetFontSize(string drawList, int fontSize);
|
||||
string osSetPenSize(string drawList, int penSize);
|
||||
string osSetPenColour(string drawList, string colour);
|
||||
|
||||
@@ -282,6 +282,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osSetFontSize(drawList, fontSize);
|
||||
}
|
||||
|
||||
public string osSetFontName(string drawList, string fontName)
|
||||
{
|
||||
return m_OSSL_Functions.osSetFontName(drawList, fontName);
|
||||
}
|
||||
|
||||
public string osSetPenSize(string drawList, int penSize)
|
||||
{
|
||||
return m_OSSL_Functions.osSetPenSize(drawList, penSize);
|
||||
|
||||
Reference in New Issue
Block a user