Sha256: cf790e5887e0c3f0e94502cfca64161f1be616495d2f3ca4377b322e0ad30fee

Contents?: true

Size: 588 Bytes

Versions: 2

Compression:

Stored size: 588 Bytes

Contents

/*
 * wxSize.hpp
 *
 *  Created on: 04.02.2012
 *      Author: hanmac
 */

#ifndef WXSIZE_HPP_
#define WXSIZE_HPP_

#include "main.hpp"

extern VALUE rb_cWXSize;
void Init_WXSize(VALUE rb_mWX);

extern ID rwxID_width,rwxID_height;


template <>
VALUE wrap< wxSize >(wxSize *size );

template <>
bool is_wrapable< wxSize >(const VALUE &vsize);

template <>
wxSize unwrap< wxSize >(const VALUE &vsize);

bool check_negative_size(VALUE val, wxSize &size);
bool check_negative_size(const int &width, const int &height);
bool check_negative_size(const wxSize &size);

#endif /* WXSIZE_HPP_ */

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwx-0.0.1.1.dev ext/wxSize.hpp
rwx-0.0.1.dev ext/wxSize.hpp