PHP Classes

File: class-menueditable.php

Recommend this page to a friend!
  Classes of Jonathan Gotti   Menu Editable   class-menueditable.php   Download  
File: class-menueditable.php
Role: Class source
Content type: text/plain
Description: class code
Class: Menu Editable
Create context menus for gtkeditable widgets
Author: By
Last change: minor
Date: 19 years ago
Size: 20,016 bytes
 

Contents

Class file image Download
<? /** * icons have been convert using Mk0-imgview and come from the crystal icon theme by everaldo * under the lgpl licence (found at kdelook.org) (this concern thoose with name prefixed with edit) * @author Jonathan Gotti <nathan at the-ring dot homelinux dot net> * @copyleft (l) 2003-2005 Jonathan Gotti * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @date 2005-01-28 */ class menu_editable extends menu{ function menu_editable($gdkwindow=null,$accel_group=null){ menu::menu($gdkwindow,$accel_group); $this->_load_icons(); $this->add_menu_item('edit',null); $this->add_menu_item('cut','edit','cut',array(&$this,'_cut'),$this->pixdatas['editcut']); $this->add_menu_item('copy','edit','copy',array(&$this,'_copy'),$this->pixdatas['editcopy']); $this->add_menu_item('paste','edit','paste',array(&$this,'_paste'),$this->pixdatas['editpaste']); $this->add_menu_item('delete','edit','delete',array(&$this,'_delete'),$this->pixdatas['editdelete']); $this->add_sep('edit'); $this->add_menu_item('select_all','edit','select all',array(&$this,'_select_all'),$this->pixdatas['all']); $this->add_menu_item('cancel','edit','cancel',array(&$this,'_cancel'),$this->pixdatas['cancel']); $this->menus['edit']->connect('hide',array(&$this,'_cancel')); } /** * connect a gtkeditable widget to support the menu_editable on right click * @param gtkeditable $editable * return callback handler; */ function connect_editable(&$editable){ if(! is_a($editable,'gtkeditable')) return FALSE; return $editable->connect('button-press-event',array(&$this,'_popup')); } /** * popup the menu_editable on a right click from &$editable * @param gtkeditable $editable * @param gdkevent $event * @access private */ function _popup(&$editable,&$event){ if( $event->button !=3) return FALSE; # check for right click $this->editable = $editable; # keep trace of the gtkeditable we're working on $this->has_selection = $editable->has_selection; $this->selection_start= $editable->selection_start_pos; $this->selection_end = $editable->selection_end_pos; $this->menus['edit']->popup(null,null,null,1,$event->time); # popup the menu $this->menus['edit']->show_all(); # and show all to be sure that's it's realized } function _select_all(){ if(! is_a($this->editable,'gtkeditable')) return FALSE; $this->editable->select_region(0,-1); } function _delete(){ if(! (is_a($this->editable,'gtkeditable') && $this->has_selection) ) return FALSE; $this->_restore_selection(); $this->editable->delete_selection(); } function _cut(){ if(! (is_a($this->editable,'gtkeditable') && $this->has_selection) ) return FALSE; $this->_restore_selection(); $this->editable->cut_clipboard(); } function _copy(){ if(! (is_a($this->editable,'gtkeditable') && $this->has_selection) ) return FALSE; $this->_restore_selection(); $this->editable->copy_clipboard(); } function _paste(){ if(! is_a($this->editable,'gtkeditable')) return FALSE; $this->_restore_selection(); $this->editable->paste_clipboard(); } function _restore_selection(){ if(! is_a($this->editable,'gtkeditable')) return FALSE; $this->editable->select_region($this->selection_start,$this->selection_end); } function _cancel(){ $this->_restore_selection(); } function _load_icons(){ $all = array( "16 16 2 1", " c none", "0 c #9C9A74", " ", " ", " ", " ", " ", " 00 00 ", " 00 00 ", "00 0000000000 00", "00 0000000000 00", " 00 00 ", " 00 00 ", " ", " ", " ", " ", " "); $cancel = array( "16 16 2 1", " c none", "0 c #9C9A74", " ", " ", " ", " ", " 000 000 ", " 000 000 ", " 000000 ", " 000 ", " 000 ", " 000000 ", " 000 000 ", " 000 000 ", " ", " ", " ", " "); /** *Xpm_datas Generated file */#PHP imgview generated array from editpaste.png on 2005-01-28 $editpaste = array( "16 16 131 2", "01 c #643214", "03 c #9C9A74", "05 c #F4D244", "07 c #9C661C", "09 c #BC6E14", "0; c #9C9AB4", "0= c #DCDAB4", "0? c #D47A14", "0A c #646684", "0C c #CCA23C", "0E c #E4EAFC", "0G c #8C8274", "0I c #AC7E2C", "0K c #ECBA34", "0M c #C4C2AC", "0O c #84829C", "0Q c #DCDEEC", "0S c #FCEA5C", "0U c #BC761C", "0W c #E49A1C", "0Y c #8C8EA4", "0[ c #844E24", "0] c #ACAEC4", "0_ c #D4922C", "0a c #F4F6FC", "0c c #F4DE4C", "0e c #84664C", "0g c #ECA62C", "0i c #7C3E14", "0k c #9CA2AC", "0m c #CC7A1C", "0o c #94969C", "0q c #E48A0C", "0s c #BCB26C", "0u c #CCCEDC", "0w c #F4F2FC", "0y c #E4E6EC", "0{ c #C4761C", "0} c #743A0C", "10 c #ECEAEC", "12 c #CC7E1C", "14 c #ECC63C", "16 c #BCBACC", "18 c #94929C", "1: c #DCDAE4", "1< c #ECD264", "1> c #9C6E2C", "1@ c #CC6E04", "1B c #847274", "1D c #8C8AA4", "1F c #E4E2EC", "1H c #E4A23C", "1J c #ECE26C", "1L c #946A3C", "1N c #F4AA2C", "1P c #A4A2BC", "1R c #E4961C", "1T c #ECEEFC", "1V c #E4C65C", "1X c #6C3A14", "1Z c #C49A3C", "1/ c #F4DA54", "1^ c #9C9EAC", "1` c #D4821C", "1b c #DCAE3C", "1d c #B48654", "1f c #FCFE74", "1h c #BC762C", "1j c #ECA22C", "1l c #945614", "1n c #B4B2C4", "1p c #DC8E24", "1r c #FCFEFC", "1t c #E4AE44", "1v c #C4BA64", "1x c #D4D2E4", "1z c #C47A1C", "1| c #ECEEF4", "1~ c #CCCADC", "20 c #9492AC", "22 c #ECCA5C", "24 c #643614", "26 c #ACAA74", "28 c #F4D24C", "2: c #9C6A24", "2< c #C47614", "2> c #64668C", "2@ c #DC9A34", "2B c #948A6C", "2D c #B48A34", "2F c #CCBE9C", "2H c #8486A4", "2J c #DCE2EC", "2L c #FCF25C", "2N c #BC7624", "2P c #EC9E24", "2R c #8C8EAC", "2T c #FCFAFC", "2V c #F4DE54", "2X c #8C6A54", "2Z c #7C4214", "2/ c #9CA2BC", "2^ c #9496B4", "2` c #E48E14", "2b c #BCB664", "2d c #CCCEE4", "2f c #E4E6F4", "2h c #743A14", "2j c #ECEAF4", "2l c #CC8624", "2n c #C4C2D4", "2p c #9492A4", "2r c #DCDAEC", "2t c #9C722C", "2v c #CC720C", "2x c #7C7A94", "2z c #8C8AAC", "2| c #E4E2F4", "2~ c #F4E674", "30 c #9C6E44", "32 c #A4A6BC", "34 c #EC961C", "36 c #E4CA5C", "38 c #9C9EB4", "3: c #E4860C", "3< c #945A1C", "3> c #B4B2CC", "3@ c #DC922C", "3B c #ECAE34", "3D c #C47A24", "3F c None", "3F3F3F0A0O1^0;1D0A3F3F3F3F3F3F3F01", "120?1L2x1F1r1r102H0e0m2<3F3F3F3F01", "2l222B1n2j2J1F0y2n0G1V0_093F3F3F01", "0C1r261D2p2p2p0o0o031f1b1d3F3F3F01", "1Z1r1J1v2b1v0s0k1^0M0=2F162R3F3F01", "2D1r0S0S2L2L2~0Q1r2T2j2f2|162R3F01", "0I1r1/2V1/0c1<1:1r1r1r1r1r0]2^1D01", "2t1r28282805361:1r1r1r0w2f2n1n2001", "1>1r140K3B1N1t2r1r1r1r0a2j0u2n0;01", "2:1r0g1j1j2P1H0Q1r1r2T1T2r1x0u0;01", "071r340W341R2@0Q1r2T0w1F0Q1:1x3801", "3<1r2`2`2`2`3@0Q1r0a2j2f1F0Q0Q3801", "1l1r0q0q0q3:1p1:1r0w1|2j1F1F0Q3801", "2Z2v2v2v2v1@0m0Q1r1T1|2j2|1F0Q3801", "011X0i0i0i0}0[0Q1r2T0w1|2j0y2f3801", "3F3F3F3F3F3F1B1P321P1P1P2/1P1P2R01", ); #PHP imgview generated array from edit.png on 2005-01-28 $edit = array( "16 16 133 2", "01 c #040204", "03 c #7C829C", "05 c #FCCA0C", "07 c #D4C6BC", "09 c #E48E1C", "0; c #D4E6FC", "0= c #8C1E0C", "0? c #C48A74", "0A c #F4D28C", "0C c #444654", "0E c #9CA6B4", "0G c #FCA60C", "0I c #FCE6C4", "0K c #CCD6E4", "0M c #945E4C", "0O c #646674", "0Q c #F4F6FC", "0S c #FCC244", "0U c #FCBA04", "0W c #E44E04", "0Y c #AC826C", "0[ c #E4B66C", "0] c #ACB2BC", "0_ c #1C222C", "0a c #C4CAD4", "0c c #F48624", "0e c #545664", "0g c #ECEAF4", "0i c #D4DEEC", "0k c #848E9C", "0m c #F4DAC4", "0o c #FCB624", "0q c #CC6A3C", "0s c #D4D2DC", "0u c #ECEEF4", "0w c #ACAEBC", "0y c #747684", "0{ c #FC9A04", "0} c #EC6A14", "10 c #0C0E1C", "12 c #848A94", "14 c #FCD21C", "16 c #A43A24", "18 c #DCDAE4", "1: c #F4FEFC", "1< c #FCD244", "1> c #C4B2B4", "1@ c #CCD2DC", "1B c #5C5E6C", "1D c #E4E6F4", "1F c #A41E04", "1H c #C4928C", "1J c #A4A2AC", "1L c #D4D6DC", "1N c #6C6E7C", "1P c #F4BE1C", "1R c #CCCAD4", "1T c #FCE2B4", "1V c #FCEEEC", "1X c #FCCE64", "1Z c #CCBAB4", "1/ c #848694", "1^ c #F4C22C", "1` c #94220C", "1b c #FCD6A4", "1d c #4C5264", "1f c #FCB204", "1h c #C4764C", "1j c #FCFAFC", "1l c #B4BAC4", "1n c #24222C", "1p c #F4924C", "1r c #F4E6E4", "1t c #DCDEE4", "1v c #FCBE3C", "1x c #DC763C", "1z c #F49E34", "1| c #FC7A04", "1~ c #14121C", "20 c #5C626C", "22 c #E4EEFC", "24 c #CC927C", "26 c #A4A6B4", "28 c #D4DAE4", "2: c #F4E2C4", "2< c #04020C", "2> c #FCCA1C", "2@ c #D48E54", "2B c #941A04", "2D c #FCD294", "2F c #444A5C", "2H c #FCAA04", "2J c #B45634", "2L c #646A7C", "2N c #F4FAFC", "2P c #FCBE04", "2R c #AC868C", "2T c #B4B6C4", "2V c #C4CADC", "2X c #FC9204", "2Z c #545A6C", "2/ c #8C96AC", "2^ c #FCB634", "2` c #D4D2E4", "2b c #F4F2FC", "2d c #B4AAAC", "2f c #747E94", "2h c #FC9614", "2j c #FC6A04", "2l c #0C121C", "2n c #848AA4", "2p c #FCCE34", "2r c #FCFEFC", "2t c #FCD654", "2v c #C4B6BC", "2x c #E4EAF4", "2z c #A4A2B4", "2| c #D4D6E4", "2~ c #6C7284", "30 c #FCBE14", "32 c #CCCEDC", "34 c #FCF2F4", "36 c #FCD264", "38 c #CCBEC4", "3: c #84869C", "3< c #242634", "3> c #F4EAEC", "3@ c #DCE2EC", "3B c #DC7E3C", "3D c #5C6274", "3F c #CC9284", "3H c #F4E2CC", "3J c None", "322|282|281@2V2d092@162B3J3J3J3J01", "282r2r2r2r1j0Q0[2P1v1p2B3J3J3J3J01", "282r2r2r2r2r0g1P2H1|0W1`3J3J3J3J01", "2|2r2r2r2r2r0A0U0{2j2J3:2f3J3J3J01", "282r2r2r2r1V1^0U2X0W2R2/0O3J3J3J01", "2|2r2r2r2r1T0U1f1|0q2V0E1B3J3J3J01", "282r2r2r2r0S050G0}1H0;26203J3J3J01", "2|2r2r2r0I2>302h1x0s3@2T1n3J013J01", "282r2r1j1X140o0c3F2x2x0]2l01010101", "2|2r2r3H1<2p2^3B181t28261001010101", "182r2N2:362t1z241@1R322z2l01010101", "2|2r1j0m1b2D1h1>0K2V1@1J1001013J01", "282r2r070Y0?1>0K320a1L0w1~3J3J3J01", "182r2r1Z0M380i0s0s280g0]1d3J3J3J01", "282r2r1V3>2N2b0u0Q0u2N2T2Z3J3J3J01", "1l1/1/120k121/1/1/1/1/0y203J3J3J01", ); #PHP imgview generated array from editcopy.png on 2005-01-28 $editcopy = array( "16 16 43 1", "1 c #747294", "2 c #BCBACC", "3 c #DCDEEC", "4 c #9496B4", "5 c #CCCEDC", "6 c #F4F2FC", "7 c #8486AC", "8 c #ACAAC4", "9 c #C4C6DC", ": c #ECEAF4", "; c #7C7E9C", "< c #D4D6E4", "= c #C4C2D4", "> c #A4A2BC", "? c #E4E6F4", "@ c #FCFAFC", "A c #8C8EAC", "B c #7C7A9C", "C c #BCBED4", "D c #E4E2EC", "E c #9C9EBC", "F c #D4D2E4", "G c #B4B2CC", "H c #ECEEF4", "I c #8482A4", "J c #DCDAEC", "K c #74769C", "L c #BCBAD4", "M c #9C9AB4", "N c #CCCEE4", "O c #F4F6FC", "P c #8C8AAC", "Q c #CCCADC", "R c #7C7EA4", "S c #D4D6EC", "T c #C4C2DC", "U c #A4A6C4", "V c #FCFEFC", "W c #9492B4", "X c #E4E2F4", "Y c #B4B6CC", "Z c #ECEEFC", "[ c None", "9<<FNFUK[[[[[[[[1", "5VVV@HJUB[[[[[[[1", "FVVV@6GWIK[[[[[[1", "5VVVV6398B[[[[[[1", "5VVVV6FCLG9=YB[[1", "FVVV6X96VVO?X8R[1", "5VV@:XQOVVV6JE7B1", "5V@6:ZQOVVVOXY8I1", "FV@ZZ:QOVVV@:N971", "5V@66ZN@VVV:3QF71", "T6XX339@VV6XJSJP1", ";BB;;1>VV@:??D3A1", "[[[[[[Y@V66:?XXP1", "[[[[[[T@@6ZZ?X3A1", "[[[[[[C@@OO6Z?:P1", "[[[[[[AMEEM4M44I1", ); #PHP imgview generated array from editcut.png on 2005-01-28 $editcut = array( "16 16 149 2", "01 c #3C365C", "03 c #BCB244", "05 c #9C520C", "07 c #AC7A3C", "09 c #FCCE14", "0; c #646284", "0= c #E4960C", "0? c #C46204", "0A c #B4660C", "0C c #D47604", "0E c #6C320C", "0G c #949ABC", "0I c #ACB2CC", "0K c #847E7C", "0M c #D4860C", "0O c #B45204", "0Q c #CCCAD4", "0S c #84420C", "0U c #C46E04", "0W c #F4AE0C", "0Y c #CCCEDC", "0[ c #B4A29C", "0] c #B4BEDC", "0_ c #9C6E4C", "0a c #EC7604", "0c c #7C86AC", "0e c #44466C", "0g c #A45A0C", "0i c #BC6E0C", "0k c #F4BE14", "0m c #A4928C", "0o c #D46604", "0q c #F4F2FC", "0s c #D4820C", "0u c #7C360C", "0w c #8C4A0C", "0y c #CC760C", "0{ c #846654", "0} c #C46A04", "10 c #BC660C", "12 c #A4A6BC", "14 c #DC8E14", "16 c #E4E2EC", "18 c #C4C2CC", "1: c #AC5204", "1< c #747294", "1> c #BCB2AC", "1@ c #7C7E9C", "1B c #B45E04", "1D c #DC6E04", "1F c #FCB20C", "1H c #ACAABC", "1J c #8C92BC", "1L c #545A84", "1N c #642A0C", "1P c #DC7604", "1R c #9C9AAC", "1T c #8C4204", "1V c #C46E14", "1X c #D4D6DC", "1Z c #AC5A0C", "1/ c #FCBE0C", "1^ c #843E0C", "1` c #CC7E0C", "1b c #BC6A14", "1d c #E48E04", "1f c #84869C", "1h c #ACAECC", "1j c #A4560C", "1l c #FCEE14", "1n c #6C667C", "1p c #E4A60C", "1r c #CC6204", "1t c #743A0C", "1v c #B4B2C4", "1x c #C4720C", "1z c #ECB60C", "1| c #BCC6DC", "1~ c #F47604", "20 c #8C8AA4", "22 c #B47224", "24 c #DC7E04", "26 c #843A0C", "28 c #944A0C", "2: c #CC6A04", "2< c #BC6A04", "2> c #C4C6D4", "2@ c #848294", "2B c #BC5E04", "2D c #ACAEC4", "2F c #5C5A7C", "2H c #543E3C", "2J c #9C9EB4", "2L c #DCDAE4", "2N c #E4920C", "2P c #9C560C", "2R c #AC7A44", "2T c #FCD214", "2V c #646684", "2X c #B46614", "2Z c #D47A0C", "2/ c #74360C", "2^ c #DC8604", "2` c #B45604", "2b c #CCCADC", "2d c #84460C", "2f c #C46E0C", "2h c #BCBECC", "2j c #EC7A04", "2l c #8482A4", "2n c #4C4A64", "2p c #A45E14", "2r c #BC6E14", "2t c #F4C214", "2v c #AC9284", "2x c #D46A04", "2z c #FCFEFC", "2| c #7C3A0C", "2~ c #CC7A0C", "30 c #C46A0C", "32 c #A4AAC4", "34 c #E4E6EC", "36 c #C4C2D4", "38 c #AC5604", "3: c #747694", "3< c #BCBACC", "3> c #B4620C", "3@ c #FCB614", "3B c #9492AC", "3D c #ECA20C", "3F c #F4B614", "3H c #8C460C", "3J c #B4B6CC", "3L c #DC820C", "3N c #5C5E84", "3P c #642E0C", "3R c #DC7A04", "3T c #AC5E0C", "3V c #FCC20C", "3X c #CC820C", "3Z c #CC6604", "3/ c #944E0C", "3^ c #ACAAC4", "3` c #9C9AB4", "3b c #D4D6E4", "3d c #E48E0C", "3f c #BC6A0C", "3h c #84829C", "3j c None", "3j3j3j3j3j3j3j3j2D0Q3<3j3j3j3j3j01", "3j3j3j3j3j3j3j3j0Q343^3j3j3`2D3j01", "3j3j3j3j3j3j3j3j3b2L1R3j3:2D1X3j01", "3j3j3j3j3j3j3j3j180Y1<1L1R2z2>3j01", "3j3j3j3j3j3j3j3j2D2h0e3B0q0Y3h3j01", "3j3j3j3j3j3j3j3j3`2J3h16120;3j3j01", "3j3j3j3T10100C3j0;202>1@0e3j3j3j01", "3j3j1j0M1z2t140C0K1J2F013j3j3j3j01", "3j0w2^0=2N3@2T09030{2H3j3j3j3j3j01", "3j1B24053j0y091l0k1/0W3D0y3j3j3j01", "3j2x2B3P282~1/0s1p1l092T1z0A3j3j01", "3j2`1~382<1d0i1j3D0W1P3L1F1`1j3j01", "3j2/1:1D0}1j3/3j140s1Z051`0M283j01", "3j3j0u1:1T3j3j3j0}240E2/243f0S3j01", "3j3j3j3j3j3j3j3j3H0a0?0?0a2d3j3j01", "3j3j3j3j3j3j3j3j1t1^0o1r1^2/3j3j01", ); #PHP imgview generated array from editdelete.png on 2005-01-28 $editdelete = array( "16 16 97 2", "01 c #FC0204", "03 c #7C8294", "05 c #BCC2CC", "07 c #DCE2EC", "09 c #F4866C", "0; c #646674", "0= c #E4F2FC", "0? c #DCA29C", "0A c #E4CED4", "0C c #F44234", "0E c #9CA2B4", "0G c #FC2214", "0I c #F4F2F4", "0K c #F4B2AC", "0M c #CCD2DC", "0O c #FCE2D4", "0Q c #FC624C", "0S c #ACB2C4", "0U c #E4EAF4", "0W c #FC361C", "0Y c #F4FAFC", "0[ c #FC9274", "0] c #FCB2A4", "0_ c #EC7A6C", "0a c #FC1604", "0c c #9C9EB4", "0e c #DCCED4", "0g c #E4E2EC", "0i c #6C7284", "0k c #ECFAFC", "0m c #FCA294", "0o c #FCD6CC", "0q c #A4AABC", "0s c #D4DAE4", "0u c #848A94", "0w c #C4CAD4", "0y c #E4D6DC", "0{ c #FC5644", "0} c #F42E34", "10 c #B4BECC", "12 c #FC3E24", "14 c #FCFAFC", "16 c #EC969C", "18 c #848694", "1: c #DCE6F4", "1< c #ECF2FC", "1> c #E4AEB4", "1@ c #A4A6BC", "1B c #FC2A14", "1D c #F4F6FC", "1F c #ECBAC4", "1H c #D4D6E4", "1J c #F46A54", "1L c #ECEEF4", "1N c #FCBAA4", "1P c #FC7654", "1R c #FC1E1C", "1T c #747684", "1V c #CCCEDC", "1X c #FC0E0C", "1Z c #7C8694", "1/ c #DCE2F4", "1^ c #FC8274", "1` c #6C6E7C", "1b c #ECCAD4", "1d c #FC4E3C", "1f c #9CA6BC", "1h c #FC260C", "1j c #F4F2FC", "1l c #F4B6AC", "1n c #CCD6E4", "1p c #F4EEF4", "1r c #B4B6C4", "1t c #E4EEFC", "1v c #FC322C", "1x c #F4FEFC", "1z c #FC9E84", "1| c #FC1614", "1~ c #E4E6F4", "20 c #6C7684", "22 c #ECFEFC", "24 c #F4AEB4", "26 c #ACAEC4", "28 c #DCDEE4", "2: c #C4CADC", "2< c #ECD6D4", "2> c #FC5A3C", "2@ c #BCBECC", "2B c #FC3E2C", "2D c #FCFEFC", "2F c #F4928C", "2H c #ECF6FC", "2J c #ECAAB4", "2L c #FC6A4C", "2N c #FCBAAC", "2P c #FC7664", "2R c None", "0w0s1H1H1H1H1V0w0S0S1f2R2R2R2R2R01", "0M2D2D2D2D2D1D1j0M282@0E2R2R2R2R01", "1V2D2D2D2D2D0Y1D1H1D1D2:0q2R2R2R01", "0M2D2D2D2D2D14140S2@0w050E032R2R01", "1V2D2D2D2D2D2D2D0w100S0c1@202R2R01", "0M2D2D2D2D2D141D0Y1<070w0M1`2R2R01", "1V2D2D0o0o2D2D0Y0y0_0?1n1H0i2R2R01", "0M2D0O1z0[2N2H2<1J1h2B0e070i2R2R01", "1V2D141N1P2L090Q0G121>0707202R2R01", "0M2D140Y0]2>121h1d0A1t071~202R2R01", "0M2D1D1x0K0W1h0a1v0A0=071~1T2R2R01", "0M2D1j1z121B0{0G010a2J0U0U1T2R2R01", "0M2D2N0W0G1^0k241X011R0y1t0i2R2R01", "0M2D1p2P2F1D2H221F1v160g1~1T2R2R01", "0M2D2D2D2D2D14140Y0Y2H1L1<1T2R2R01", "05180u0u0u0u180u180u1Z18180;2R2R01", ); $this->pixdatas = array('editdelete'=>$editdelete,'editpaste'=>$editpaste,'edit'=>$edit, 'editcopy'=>$editcopy,'editcut'=>$editcut,'all'=>$all,'cancel'=>$cancel); } } ?>