#include "os/dir.h"
-class LoadModule
+class CLoadModule
{
const char* m_path;
public:
- LoadModule(const char* path) : m_path(path)
+ CLoadModule(const char* path) : m_path(path)
{
}
void operator()(const char* name) const
void Radiant_loadModules(const char* path)
{
- Directory_forEach(path, MatchFileExtension<LoadModule>(c_library_extension, LoadModule(path)));
+ Directory_forEach(path, MatchFileExtension<CLoadModule>(c_library_extension, CLoadModule(path)));
}
void Radiant_loadModulesFromRoot(const char* directory)
gtk_frame_set_shadow_type(frame, GTK_SHADOW_IN);
GtkLabel* label = GTK_LABEL(gtk_label_new ("Label"));
+ gtk_label_set_ellipsize( label, PANGO_ELLIPSIZE_END);
gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
gtk_misc_set_padding(GTK_MISC(label), 4, 2);
gtk_widget_show(GTK_WIDGET(label));
GlobalShaderCache().realise();
Textures_Realise();
+#ifdef __linux__
+ g_font = glfont_create("fixed 8");
+#else
g_font = glfont_create("courier 8");
+#endif
GlobalOpenGL().m_font = g_font.getDisplayList();
GlobalOpenGL().m_fontHeight = g_font.getPixelHeight();
}