This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//By Hapax from http://en.sfml-dev.org/forums/index.php?topic=14391.msg101187#msg101187 | |
#include <SFML/Graphics.hpp> | |
int main() | |
{ | |
sf::RenderWindow window(sf::VideoMode(800, 600), "", sf::Style::None); | |
sf::Vector2i grabbedOffset; | |
bool grabbedWindow = false; | |
while (window.isOpen()) | |
{ | |
sf::Event event; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
using SFML; | |
using SFML.Graphics; | |
using SFML.Window; | |
using Tao.OpenGl; | |
namespace opengl | |
{ | |
static class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3>pangocairo-win32font.obj : error LNK2019: unresolved external symbol __imp__cairo_scaled_font_extents referenced in function _pango_cairo_win32_font_create_base_metrics_for_context | |
3>pangocairo-font.obj : error LNK2001: unresolved external symbol __imp__cairo_scaled_font_extents | |
3>pangocairo-win32font.obj : error LNK2019: unresolved external symbol __imp__cairo_matrix_init_identity referenced in function __pango_cairo_win32_font_new | |
3>pangocairo-font.obj : error LNK2001: unresolved external symbol __imp__cairo_matrix_init_identity | |
3>pangocairo-win32font.obj : error LNK2019: unresolved external symbol __imp__cairo_matrix_scale referenced in function __pango_cairo_win32_font_new | |
3>pangocairo-win32font.obj : error LNK2019: unresolved external symbol __imp__cairo_win32_font_face_create_for_logfontw referenced in function _pango_cairo_win32_font_create_font_face | |
3>pangocairo-win32font.obj : error LNK2019: unresolved external symbol __imp__cairo_win32_scaled_font_select_font referenced in function _pango_cairo_wi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mono/jit/jit.h> | |
#include <mono/metadata/assembly.h> | |
#pragma comment(lib, "mono-2.0.lib") | |
int main(int argc, char* argv[]) | |
{ | |
mono_set_dirs("C:\\Program Files (x86)\\Mono\\lib", | |
"C:\\Program Files (x86)\\Mono\\etc"); | |
MonoDomain *domain; |
NewerOlder