view release on metacpan or search on metacpan
lib/Catalyst/View/JSON.pm view on Meta::CPAN
section provides some notes on various libraries.
Dojo Toolkit: Setting dojo.io.bind's mimetype to 'text/json' in
the JavaScript request will instruct dojo.io.bind to expect JSON
data in the response body and auto-eval it. Dojo ignores the
server response Content-Type. This works transparently with
Catalyst::View::JSON.
Prototype.js: prototype.js will auto-eval JSON data that is
returned in the custom X-JSON header. The reason given for this is
to allow a separate HTML fragment in the response body, however
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/CRUD/YUI/TT/static/css/crud/base.css view on Meta::CPAN
/* cursor:pointer; */
}
#crud-links li a.selected {
color: #222;
background: transparent url(http://yui.yahooapis.com/2.6.0/build/assets/skins/sam/menuitem_submenuindicator.png) no-repeat scroll right center;
background-color: #fff;
font-weight:bold;
cursor: default;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Crudite/Util/Random.pm view on Meta::CPAN
nonterminal
nonterminals
nonterminating
nontermination
nonthermal
nontransparent
nontrivial
nonuniform
nonuniformity
nonzero
noodle
lib/CatalystX/Crudite/Util/Random.pm view on Meta::CPAN
transmogrification
transmogrify
transpacific
transparencies
transparency
transparent
transparently
transpire
transpired
transpires
transpiring
transplant
view all matches for this distribution
view release on metacpan or search on metacpan
root/static/js/yui/build/animation/animation-min.js view on Meta::CPAN
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
(function(){var B=YAHOO.util;var A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+": "+D);},patterns:{noNegatives:/width|height|o...
if(this.patterns.transparent.test(H)){var F=G.parentNode;H=C.Dom.getStyle(F,E);while(F&&this.patterns.transparent.test(H)){F=F.parentNode;H=C.Dom.getStyle(F,E);if(F.tagName.toUpperCase()=="HTML"){H="#fff";}}}}else{H=D.getAttribute.call(this,E);}retur...
/*
TERMS OF USE - EASING EQUATIONS
Open source under the BSD License.
Copyright 2001 Robert Penner All rights reserved.
view all matches for this distribution
view release on metacpan or search on metacpan
t/static/css/lists.css view on Meta::CPAN
}
.rowh {
background-color: #DDDDDD;
}
.rown {
/*background-color: transparent*/;
}
.select {
background-color: #d6dceb;
color: #333399;
font-size: 80%;
t/static/css/lists.css view on Meta::CPAN
input.textfield {
width: 100px;
}
select.select {
background-color: transparent;
font-weight: normal;
color: black;
font-family: Arial, Helvetica, sans-serif;
}
view all matches for this distribution
view release on metacpan or search on metacpan
misc/vim/syntax/catmandu-fix.vim view on Meta::CPAN
syntax keyword fixKeyword if else elsif unless bind do doset end and or
syntax keyword fixKeyword and or && ||
syntax match fix /[a-z][_0-9a-zA-Z]*\s*(/me=e-1,he=e-1
syntax region fixDoubleQuotedString start=/\v"/ skip=/\v\\./ end=/\v"/
syntax region fixSingleQuotedString start=/\v'/ skip=/\v\\./ end=/\v'/
syntax region fixIfBlock start="if" end="end" fold transparent
highlight default link fixComment Comment
highlight default link fixKeyword Keyword
highlight default link fix Function
highlight link fixDoubleQuotedString String
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CfgTie/TieUser.pm view on Meta::CPAN
C<$CfgTie::TieUser_rec'userdel> contains the path to the program F<userdel>.
This can be modified as required.
Not all keys are supported on all systems.
This may transparently use a shadow tie in the future.
=head2 When the changes are reflected to /etc/passwd
=head1 Files
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chandra/Game/Tetris/Engine.pm view on Meta::CPAN
.tetris-cell {
width: calc(var(--cell) * 0.8);
height: calc(var(--cell) * 0.8);
padding: 0;
border: 1px solid transparent;
}
.tetris-cell.filled {
border-color: rgba(0,0,0,0.3);
}
.tetris-cell.empty {
background: transparent;
}
.tetris-cell > div {
width: 100%;
height: 100%;
view all matches for this distribution
view release on metacpan or search on metacpan
examples/assets_mount_example.pl view on Meta::CPAN
# Example: Serving assets via protocol mount
#
# Demonstrates mounting an assets directory so that CSS, JS, and images
# are served via a custom protocol (e.g. app://css/style.css).
# The mount() call registers a protocol handler, and the injected JS
# transparently intercepts <link>, <script>, <img>, and fetch() calls.
#
use strict;
use warnings;
use FindBin;
examples/assets_mount_example.pl view on Meta::CPAN
);
# ---- Mount assets ----
# This registers a custom protocol handler so the webview can load
# files from $asset_dir using the "app" scheme: app://css/style.css
# The injected JS transparently intercepts <link>, <script>, <img>,
# fetch(), and <a> clicks for the "app://" scheme.
my $assets = $app->assets($asset_dir, prefix => 'app');
$assets->mount($app);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/GGPlot/Backend/Plotly.pm view on Meta::CPAN
my $el_panel_border = $theme->at('panel_border');
unless ( not defined $el_panel_border or $el_panel_border->is_blank ) {
$plotly_layout{shapes} = [
{
type => 'rect',
fillcolor => 'transparent',
line => {
color => to_rgb( $el_panel_border->at('color') ),
width => 1,
linetype => 'solid',
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/Gnuplot/Util.pm view on Meta::CPAN
if (ref($fill) eq 'HASH')
{
my $style = "";
if (defined $$fill{pattern})
{
$style .= " transparent" if (defined $$fill{alpha} &&
$$fill{alpha} == 0);
$style .= " pattern $$fill{pattern}";
}
else
{
if (defined $$fill{alpha})
{
$style .= " transparent solid $$fill{alpha}";
}
elsif (defined $$fill{density})
{
$style .= " solid $$fill{density}";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/OFC.pm view on Meta::CPAN
module's docs for more details.
=head2 Opacity
Several classes accept an opacity value for an attribute. This should
be a value from 0 (completely transparent) to 100 (completely opaque).
=head1 ATTRIBUTES
This class has a number of attributes which may be passed to the
C<new()> method.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/Plot/Canvas.pm view on Meta::CPAN
$self->{'_black'} = $self->{'_im'}->colorAllocate(0,0,0);
$self->{'_red'} = $self->{'_im'}->colorAllocate(255,0,0);
$self->{'_blue'} = $self->{'_im'}->colorAllocate(0,0,255);
$self->{'_green'} = $self->{'_im'}->colorAllocate(0,255,0);
# make the background transparent and interlaced
$self->{'_im'}->transparent($self->{'_white'});
$self->{'_im'}->interlaced('true');
# Put a black frame around the picture
$self->{'_im'}->rectangle( 0, 0,
$self->{'_imx'}-1, $self->{'_imy'}-1,
view all matches for this distribution
view release on metacpan or search on metacpan
$self->{'_black'} = $self->{'_im'}->colorAllocate(0,0,0);
$self->{'_red'} = $self->{'_im'}->colorAllocate(255,0,0);
$self->{'_blue'} = $self->{'_im'}->colorAllocate(0,0,255);
$self->{'_green'} = $self->{'_im'}->colorAllocate(0,255,0);
# make the background transparent and interlaced
$self->{'_im'}->transparent($self->{'_white'});
$self->{'_im'}->interlaced('true');
# Put a black frame around the picture
$self->{'_im'}->rectangle( 0, 0,
$self->{'_imx'}-1, $self->{'_imy'}-1,
my $img = Chart::Plot->new;
my $img = Chart::Plot->new ( $image_width, $image_height );
my $anotherImg = new Chart::Plot;
Create a new empty image with the new() method. It will be transparent
and interlaced if your version of GD supports gif format. png does
not yet support either. If image size is not specified, the default is 400
x 300 pixels, or you can specify a different image size. You can also
create more than one image in the same script.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/Plotly/Trace/Bar/Marker/Pattern.pm view on Meta::CPAN
has bgcolor => (
is => "rw",
isa => "Str|ArrayRef[Str]",
documentation =>
"When there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is *overlay*. Otherwise, defaults to a transparent background.",
);
has bgcolorsrc => ( is => "rw",
isa => "Str",
documentation => "Sets the source reference on Chart Studio Cloud for `bgcolor`.",
lib/Chart/Plotly/Trace/Bar/Marker/Pattern.pm view on Meta::CPAN
=over
=item * bgcolor
When there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is *overlay*. Otherwise, defaults to a transparent background.
=item * bgcolorsrc
Sets the source reference on Chart Studio Cloud for `bgcolor`.
view all matches for this distribution
view release on metacpan or search on metacpan
=item C<draw_data_labels>
Should each data set be labeled?
=item C<transparent>
Should the background be transparent?
=item C<grid_on_top>
Should the grid be drawn over the data (1) or below the data (0)?
margin_bottom => 8,
margin_right => 8,
margin_top => 8,
n_y_tics => 4, # aprox.
transparent => 1,
grid_on_top => 1,
draw_grid => 1,
draw_border => 1,
draw_tic_labels => 1,
draw_data_labels => 1,
# style for grid lines
$im->setStyle(gdTransparent, $me->{color}{gray}, gdTransparent, gdTransparent);
$im->interlaced('true');
$im->transparent($me->{color}{white})
if $me->{transparent};
$im->filledRectangle( 0, 0, $me->{width}-1, $me->{height}-1, ($bkg || $me->{color}{white}));
my $bc = $me->{border_color} ? $me->img_color($me->{border_color}) : $me->{color}{black};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/ThreeD/Pie.pm view on Meta::CPAN
$self->{title} = shift || '';
$self->{data} = [];
$self->{bgcolor} = '#FFFFFF';
$self->{fgcolor} = '#000000';
$self->{limit} = [ 7, '#FF0000', 'others' ];
$self->{transparent} = 0;
$self->{interlaced} = 0;
$self->{thickness} = 30; # pixels
$self->{radius} = $self->{xmax} / 3;
$self->{want_sort} = 0;
$self->{border} = 0;
lib/Chart/ThreeD/Pie.pm view on Meta::CPAN
my $arg = shift;
$self->{want_sort} = $arg if defined $arg;
return $self->{want_sort};
}
=item C<transparent>
C<Chart::ThreeD::Pie::transparent(bool)> I<object method>
This will allow you to make the background of the final picture transparent
if bool is non-null. The current value is returned. Default is null;
Example:
# Background will be transparent.
$pie->transparent(1);
=cut
sub transparent {
my $self = shift;
my $arg = shift;
$self->{transparent} = $arg if defined $arg;
return $self->{transparent};
}
=item C<interlaced>
C<Chart::ThreeD::Pie::interlaced(bool)> I<object method>
lib/Chart/ThreeD/Pie.pm view on Meta::CPAN
my $fontw = gdSmallFont->width;
my $fonth = gdSmallFont->height;
my $bgcolor = $pie->colorAllocate (&cvtcolor ($self->bgcolor));
$pie->transparent ($bgcolor) if $self->transparent;
$pie->fill (0, 0, $bgcolor);
my $total = 0;
map { $total += $$_[0] } @{$self->{data}};
my $fgcolor = $pie->colorAllocate (&cvtcolor ($self->fgcolor));
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chart/Base.pm view on Meta::CPAN
$self->{'spaced_bars'} = 'true';
# use the new grey background for the plots
$self->{'grey_background'} = 'true';
# don't default to transparent
$self->{'transparent'} = 'false';
# default to "normal" x_tick drawing
$self->{'x_ticks'} = 'normal';
# we're not a component until Chart::Composite says we are
lib/Chart/Base.pm view on Meta::CPAN
# @return status
sub _set_colors {
my $self = shift;
my $index = $self->_color_role_to_index('background'); # allocate GD color
if ( $self->true( $self->{'transparent'} ) )
{
$self->{'gd_obj'}->transparent($index);
}
# all other roles are initialized by calling $self->_color_role_to_index(ROLENAME);
# and return
lib/Chart/Base.pm view on Meta::CPAN
}
# create the new image
$brush = GD::Image->new( $radius * 2, $radius * 2 );
# get the colors, make the background transparent
$white = $brush->colorAllocate( 255, 255, 255 );
$newcolor = $brush->colorAllocate(@rgb);
$brush->transparent($white);
# draw the circle
if ( $type eq 'line' ) {
$brush->arc( $radius - 1, $radius - 1, $radius, $radius, 0, 360, $newcolor );
$brush->fill( $radius - 1, $radius - 1, $newcolor );
lib/Chart/Base.pm view on Meta::CPAN
if ( grep { $brushStyle eq $_ } ( 'default', 'circle', 'donut', 'OpenCircle', 'FilledCircle' ) ) {
$brush->arc( $xc, $yc, $radius, $radius, 0, 360, $newcolor );
$brush->fill( $xc, $yc, $newcolor );
# draw a white (and therefore transparent) circle in the middle
# of the existing circle to make the "donut", if appropriate
if ( $brushStyle eq 'donut' || $brushStyle eq 'OpenCircle' )
{
$brush->arc( $xc, $yc, int( $radius / 2 ), int( $radius / 2 ), 0, 360, $white );
view all matches for this distribution
view release on metacpan or search on metacpan
public/themes/dark/dark.css view on Meta::CPAN
line-height: 22px;
margin: 0;
padding: 3px 0 3px 8px;
}
#drupalchat .subpanel li a:hover {
background: transparent;
text-decoration: none;
}
#drupalchat .subpanel li.status-1 a {
background: url(images/online.png) no-repeat 95% center;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chemistry/File.pm view on Meta::CPAN
assumed to be compressed; otherwise it is possible to force decompression by
passing the gzip => 1 option (or no decompression with gzip => 0).
=cut
# slurp a file into a scalar, with transparent decompression
sub slurp {
my ($self) = @_;
my $fh = $self->fh;
local $/;
lib/Chemistry/File.pm view on Meta::CPAN
=over
=item $self->open($mode)
Opens the file (held in $self->file) for reading by default, or for writing if
$mode eq '>'. This method sets $self->fh transparently regardless of whether
$self->file is a filename (compressed or not), a scalar reference, or a
filehandle.
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cisco/UCS.pm view on Meta::CPAN
Creates a connection to the XML API interface of a USCM management instance.
If sucessful, the attributes of the UCSM management instance are inherited by
the object. Most important of these parameters is 'cookie' representing the
authetication token that uniquely identifies the connection and which is
subsequently passed transparently on all further communications.
The default time-out value for a token is 10 minutes, therefore if you intend
to create a long-running session you should periodically call refresh.
=head3 refresh ()
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Clarion.pm view on Meta::CPAN
=head1 DESCRIPTION
This is a perl module to access CLARION 2.1 files.
At the moment only read access to the files is implemented.
"Encrypted" (owned) files are processed transparently,
there is no need to specify the password of a file.
=head1 SYNOPSIS
use Clarion;
lib/Clarion.pm view on Meta::CPAN
=item $h=new Clarion ["file.dat" [, 1]]
Create object for reading Clarion file. If file name is specified then
associate the DAT file with the object. "Encrypted" files are processed
transparently, you do not need to specify the password of a file.
If the third argument (skipMemo) specified, memo field will not be
processed at all.
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/AutoDB.pm view on Meta::CPAN
=head1 DESCRIPTION
This class works closely with L<Class::AutoClass> to provide almost
transparent object persistence that can coexist with a
human-engineered database. The auto-persistence mechanism provides
hooks for connecting the two parts of the database together.
B<Caveat>: The current version only works with MySQL.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Container.pm view on Meta::CPAN
}
use Carp;
# The create_contained_objects() method lets one object
# (e.g. Compiler) transparently create another (e.g. Lexer) by passing
# creator parameters through to the created object.
#
# Any auto-created objects should be declared in a class's
# %CONTAINED_OBJECTS hash. The keys of this hash are objects which
# can be created and the values are the default classes to use.
lib/Class/Container.pm view on Meta::CPAN
__END__
=head1 NAME
Class::Container - Glues object frameworks together transparently
=head1 VERSION
version 0.13
lib/Class/Container.pm view on Meta::CPAN
=head1 DESCRIPTION
This class facilitates building frameworks of several classes that
inter-operate. It was first designed and built for C<HTML::Mason>, in
which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer,
and several other objects must create each other transparently,
passing the appropriate parameters to the right class, possibly
substituting other subclasses for any of these objects.
The main features of C<Class::Container> are:
lib/Class/Container.pm view on Meta::CPAN
that needs them
=item *
Ability to create one (automatic) or many (manual) contained
objects automatically and transparently
=back
=head2 Scenario
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/DBI/Cacheable.pm view on Meta::CPAN
use base 'Class::DBI::Cacheable';
__PACKAGE__->set_db( Main => 'dbi:Pg:dbname=database', 'username', 'password' );
=head1 DESCRIPTION
Class::DBI::Cacheable transparently acts as a cacheing wrapper around L<Class::DBI>, storing
retrieved and created data in a local object cache, and returning data out of the cache
wherever possible.
Intended for better performance of L<Class::DBI>-based applications, this can prevent unnecessary
database queries by using previously-retrieved object data rather than having to go to the
view all matches for this distribution
view release on metacpan or search on metacpan
to do list for Perl extension Class::DBI::Factory.
* Handler base class that works transparently with mod_perls 1 and 2
* Authentication base class
* Independence from libapreq
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/DBI/FormBuilder.pm view on Meta::CPAN
'LIKE', 'NOT LIKE', 'REGEXP', 'NOT REGEXP',
'REGEXP BINARY', 'NOT REGEXP BINARY',
) ]
Or, transparently set the search operator in a hidden field:
search_opt_cmp => 'LIKE'
=item search_opt_order_by
view all matches for this distribution
view release on metacpan or search on metacpan
Class-DBI-Relationship-IsA version 0.05
=======================================
Class::DBI::Relationship::IsA Provides an Is A relationship between Class::DBI classes.
This should DTRT when you specify an IsA relationship between classes transparently.
For more information See Class::DBI and Class::DBI::Relationship.
This module is currently a proof of concept and may not work as intended, we would warn you
to treat it as experimental.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/DBI.pm view on Meta::CPAN
single object you'd need. So, might_have() does this work for you. It
creates an accessor to fetch the single object back if it exists, and
it also allows you import any of its methods into your namespace. So,
in the example above, the LinerNotes class can be mostly invisible -
you can just call $cd->notes and it will call the notes method on the
correct LinerNotes object transparently for you.
Making sure you don't have namespace clashes is up to you, as is correctly
creating the objects, but this may be made simpler in later versions.
(Particularly if someone asks for this!)
view all matches for this distribution
view release on metacpan or search on metacpan
Delegate.pm view on Meta::CPAN
$self->do_something_that_b_knows_how_to_do();
$self->do_something_that_a_knows_how_to_do();
=head1 DESCRIPTION
This class provides transparent support for object delegation. For more
information on delegation, see B<Design Patterns> by Erich Gamma, et al.
=cut
use strict;
view all matches for this distribution