mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
384 B
20 lines
384 B
using System; |
|
using System.Runtime.InteropServices; |
|
using Mono.Cxxi; |
|
|
|
namespace Qt.Gui { |
|
|
|
[StructLayout (LayoutKind.Sequential)] |
|
public struct QPoint { |
|
|
|
private int xy, yx; //Wtf.. on Mac the order is y, x; elsewhere x, y |
|
|
|
public QPoint (int x, int y) |
|
{ |
|
//FIXME: do some snazzy stuff to get this right.. for now, I'm a mac user :P |
|
this.yx = x; |
|
this.xy = y; |
|
} |
|
} |
|
} |
|
|
|
|