1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
#############################################################################
## Name: XS/StaticBitmap.xs
## Purpose: XS for Wx::StaticBitmap
## Author: Mattia Barbon
## Modified by:
## Created: 08/11/2000
## RCS-ID: $Id: StaticBitmap.xs 2057 2007-06-18 23:03:00Z mbarbon $
## Copyright: (c) 2000-2003 Mattia Barbon
## Licence: This program is free software; you can redistribute it and/or
## modify it under the same terms as Perl itself
#############################################################################
#include "cpp/overload.h"
#include <wx/statbmp.h>
MODULE=Wx PACKAGE=Wx::StaticBitmap
void
wxStaticBitmap::new( ... )
PPCODE:
BEGIN_OVERLOAD()
MATCH_REDISP( wxPliOvl_wwin_n_wico, newIcon )
MATCH_REDISP( wxPliOvl_wwin_n_wbmp, newBitmap )
END_OVERLOAD( Wx::StaticBitmap::new )
wxStaticBitmap*
newBitmap( cls, parent, id, bitmap, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr )
SV* cls
wxWindow* parent
wxWindowID id
wxBitmap* bitmap
wxPoint pos
wxSize size
long style
wxString name
PREINIT:
const char* CLASS = wxPli_get_class( aTHX_ cls );
CODE:
RETVAL = new wxStaticBitmap( parent, id, *bitmap, pos, size,
style, name );
wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
OUTPUT:
RETVAL
#if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
wxStaticBitmap*
newIcon( cls, parent, id, icon, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxStaticBitmapNameStr )
SV* cls
wxWindow* parent
wxWindowID id
wxIcon* icon
wxPoint pos
wxSize size
long style
wxString name
PREINIT:
const char* CLASS = wxPli_get_class( aTHX_ cls );
CODE:
RETVAL = new wxStaticBitmap( parent, id, *icon, pos, size,
style, name );
wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
OUTPUT:
RETVAL
#endif
wxBitmap*
wxStaticBitmap::GetBitmap()
CODE:
RETVAL = new wxBitmap( THIS->GetBitmap() );
OUTPUT:
RETVAL
void
wxStaticBitmap::SetBitmap( bitmap )
wxBitmap* bitmap
C_ARGS: *bitmap
#if !defined(__WXUNIVERSAL__) || defined(__WXPERL_FORCE__)
wxIcon*
wxStaticBitmap::GetIcon()
CODE:
RETVAL = new wxIcon( THIS->GetIcon() );
OUTPUT:
RETVAL
void
wxStaticBitmap::SetIcon( icon )
wxIcon* icon
C_ARGS: *icon
#endif
|