project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/MessageLog.java
changeset 7476 2fb781bbdd51
parent 7444 2e31f114f57e
child 7582 714310efad8f
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/MessageLog.java	Mon Aug 06 22:33:07 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/MessageLog.java	Mon Aug 06 22:39:36 2012 +0200
@@ -7,6 +7,7 @@
 import java.util.List;
 
 import org.hedgewars.hedgeroid.R;
+import org.hedgewars.hedgeroid.frontlib.Frontlib;
 
 import android.content.Context;
 import android.graphics.Color;
@@ -105,17 +106,17 @@
 	
 	void appendMessage(int type, String msg) {
 		switch(type) {
-		case JnaFrontlib.NETCONN_MSG_TYPE_ERROR:
+		case Frontlib.NETCONN_MSG_TYPE_ERROR:
 			append(withColor("***"+msg, ERROR_COLOR));
 			break;
-		case JnaFrontlib.NETCONN_MSG_TYPE_WARNING:
+		case Frontlib.NETCONN_MSG_TYPE_WARNING:
 			append(withColor("***"+msg, WARN_COLOR));
 			break;
-		case JnaFrontlib.NETCONN_MSG_TYPE_PLAYERINFO:
+		case Frontlib.NETCONN_MSG_TYPE_PLAYERINFO:
 			// TODO Display in popup?
 			append(withColor(msg.replace("\n", " "), PLAYERINFO_COLOR));
 			break;
-		case JnaFrontlib.NETCONN_MSG_TYPE_SERVERMESSAGE:
+		case Frontlib.NETCONN_MSG_TYPE_SERVERMESSAGE:
 			appendRaw(span(TextUtils.concat("\n", Html.fromHtml(msg), "\n"), new RelativeSizeSpan(1.5f)));
 			break;
 		default: