public Cursor(CursorResource res) { HotSpotX = res.HotSpotX; HotSpotY = res.HotSpotY; Texture = WWTexture.FromCursorResource(res); }
public CursorPreset( CursorResource normal, CursorResource offset1, CursorResource offset2, CursorResource reloading) { this.Normal = normal; this.Offset1 = offset1; this.Offset2 = offset2; this.Reloading = reloading; }
public static void Dump(CursorResource rc) { Console.WriteLine(" Cursor {0}: {1} ({2} byte(s)), hotspot @ {3}:{4}", rc.Header.nID, rc.ToString(), rc.ImageSize, rc.HotspotX, rc.HotspotY); }
internal static WWTexture FromCursorResource(CursorResource res) { return(FromRawData(res.width, res.height, res.image_data)); }