Changeset 4616


Ignore:
Timestamp:
Jan 4, 2010, 2:17:11 PM (11 years ago)
Author:
ronosman
Message:

Bug 1355 fixed : missing properties for thumbnail in Global Settings panel.

Location:
extensions/pLoader/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/res/global_settings_wdr.pl

    r4589 r4616  
    3232use vars qw($GS_DEFAULT_AUTHOR); $GS_DEFAULT_AUTHOR = 10005;
    3333use vars qw($GS_AUTO_ROTATE); $GS_AUTO_ROTATE = 10006;
    34 use vars qw($GS_CREATE_RESIZED); $GS_CREATE_RESIZED = 10007;
    35 use vars qw($CPANE_RESIZE); $CPANE_RESIZE = 10008;
    36 use vars qw($SITE_IMG_WIDTH); $SITE_IMG_WIDTH = 10009;
    37 use vars qw($GS_SITE_IMG_WIDTH); $GS_SITE_IMG_WIDTH = 10010;
    38 use vars qw($SITE_IMG_HEIGHT); $SITE_IMG_HEIGHT = 10011;
    39 use vars qw($GS_SITE_IMG_HEIGHT); $GS_SITE_IMG_HEIGHT = 10012;
    40 use vars qw($SITE_IMG_JPEG_QUALITY); $SITE_IMG_JPEG_QUALITY = 10013;
    41 use vars qw($GS_SITE_IMG_JPEG_QUALITY); $GS_SITE_IMG_JPEG_QUALITY = 10014;
    42 use vars qw($CPANE_RESIZE_ADVANCED); $CPANE_RESIZE_ADVANCED = 10015;
    43 use vars qw($SITE_IMG_FILTER); $SITE_IMG_FILTER = 10016;
    44 use vars qw($GS_SITE_IMG_FILTER); $GS_SITE_IMG_FILTER = 10017;
    45 use vars qw($SITE_IMG_BLUR); $SITE_IMG_BLUR = 10018;
    46 use vars qw($GS_SITE_IMG_BLUR); $GS_SITE_IMG_BLUR = 10019;
    47 use vars qw($SITE_IMG_INTERLACE); $SITE_IMG_INTERLACE = 10020;
    48 use vars qw($GS_SITE_IMG_INTERLACE); $GS_SITE_IMG_INTERLACE = 10021;
    49 use vars qw($GS_HD_UPLOAD); $GS_HD_UPLOAD = 10022;
    50 use vars qw($CPANE_HD); $CPANE_HD = 10023;
    51 use vars qw($HD_IMG_WIDTH); $HD_IMG_WIDTH = 10024;
    52 use vars qw($GS_HD_IMG_WIDTH); $GS_HD_IMG_WIDTH = 10025;
    53 use vars qw($HD_IMG_HEIGHT); $HD_IMG_HEIGHT = 10026;
    54 use vars qw($GS_HD_IMG_HEIGHT); $GS_HD_IMG_HEIGHT = 10027;
    55 use vars qw($HD_IMG_JPEG_QUALITY); $HD_IMG_JPEG_QUALITY = 10028;
    56 use vars qw($GS_HD_IMG_JPEG_QUALITY); $GS_HD_IMG_JPEG_QUALITY = 10029;
    57 use vars qw($CPANE_HD_ADVANCED); $CPANE_HD_ADVANCED = 10030;
    58 use vars qw($HD_IMG_FILTER); $HD_IMG_FILTER = 10031;
    59 use vars qw($GS_HD_IMG_FILTER); $GS_HD_IMG_FILTER = 10032;
    60 use vars qw($HD_IMG_BLUR); $HD_IMG_BLUR = 10033;
    61 use vars qw($GS_HD_IMG_BLUR); $GS_HD_IMG_BLUR = 10034;
    62 use vars qw($HD_IMG_INTERLACE); $HD_IMG_INTERLACE = 10035;
    63 use vars qw($GS_HD_IMG_INTERLACE); $GS_HD_IMG_INTERLACE = 10036;
    64 use vars qw($GS_WMARK_ACTIVATE); $GS_WMARK_ACTIVATE = 10037;
    65 use vars qw($GS_WMARK_ACTIVATE_HD); $GS_WMARK_ACTIVATE_HD = 10038;
    66 use vars qw($CPANE_WATERMARK); $CPANE_WATERMARK = 10039;
    67 use vars qw($WMARK_TEXT); $WMARK_TEXT = 10040;
    68 use vars qw($GS_WMARK_TEXT); $GS_WMARK_TEXT = 10041;
    69 use vars qw($WMARK_TEXT_SIZE); $WMARK_TEXT_SIZE = 10042;
    70 use vars qw($GS_WMARK_TEXT_SIZE); $GS_WMARK_TEXT_SIZE = 10043;
    71 use vars qw($WMARK_COLOR); $WMARK_COLOR = 10044;
    72 use vars qw($GS_WMARK_COLOR); $GS_WMARK_COLOR = 10045;
    73 use vars qw($WMARK_POSITION); $WMARK_POSITION = 10046;
    74 use vars qw($GS_WMARK_POSITION); $GS_WMARK_POSITION = 10047;
    75 use vars qw($WMARK_MARGIN_TOP); $WMARK_MARGIN_TOP = 10048;
    76 use vars qw($GS_WMARK_MARGIN_TOP); $GS_WMARK_MARGIN_TOP = 10049;
    77 use vars qw($WMARK_MARGIN_LEFT); $WMARK_MARGIN_LEFT = 10050;
    78 use vars qw($GS_WMARK_MARGIN_LEFT); $GS_WMARK_MARGIN_LEFT = 10051;
    79 use vars qw($GS_REMOVE_UPLOADED_FROM_SELECTION); $GS_REMOVE_UPLOADED_FROM_SELECTION = 10052;
    80 use vars qw($CPANE_TRANSFERT_ADVANCED); $CPANE_TRANSFERT_ADVANCED = 10053;
    81 use vars qw($CHUNK_SIZE); $CHUNK_SIZE = 10054;
    82 use vars qw($GS_CHUNK_SIZE); $GS_CHUNK_SIZE = 10055;
    83 use vars qw($ID_LINE); $ID_LINE = 10056;
    84 use vars qw($GS_CLOSE); $GS_CLOSE = 10057;
     34use vars qw($CPANE_THUMBNAIL); $CPANE_THUMBNAIL = 10007;
     35use vars qw($THUMBNAIL_SIZE); $THUMBNAIL_SIZE = 10008;
     36use vars qw($GS_THUMBNAIL_SIZE); $GS_THUMBNAIL_SIZE = 10009;
     37use vars qw($THUMBNAIL_JPEG_QUALITY); $THUMBNAIL_JPEG_QUALITY = 10010;
     38use vars qw($GS_THUMBNAIL_JPEG_QUALITY); $GS_THUMBNAIL_JPEG_QUALITY = 10011;
     39use vars qw($GS_CREATE_RESIZED); $GS_CREATE_RESIZED = 10012;
     40use vars qw($CPANE_RESIZE); $CPANE_RESIZE = 10013;
     41use vars qw($SITE_IMG_WIDTH); $SITE_IMG_WIDTH = 10014;
     42use vars qw($GS_SITE_IMG_WIDTH); $GS_SITE_IMG_WIDTH = 10015;
     43use vars qw($SITE_IMG_HEIGHT); $SITE_IMG_HEIGHT = 10016;
     44use vars qw($GS_SITE_IMG_HEIGHT); $GS_SITE_IMG_HEIGHT = 10017;
     45use vars qw($SITE_IMG_JPEG_QUALITY); $SITE_IMG_JPEG_QUALITY = 10018;
     46use vars qw($GS_SITE_IMG_JPEG_QUALITY); $GS_SITE_IMG_JPEG_QUALITY = 10019;
     47use vars qw($CPANE_RESIZE_ADVANCED); $CPANE_RESIZE_ADVANCED = 10020;
     48use vars qw($SITE_IMG_FILTER); $SITE_IMG_FILTER = 10021;
     49use vars qw($GS_SITE_IMG_FILTER); $GS_SITE_IMG_FILTER = 10022;
     50use vars qw($SITE_IMG_BLUR); $SITE_IMG_BLUR = 10023;
     51use vars qw($GS_SITE_IMG_BLUR); $GS_SITE_IMG_BLUR = 10024;
     52use vars qw($SITE_IMG_INTERLACE); $SITE_IMG_INTERLACE = 10025;
     53use vars qw($GS_SITE_IMG_INTERLACE); $GS_SITE_IMG_INTERLACE = 10026;
     54use vars qw($GS_HD_UPLOAD); $GS_HD_UPLOAD = 10027;
     55use vars qw($CPANE_HD); $CPANE_HD = 10028;
     56use vars qw($HD_IMG_WIDTH); $HD_IMG_WIDTH = 10029;
     57use vars qw($GS_HD_IMG_WIDTH); $GS_HD_IMG_WIDTH = 10030;
     58use vars qw($HD_IMG_HEIGHT); $HD_IMG_HEIGHT = 10031;
     59use vars qw($GS_HD_IMG_HEIGHT); $GS_HD_IMG_HEIGHT = 10032;
     60use vars qw($HD_IMG_JPEG_QUALITY); $HD_IMG_JPEG_QUALITY = 10033;
     61use vars qw($GS_HD_IMG_JPEG_QUALITY); $GS_HD_IMG_JPEG_QUALITY = 10034;
     62use vars qw($CPANE_HD_ADVANCED); $CPANE_HD_ADVANCED = 10035;
     63use vars qw($HD_IMG_FILTER); $HD_IMG_FILTER = 10036;
     64use vars qw($GS_HD_IMG_FILTER); $GS_HD_IMG_FILTER = 10037;
     65use vars qw($HD_IMG_BLUR); $HD_IMG_BLUR = 10038;
     66use vars qw($GS_HD_IMG_BLUR); $GS_HD_IMG_BLUR = 10039;
     67use vars qw($HD_IMG_INTERLACE); $HD_IMG_INTERLACE = 10040;
     68use vars qw($GS_HD_IMG_INTERLACE); $GS_HD_IMG_INTERLACE = 10041;
     69use vars qw($GS_WMARK_ACTIVATE); $GS_WMARK_ACTIVATE = 10042;
     70use vars qw($GS_WMARK_ACTIVATE_HD); $GS_WMARK_ACTIVATE_HD = 10043;
     71use vars qw($CPANE_WATERMARK); $CPANE_WATERMARK = 10044;
     72use vars qw($WMARK_TEXT); $WMARK_TEXT = 10045;
     73use vars qw($GS_WMARK_TEXT); $GS_WMARK_TEXT = 10046;
     74use vars qw($WMARK_TEXT_SIZE); $WMARK_TEXT_SIZE = 10047;
     75use vars qw($GS_WMARK_TEXT_SIZE); $GS_WMARK_TEXT_SIZE = 10048;
     76use vars qw($WMARK_COLOR); $WMARK_COLOR = 10049;
     77use vars qw($GS_WMARK_COLOR); $GS_WMARK_COLOR = 10050;
     78use vars qw($WMARK_POSITION); $WMARK_POSITION = 10051;
     79use vars qw($GS_WMARK_POSITION); $GS_WMARK_POSITION = 10052;
     80use vars qw($WMARK_MARGIN_TOP); $WMARK_MARGIN_TOP = 10053;
     81use vars qw($GS_WMARK_MARGIN_TOP); $GS_WMARK_MARGIN_TOP = 10054;
     82use vars qw($WMARK_MARGIN_LEFT); $WMARK_MARGIN_LEFT = 10055;
     83use vars qw($GS_WMARK_MARGIN_LEFT); $GS_WMARK_MARGIN_LEFT = 10056;
     84use vars qw($GS_REMOVE_UPLOADED_FROM_SELECTION); $GS_REMOVE_UPLOADED_FROM_SELECTION = 10057;
     85use vars qw($CPANE_TRANSFERT_ADVANCED); $CPANE_TRANSFERT_ADVANCED = 10058;
     86use vars qw($CHUNK_SIZE); $CHUNK_SIZE = 10059;
     87use vars qw($GS_CHUNK_SIZE); $GS_CHUNK_SIZE = 10060;
     88use vars qw($ID_LINE); $ID_LINE = 10061;
     89use vars qw($GS_CLOSE); $GS_CLOSE = 10062;
    8590
    8691sub GlobalSettings {
     
    132137
    133138    my( $item15 ) = Wx::StaticBox->new( $parent, -1, "text" );
    134     my( $item14 ) = Wx::StaticBoxSizer->new( $item15, wxVERTICAL );
    135     $parent->{sb_web_sized_photo} = $item14;
    136    
    137     my( $item16 ) = Wx::BoxSizer->new( wxHORIZONTAL );
    138    
    139     my( $item17 ) = Wx::Choice->new( $parent, $main::GS_CREATE_RESIZED, wxDefaultPosition, [250,-1], [], 0 );
    140     $item16->AddWindow( $item17, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    141 
    142     my( $item18 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    143     my( $oldparent ) = $parent;
    144     $parent = $item18->GetPane();
    145    
    146     my( $item19 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    147    
    148     my( $item20 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_WIDTH, "text", wxDefaultPosition, wxDefaultSize, 0 );
    149     $item19->AddWindow( $item20, 0, wxALL, 5 );
    150 
    151     my( $item21 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_WIDTH, "", wxDefaultPosition, wxDefaultSize, 0 );
    152     $item19->AddWindow( $item21, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    153 
    154     my( $item22 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_HEIGHT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    155     $item19->AddWindow( $item22, 0, wxALL, 5 );
    156 
    157     my( $item23 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_HEIGHT, "", wxDefaultPosition, wxDefaultSize, 0 );
    158     $item19->AddWindow( $item23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    159 
    160     my( $item24 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_JPEG_QUALITY, "text", wxDefaultPosition, wxDefaultSize, 0 );
    161     $item19->AddWindow( $item24, 0, wxALL, 5 );
    162 
    163     my( $item25 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_JPEG_QUALITY, "", wxDefaultPosition, wxDefaultSize, 0 );
    164     $item19->AddWindow( $item25, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    165 
    166     $parent->SetSizer( $item19 );
    167     $parent = $oldparent;
    168    
    169     $item16->AddWindow( $item18, 0, wxALL, 5 );
    170 
    171     my( $item26 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     139    my( $item14 ) = Wx::StaticBoxSizer->new( $item15, wxHORIZONTAL );
     140    $parent->{sb_thumbnail} = $item14;
     141   
     142    my( $item16 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_THUMBNAIL, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     143    my( $oldparent ) = $parent;
     144    $parent = $item16->GetPane();
     145   
     146    my( $item17 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
     147   
     148    my( $item18 ) = Wx::StaticText->new( $parent, $main::THUMBNAIL_SIZE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     149    $item17->AddWindow( $item18, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     150
     151    my( $item19 ) = Wx::TextCtrl->new( $parent, $main::GS_THUMBNAIL_SIZE, "", wxDefaultPosition, [80,-1], 0 );
     152    $item17->AddWindow( $item19, 0, wxALIGN_CENTER|wxALL, 5 );
     153
     154    my( $item20 ) = Wx::StaticText->new( $parent, $main::THUMBNAIL_JPEG_QUALITY, "text", wxDefaultPosition, wxDefaultSize, 0 );
     155    $item17->AddWindow( $item20, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     156
     157    my( $item21 ) = Wx::TextCtrl->new( $parent, $main::GS_THUMBNAIL_JPEG_QUALITY, "", wxDefaultPosition, [80,-1], 0 );
     158    $item17->AddWindow( $item21, 0, wxALIGN_CENTER|wxALL, 5 );
     159
     160    $parent->SetSizer( $item17 );
     161    $parent = $oldparent;
     162   
     163    $item14->AddWindow( $item16, 0, wxALL, 5 );
     164
     165    $item0->Add( $item14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     166
     167    my( $item23 ) = Wx::StaticBox->new( $parent, -1, "text" );
     168    my( $item22 ) = Wx::StaticBoxSizer->new( $item23, wxVERTICAL );
     169    $parent->{sb_web_sized_photo} = $item22;
     170   
     171    my( $item24 ) = Wx::BoxSizer->new( wxHORIZONTAL );
     172   
     173    my( $item25 ) = Wx::Choice->new( $parent, $main::GS_CREATE_RESIZED, wxDefaultPosition, [250,-1], [], 0 );
     174    $item24->AddWindow( $item25, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
     175
     176    my( $item26 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    172177    my( $oldparent ) = $parent;
    173178    $parent = $item26->GetPane();
     
    175180    my( $item27 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    176181   
    177     my( $item28 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_FILTER, "text", wxDefaultPosition, wxDefaultSize, 0 );
     182    my( $item28 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_WIDTH, "text", wxDefaultPosition, wxDefaultSize, 0 );
    178183    $item27->AddWindow( $item28, 0, wxALL, 5 );
    179184
    180     my( $item29 ) = Wx::Choice->new( $parent, $main::GS_SITE_IMG_FILTER, wxDefaultPosition, [100,-1], [], 0 );
    181     $item27->AddWindow( $item29, 0, wxALIGN_CENTER|wxALL, 5 );
    182 
    183     my( $item30 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_BLUR, "text", wxDefaultPosition, wxDefaultSize, 0 );
     185    my( $item29 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_WIDTH, "", wxDefaultPosition, wxDefaultSize, 0 );
     186    $item27->AddWindow( $item29, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     187
     188    my( $item30 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_HEIGHT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    184189    $item27->AddWindow( $item30, 0, wxALL, 5 );
    185190
    186     my( $item31 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_BLUR, "", wxDefaultPosition, wxDefaultSize, 0 );
     191    my( $item31 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_HEIGHT, "", wxDefaultPosition, wxDefaultSize, 0 );
    187192    $item27->AddWindow( $item31, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    188193
    189     my( $item32 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_INTERLACE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     194    my( $item32 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_JPEG_QUALITY, "text", wxDefaultPosition, wxDefaultSize, 0 );
    190195    $item27->AddWindow( $item32, 0, wxALL, 5 );
    191196
    192     my( $item33 ) = Wx::Choice->new( $parent, $main::GS_SITE_IMG_INTERLACE, wxDefaultPosition, [100,-1], [], 0 );
    193     $item27->AddWindow( $item33, 0, wxALIGN_CENTER|wxALL, 5 );
     197    my( $item33 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_JPEG_QUALITY, "", wxDefaultPosition, wxDefaultSize, 0 );
     198    $item27->AddWindow( $item33, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    194199
    195200    $parent->SetSizer( $item27 );
    196201    $parent = $oldparent;
    197202   
    198     $item16->AddWindow( $item26, 0, wxALL, 5 );
    199 
    200     $item14->Add( $item16, 0, wxALIGN_CENTER_VERTICAL, 5 );
    201 
    202     $item0->Add( $item14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    203 
    204     my( $item35 ) = Wx::StaticBox->new( $parent, -1, "text" );
    205     my( $item34 ) = Wx::StaticBoxSizer->new( $item35, wxHORIZONTAL );
    206     $parent->{sb_high_definition_photo} = $item34;
    207    
    208     my( $item36 ) = Wx::Choice->new( $parent, $main::GS_HD_UPLOAD, wxDefaultPosition, [250,-1], [], 0 );
    209     $item34->AddWindow( $item36, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    210 
    211     my( $item37 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    212     my( $oldparent ) = $parent;
    213     $parent = $item37->GetPane();
    214    
    215     my( $item38 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    216    
    217     my( $item39 ) = Wx::StaticText->new( $parent, $main::HD_IMG_WIDTH, "text", wxDefaultPosition, wxDefaultSize, 0 );
    218     $item38->AddWindow( $item39, 0, wxALL, 5 );
    219 
    220     my( $item40 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_WIDTH, "", wxDefaultPosition, wxDefaultSize, 0 );
    221     $item38->AddWindow( $item40, 0, wxALIGN_CENTER|wxALL, 5 );
    222 
    223     my( $item41 ) = Wx::StaticText->new( $parent, $main::HD_IMG_HEIGHT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    224     $item38->AddWindow( $item41, 0, wxALL, 5 );
    225 
    226     my( $item42 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_HEIGHT, "", wxDefaultPosition, wxDefaultSize, 0 );
    227     $item38->AddWindow( $item42, 0, wxALIGN_CENTER|wxALL, 5 );
    228 
    229     my( $item43 ) = Wx::StaticText->new( $parent, $main::HD_IMG_JPEG_QUALITY, "text", wxDefaultPosition, wxDefaultSize, 0 );
    230     $item38->AddWindow( $item43, 0, wxALL, 5 );
    231 
    232     my( $item44 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_JPEG_QUALITY, "", wxDefaultPosition, wxDefaultSize, 0 );
    233     $item38->AddWindow( $item44, 0, wxALIGN_CENTER|wxALL, 5 );
    234 
    235     $parent->SetSizer( $item38 );
    236     $parent = $oldparent;
    237    
    238     $item34->AddWindow( $item37, 0, wxALL, 5 );
    239 
    240     my( $item45 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     203    $item24->AddWindow( $item26, 0, wxALL, 5 );
     204
     205    my( $item34 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     206    my( $oldparent ) = $parent;
     207    $parent = $item34->GetPane();
     208   
     209    my( $item35 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
     210   
     211    my( $item36 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_FILTER, "text", wxDefaultPosition, wxDefaultSize, 0 );
     212    $item35->AddWindow( $item36, 0, wxALL, 5 );
     213
     214    my( $item37 ) = Wx::Choice->new( $parent, $main::GS_SITE_IMG_FILTER, wxDefaultPosition, [100,-1], [], 0 );
     215    $item35->AddWindow( $item37, 0, wxALIGN_CENTER|wxALL, 5 );
     216
     217    my( $item38 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_BLUR, "text", wxDefaultPosition, wxDefaultSize, 0 );
     218    $item35->AddWindow( $item38, 0, wxALL, 5 );
     219
     220    my( $item39 ) = Wx::TextCtrl->new( $parent, $main::GS_SITE_IMG_BLUR, "", wxDefaultPosition, wxDefaultSize, 0 );
     221    $item35->AddWindow( $item39, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     222
     223    my( $item40 ) = Wx::StaticText->new( $parent, $main::SITE_IMG_INTERLACE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     224    $item35->AddWindow( $item40, 0, wxALL, 5 );
     225
     226    my( $item41 ) = Wx::Choice->new( $parent, $main::GS_SITE_IMG_INTERLACE, wxDefaultPosition, [100,-1], [], 0 );
     227    $item35->AddWindow( $item41, 0, wxALIGN_CENTER|wxALL, 5 );
     228
     229    $parent->SetSizer( $item35 );
     230    $parent = $oldparent;
     231   
     232    $item24->AddWindow( $item34, 0, wxALL, 5 );
     233
     234    $item22->Add( $item24, 0, wxALIGN_CENTER_VERTICAL, 5 );
     235
     236    $item0->Add( $item22, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     237
     238    my( $item43 ) = Wx::StaticBox->new( $parent, -1, "text" );
     239    my( $item42 ) = Wx::StaticBoxSizer->new( $item43, wxHORIZONTAL );
     240    $parent->{sb_high_definition_photo} = $item42;
     241   
     242    my( $item44 ) = Wx::Choice->new( $parent, $main::GS_HD_UPLOAD, wxDefaultPosition, [250,-1], [], 0 );
     243    $item42->AddWindow( $item44, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
     244
     245    my( $item45 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    241246    my( $oldparent ) = $parent;
    242247    $parent = $item45->GetPane();
     
    244249    my( $item46 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    245250   
    246     my( $item47 ) = Wx::StaticText->new( $parent, $main::HD_IMG_FILTER, "text", wxDefaultPosition, wxDefaultSize, 0 );
     251    my( $item47 ) = Wx::StaticText->new( $parent, $main::HD_IMG_WIDTH, "text", wxDefaultPosition, wxDefaultSize, 0 );
    247252    $item46->AddWindow( $item47, 0, wxALL, 5 );
    248253
    249     my( $item48 ) = Wx::Choice->new( $parent, $main::GS_HD_IMG_FILTER, wxDefaultPosition, [100,-1], [], 0 );
    250     $item46->AddWindow( $item48, 0, wxALL, 5 );
    251 
    252     my( $item49 ) = Wx::StaticText->new( $parent, $main::HD_IMG_BLUR, "text", wxDefaultPosition, wxDefaultSize, 0 );
     254    my( $item48 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_WIDTH, "", wxDefaultPosition, wxDefaultSize, 0 );
     255    $item46->AddWindow( $item48, 0, wxALIGN_CENTER|wxALL, 5 );
     256
     257    my( $item49 ) = Wx::StaticText->new( $parent, $main::HD_IMG_HEIGHT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    253258    $item46->AddWindow( $item49, 0, wxALL, 5 );
    254259
    255     my( $item50 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_BLUR, "", wxDefaultPosition, wxDefaultSize, 0 );
    256     $item46->AddWindow( $item50, 0, wxALL, 5 );
    257 
    258     my( $item51 ) = Wx::StaticText->new( $parent, $main::HD_IMG_INTERLACE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     260    my( $item50 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_HEIGHT, "", wxDefaultPosition, wxDefaultSize, 0 );
     261    $item46->AddWindow( $item50, 0, wxALIGN_CENTER|wxALL, 5 );
     262
     263    my( $item51 ) = Wx::StaticText->new( $parent, $main::HD_IMG_JPEG_QUALITY, "text", wxDefaultPosition, wxDefaultSize, 0 );
    259264    $item46->AddWindow( $item51, 0, wxALL, 5 );
    260265
    261     my( $item52 ) = Wx::Choice->new( $parent, $main::GS_HD_IMG_INTERLACE, wxDefaultPosition, [100,-1], [], 0 );
    262     $item46->AddWindow( $item52, 0, wxALL, 5 );
     266    my( $item52 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_JPEG_QUALITY, "", wxDefaultPosition, wxDefaultSize, 0 );
     267    $item46->AddWindow( $item52, 0, wxALIGN_CENTER|wxALL, 5 );
    263268
    264269    $parent->SetSizer( $item46 );
    265270    $parent = $oldparent;
    266271   
    267     $item34->AddWindow( $item45, 0, wxALL, 5 );
    268 
    269     $item0->Add( $item34, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    270 
    271     my( $item54 ) = Wx::StaticBox->new( $parent, -1, "text" );
    272     my( $item53 ) = Wx::StaticBoxSizer->new( $item54, wxHORIZONTAL );
    273     $parent->{sb_watermark} = $item53;
    274    
    275     my( $item55 ) = Wx::BoxSizer->new( wxVERTICAL );
    276    
    277     my( $item56 ) = Wx::CheckBox->new( $parent, $main::GS_WMARK_ACTIVATE, "", wxDefaultPosition, wxDefaultSize, 0 );
    278     $item55->AddWindow( $item56, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    279 
    280     my( $item57 ) = Wx::CheckBox->new( $parent, $main::GS_WMARK_ACTIVATE_HD, "", wxDefaultPosition, wxDefaultSize, 0 );
    281     $item55->AddWindow( $item57, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    282 
    283     $item53->Add( $item55, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    284 
    285     my( $item58 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_WATERMARK, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    286     my( $oldparent ) = $parent;
    287     $parent = $item58->GetPane();
    288    
    289     my( $item59 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    290    
    291     my( $item60 ) = Wx::StaticText->new( $parent, $main::WMARK_TEXT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    292     $item59->AddWindow( $item60, 0, wxALL, 5 );
    293 
    294     my( $item61 ) = Wx::TextCtrl->new( $parent, $main::GS_WMARK_TEXT, "", wxDefaultPosition, [200,-1], 0 );
    295     $item59->AddWindow( $item61, 0, wxALL, 5 );
    296 
    297     my( $item62 ) = Wx::StaticText->new( $parent, $main::WMARK_TEXT_SIZE, "text", wxDefaultPosition, wxDefaultSize, 0 );
    298     $item59->AddWindow( $item62, 0, wxALL, 5 );
    299 
    300     my( $item63 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_TEXT_SIZE, "0", wxDefaultPosition, [50,-1], 0, 0, 100, 0 );
    301     $item59->AddWindow( $item63, 0, wxALL, 5 );
    302 
    303     my( $item64 ) = Wx::StaticText->new( $parent, $main::WMARK_COLOR, "text", wxDefaultPosition, wxDefaultSize, 0 );
    304     $item59->AddWindow( $item64, 0, wxALL, 5 );
    305 
    306     my( $item65 ) = Wx::Choice->new( $parent, $main::GS_WMARK_COLOR, wxDefaultPosition, [100,-1], [], 0 );
    307     $item59->AddWindow( $item65, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    308 
    309     my( $item66 ) = Wx::StaticText->new( $parent, $main::WMARK_POSITION, "text", wxDefaultPosition, wxDefaultSize, 0 );
    310     $item59->AddWindow( $item66, 0, wxALL, 5 );
    311 
    312     my( $item67 ) = Wx::Choice->new( $parent, $main::GS_WMARK_POSITION, wxDefaultPosition, [100,-1], [], 0 );
    313     $item59->AddWindow( $item67, 0, wxALL, 5 );
    314 
    315     my( $item68 ) = Wx::StaticText->new( $parent, $main::WMARK_MARGIN_TOP, "text", wxDefaultPosition, wxDefaultSize, 0 );
    316     $item59->AddWindow( $item68, 0, wxALL, 5 );
    317 
    318     my( $item69 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_MARGIN_TOP, "0", wxDefaultPosition, [100,-1], 0, 0, 100, 0 );
    319     $item59->AddWindow( $item69, 0, wxALL, 5 );
    320 
    321     my( $item70 ) = Wx::StaticText->new( $parent, $main::WMARK_MARGIN_LEFT, "text", wxDefaultPosition, wxDefaultSize, 0 );
    322     $item59->AddWindow( $item70, 0, wxALL, 5 );
    323 
    324     my( $item71 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_MARGIN_LEFT, "0", wxDefaultPosition, [100,-1], 0, 0, 100, 0 );
    325     $item59->AddWindow( $item71, 0, wxALL, 5 );
    326 
    327     $parent->SetSizer( $item59 );
    328     $parent = $oldparent;
    329    
    330     $item53->AddWindow( $item58, 0, wxALL, 5 );
    331 
    332     $item0->Add( $item53, 0, wxALIGN_CENTER_VERTICAL, 5 );
    333 
    334     my( $item73 ) = Wx::StaticBox->new( $parent, -1, "Text" );
    335     my( $item72 ) = Wx::StaticBoxSizer->new( $item73, wxHORIZONTAL );
    336     $parent->{sb_transfert} = $item72;
    337    
    338     my( $item74 ) = Wx::CheckBox->new( $parent, $main::GS_REMOVE_UPLOADED_FROM_SELECTION, "", wxDefaultPosition, wxDefaultSize, 0 );
    339     $item72->AddWindow( $item74, 0, wxALIGN_CENTER|wxALL, 5 );
    340 
    341     my( $item75 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_TRANSFERT_ADVANCED, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    342     my( $oldparent ) = $parent;
    343     $parent = $item75->GetPane();
    344    
    345     my( $item76 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
    346    
    347     my( $item77 ) = Wx::StaticText->new( $parent, $main::CHUNK_SIZE, "text", wxDefaultPosition, wxDefaultSize, 0 );
    348     $item76->AddWindow( $item77, 0, wxALL, 5 );
    349 
    350     my( $item78 ) = Wx::TextCtrl->new( $parent, $main::GS_CHUNK_SIZE, "", wxDefaultPosition, wxDefaultSize, 0 );
    351     $item76->AddWindow( $item78, 0, wxALL, 5 );
    352 
    353     $parent->SetSizer( $item76 );
    354     $parent = $oldparent;
    355    
    356     $item72->AddWindow( $item75, 0, wxALL, 5 );
    357 
    358     $item0->Add( $item72, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    359 
    360     my( $item79 ) = Wx::BoxSizer->new( wxVERTICAL );
    361    
    362     my( $item80 ) = Wx::StaticLine->new( $parent, $main::ID_LINE, wxDefaultPosition, [20,-1], wxLI_HORIZONTAL );
    363     $item79->AddWindow( $item80, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    364 
    365     my( $item81 ) = Wx::Button->new( $parent, $main::GS_CLOSE, "OK", wxDefaultPosition, wxDefaultSize, 0 );
    366     $item79->AddWindow( $item81, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    367 
    368     $item0->Add( $item79, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     272    $item42->AddWindow( $item45, 0, wxALL, 5 );
     273
     274    my( $item53 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     275    my( $oldparent ) = $parent;
     276    $parent = $item53->GetPane();
     277   
     278    my( $item54 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
     279   
     280    my( $item55 ) = Wx::StaticText->new( $parent, $main::HD_IMG_FILTER, "text", wxDefaultPosition, wxDefaultSize, 0 );
     281    $item54->AddWindow( $item55, 0, wxALL, 5 );
     282
     283    my( $item56 ) = Wx::Choice->new( $parent, $main::GS_HD_IMG_FILTER, wxDefaultPosition, [100,-1], [], 0 );
     284    $item54->AddWindow( $item56, 0, wxALL, 5 );
     285
     286    my( $item57 ) = Wx::StaticText->new( $parent, $main::HD_IMG_BLUR, "text", wxDefaultPosition, wxDefaultSize, 0 );
     287    $item54->AddWindow( $item57, 0, wxALL, 5 );
     288
     289    my( $item58 ) = Wx::TextCtrl->new( $parent, $main::GS_HD_IMG_BLUR, "", wxDefaultPosition, wxDefaultSize, 0 );
     290    $item54->AddWindow( $item58, 0, wxALL, 5 );
     291
     292    my( $item59 ) = Wx::StaticText->new( $parent, $main::HD_IMG_INTERLACE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     293    $item54->AddWindow( $item59, 0, wxALL, 5 );
     294
     295    my( $item60 ) = Wx::Choice->new( $parent, $main::GS_HD_IMG_INTERLACE, wxDefaultPosition, [100,-1], [], 0 );
     296    $item54->AddWindow( $item60, 0, wxALL, 5 );
     297
     298    $parent->SetSizer( $item54 );
     299    $parent = $oldparent;
     300   
     301    $item42->AddWindow( $item53, 0, wxALL, 5 );
     302
     303    $item0->Add( $item42, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     304
     305    my( $item62 ) = Wx::StaticBox->new( $parent, -1, "text" );
     306    my( $item61 ) = Wx::StaticBoxSizer->new( $item62, wxHORIZONTAL );
     307    $parent->{sb_watermark} = $item61;
     308   
     309    my( $item63 ) = Wx::BoxSizer->new( wxVERTICAL );
     310   
     311    my( $item64 ) = Wx::CheckBox->new( $parent, $main::GS_WMARK_ACTIVATE, "", wxDefaultPosition, wxDefaultSize, 0 );
     312    $item63->AddWindow( $item64, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     313
     314    my( $item65 ) = Wx::CheckBox->new( $parent, $main::GS_WMARK_ACTIVATE_HD, "", wxDefaultPosition, wxDefaultSize, 0 );
     315    $item63->AddWindow( $item65, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     316
     317    $item61->Add( $item63, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
     318
     319    my( $item66 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_WATERMARK, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     320    my( $oldparent ) = $parent;
     321    $parent = $item66->GetPane();
     322   
     323    my( $item67 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
     324   
     325    my( $item68 ) = Wx::StaticText->new( $parent, $main::WMARK_TEXT, "text", wxDefaultPosition, wxDefaultSize, 0 );
     326    $item67->AddWindow( $item68, 0, wxALL, 5 );
     327
     328    my( $item69 ) = Wx::TextCtrl->new( $parent, $main::GS_WMARK_TEXT, "", wxDefaultPosition, [200,-1], 0 );
     329    $item67->AddWindow( $item69, 0, wxALL, 5 );
     330
     331    my( $item70 ) = Wx::StaticText->new( $parent, $main::WMARK_TEXT_SIZE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     332    $item67->AddWindow( $item70, 0, wxALL, 5 );
     333
     334    my( $item71 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_TEXT_SIZE, "0", wxDefaultPosition, [50,-1], 0, 0, 100, 0 );
     335    $item67->AddWindow( $item71, 0, wxALL, 5 );
     336
     337    my( $item72 ) = Wx::StaticText->new( $parent, $main::WMARK_COLOR, "text", wxDefaultPosition, wxDefaultSize, 0 );
     338    $item67->AddWindow( $item72, 0, wxALL, 5 );
     339
     340    my( $item73 ) = Wx::Choice->new( $parent, $main::GS_WMARK_COLOR, wxDefaultPosition, [100,-1], [], 0 );
     341    $item67->AddWindow( $item73, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     342
     343    my( $item74 ) = Wx::StaticText->new( $parent, $main::WMARK_POSITION, "text", wxDefaultPosition, wxDefaultSize, 0 );
     344    $item67->AddWindow( $item74, 0, wxALL, 5 );
     345
     346    my( $item75 ) = Wx::Choice->new( $parent, $main::GS_WMARK_POSITION, wxDefaultPosition, [100,-1], [], 0 );
     347    $item67->AddWindow( $item75, 0, wxALL, 5 );
     348
     349    my( $item76 ) = Wx::StaticText->new( $parent, $main::WMARK_MARGIN_TOP, "text", wxDefaultPosition, wxDefaultSize, 0 );
     350    $item67->AddWindow( $item76, 0, wxALL, 5 );
     351
     352    my( $item77 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_MARGIN_TOP, "0", wxDefaultPosition, [100,-1], 0, 0, 100, 0 );
     353    $item67->AddWindow( $item77, 0, wxALL, 5 );
     354
     355    my( $item78 ) = Wx::StaticText->new( $parent, $main::WMARK_MARGIN_LEFT, "text", wxDefaultPosition, wxDefaultSize, 0 );
     356    $item67->AddWindow( $item78, 0, wxALL, 5 );
     357
     358    my( $item79 ) = Wx::SpinCtrl->new( $parent, $main::GS_WMARK_MARGIN_LEFT, "0", wxDefaultPosition, [100,-1], 0, 0, 100, 0 );
     359    $item67->AddWindow( $item79, 0, wxALL, 5 );
     360
     361    $parent->SetSizer( $item67 );
     362    $parent = $oldparent;
     363   
     364    $item61->AddWindow( $item66, 0, wxALL, 5 );
     365
     366    $item0->Add( $item61, 0, wxALIGN_CENTER_VERTICAL, 5 );
     367
     368    my( $item81 ) = Wx::StaticBox->new( $parent, -1, "Text" );
     369    my( $item80 ) = Wx::StaticBoxSizer->new( $item81, wxHORIZONTAL );
     370    $parent->{sb_transfert} = $item80;
     371   
     372    my( $item82 ) = Wx::CheckBox->new( $parent, $main::GS_REMOVE_UPLOADED_FROM_SELECTION, "", wxDefaultPosition, wxDefaultSize, 0 );
     373    $item80->AddWindow( $item82, 0, wxALIGN_CENTER|wxALL, 5 );
     374
     375    my( $item83 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_TRANSFERT_ADVANCED, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
     376    my( $oldparent ) = $parent;
     377    $parent = $item83->GetPane();
     378   
     379    my( $item84 ) = Wx::FlexGridSizer->new( 0, 2, 0, 0 );
     380   
     381    my( $item85 ) = Wx::StaticText->new( $parent, $main::CHUNK_SIZE, "text", wxDefaultPosition, wxDefaultSize, 0 );
     382    $item84->AddWindow( $item85, 0, wxALL, 5 );
     383
     384    my( $item86 ) = Wx::TextCtrl->new( $parent, $main::GS_CHUNK_SIZE, "", wxDefaultPosition, wxDefaultSize, 0 );
     385    $item84->AddWindow( $item86, 0, wxALL, 5 );
     386
     387    $parent->SetSizer( $item84 );
     388    $parent = $oldparent;
     389   
     390    $item80->AddWindow( $item83, 0, wxALL, 5 );
     391
     392    $item0->Add( $item80, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     393
     394    my( $item87 ) = Wx::BoxSizer->new( wxVERTICAL );
     395   
     396    my( $item88 ) = Wx::StaticLine->new( $parent, $main::ID_LINE, wxDefaultPosition, [20,-1], wxLI_HORIZONTAL );
     397    $item87->AddWindow( $item88, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     398
     399    my( $item89 ) = Wx::Button->new( $parent, $main::GS_CLOSE, "OK", wxDefaultPosition, wxDefaultSize, 0 );
     400    $item87->AddWindow( $item89, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
     401
     402    $item0->Add( $item87, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    369403
    370404    my( $set_size ) = @_ >= 3 ? $_[2] : 1;
  • extensions/pLoader/trunk/src/Uploader/GUI/wxApp.pm

    r4609 r4616  
    129129   
    130130    $self->version(
    131         '2.0.7a'
     131        '2.0.7b'
    132132    );
    133133   
  • extensions/pLoader/trunk/src/Uploader/GUI/wxFrameAUI.pm

    r4589 r4616  
    393393            $main::CPANE_HD_ADVANCED => { label => gettext("Advanced") },
    394394            $main::CPANE_TRANSFERT_ADVANCED => { label => gettext("Advanced") },
     395            sb_thumbnail => { staticbox_label => gettext("Thumbnail") },
    395396            sb_photo_properties => { staticbox_label => gettext("Photo properties") },
    396397            sb_web_sized_photo => { staticbox_label => gettext("Web sized") },
     
    421422            $main::DEFAULT_AUTHOR => { label => gettext("Default author")},
    422423            $main::GS_DEFAULT_AUTHOR => { value => sub { $self->imagelist->author(@_) } },
     424            $main::THUMBNAIL_SIZE => { label => gettext("Site thumbnail size") },
     425            $main::GS_THUMBNAIL_SIZE => {
     426                value => sub { $self->imagelist->thumb_size(@_) },
     427                validator => Wx::Perl::TextValidator->new( '\d' )
     428            },
     429            $main::THUMBNAIL_JPEG_QUALITY => { label => gettext("Site thumbnail jpeg quality") },
     430            $main::GS_THUMBNAIL_JPEG_QUALITY => {
     431                value => sub { $self->imagelist->th_quality(@_) },
     432                validator => Wx::Perl::TextValidator->new( '\d' )
     433            },
    423434            $main::GS_CREATE_RESIZED => {
    424435                selection => sub { $self->imagelist->create_resized(@_) },
  • extensions/pLoader/trunk/src/Uploader/GUI/wxGlobalSettings.pm

    r4589 r4616  
    6060    );
    6161
     62    $self->{cpane_thumbnail} = $self->FindWindow($main::CPANE_THUMBNAIL);
    6263    $self->{cpane_resize} = $self->FindWindow($main::CPANE_RESIZE);
    6364    $self->{cpane_resize_advanced} = $self->FindWindow($main::CPANE_RESIZE_ADVANCED);
     
    9091   
    9192    EVT_CLOSE( $self, \&OnClose );
     93    Wx::Event::EVT_COLLAPSIBLEPANE_CHANGED( $self, $self->{cpane_thumbnail}, \&OnPaneChanged );
    9294    Wx::Event::EVT_COLLAPSIBLEPANE_CHANGED( $self, $self->{cpane_resize}, \&OnPaneChanged );
    9395    Wx::Event::EVT_COLLAPSIBLEPANE_CHANGED( $self, $self->{cpane_resize_advanced}, \&OnPaneChanged );
Note: See TracChangeset for help on using the changeset viewer.