OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ConsoleQtState.cpp File Reference
Include dependency graph for C4ConsoleQtState.cpp:

Go to the source code of this file.

Classes

class  ExecRecursionCheck
 
struct  EditorWindowState
 

Functions

void SplitMaterialTexture (const QString &mat_tex, QString *mat, QString *tex)
 

Variables

C4ConsoleQtTranslator qt_translator
 

Function Documentation

void SplitMaterialTexture ( const QString &  mat_tex,
QString *  mat,
QString *  tex 
)

Definition at line 454 of file C4ConsoleQtState.cpp.

455 {
456  int sep = mat_tex.indexOf('-');
457  if (sep < 0)
458  {
459  *mat = mat_tex;
460  *tex = QString();
461  }
462  else
463  {
464  *mat = mat_tex.mid(0, sep);
465  *tex = mat_tex.mid(sep + 1);
466  }
467 }

Variable Documentation

C4ConsoleQtTranslator qt_translator

Definition at line 51 of file C4ConsoleQtState.cpp.