メンソーレタム
http://w.atwiki.jp/tmtbnc/
メンソーレタムja2012-08-30T13:59:22+09:001346302762mp4box
https://w.atwiki.jp/tmtbnc/pages/60.html
#contents()
**mp4box -h
MP4Box [option] input [option]
-h general general options help
-h hint hinting options help
-h import import options help
-h encode encode options help
-h meta meta handling options help
-h extract extraction options help
-h dump dump options help
-h swf Flash (SWF) options help
-h crypt ISMA E&A options help
-h format supported formats help
-h rtp streamer help
-nodes lists supported MPEG4 nodes
-node NodeName gets MPEG4 node syntax and QP info
-xnodes lists supported X3D nodes
-xnode NodeName gets X3D node syntax
-snodes lists supported SVG nodes
-snode NodeName gets SVG node syntax
-languages lists supported ISO 639 languages
-quiet quiet mode
-noprog disables progress
-v verbose mode
-version gets build version
**General Options
-inter time_in_ms interleaves file data (track chunks of time_in_ms)
* Note 1: Interleaving is 0.5s by default
* Note 2: Performs drift checking accross tracks
* Note 3: a value of 0 disables interleaving
-old-inter time same as -inter but doesn't perform drift checking
-tight performs tight interleaving (sample based) of the file
* Note: reduces disk seek but increases file size
-flat stores file with all media data first, non-interleaved
-frag time_in_ms fragments file (track fragments of time_in_ms)
* Note: Always disables interleaving
-ffspace size inserts free space before moof in fragmented files
-out filename specifies output file name
* Note: By default input (MP4,3GP) file is overwritten
-tmp dirname specifies directory for temporary file creation
* Note: Default temp dir is OS-dependent
-no-sys removes all MPEG-4 Systems info except IOD (profiles)
* Note: Set by default whith '-add' and '-cat'
-no-iod removes InitialObjectDescriptor from file
-isma rewrites the file as an ISMA 1.0 AV file
-ismax same as '-isma' and removes all clock references
-3gp rewrites as 3GPP(2) file (no more MPEG-4 Systems Info)
* Note 1: some tracks may be removed in the process
* Note 2: always on for *.3gp *.3g2 *.3gpp
-ipod rewrites the file for iPod
-psp rewrites the file for PSP devices
-brand ABCD[:v] sets major brand of file, with optional version
-ab ABCD adds given brand to file's alternate brand list
-rb ABCD removes given brand from file's alternate brand list
-cprt string adds copyright string to movie
-chap file adds chapter information contained in file
-rem trackID removes track from file
-enable trackID enables track
-disable trackID disables track
-new forces creation of a new destination file
-rem trackID removes track from file
-lang [tkID=]LAN sets track language. LAN is the ISO 639-2 code (eng, und)
-delay tkID=TIME sets track start delay in ms.
-par tkID=PAR sets visual track pixel aspect ratio (PAR=N:D or "none")
-name tkID=NAME sets track handler name
* NAME can indicate a UTF-8 file ("file://file name"
-itags tag1[:tag2] sets iTunes tags to file - more info: MP4Box -tag-list.
-split time_sec splits in files of time_sec max duration
* Note: this removes all MPEG-4 Systems media
-split-size size splits in files of max filesize kB.
* Note: this removes all MPEG-4 Systems media
-split-chunk S:E extracts a new file from Start to End (in seconds)
* Note: this removes all MPEG-4 Systems media
-group-add fmt creates a new grouping information in the file. Format is
a colon-separated list of following options:
refTrack=ID: ID of the track used as a group reference.
If not set, the track will belong to the same group as th
e previous trackID specified.
If 0 or no previous track specified, a new alternate grou
p will be created
switchID=ID: ID of the switch group to create.
If 0, a new ID will be computed for you
If <0, disables SwitchGroup
criteria=string: list of space-separated 4CCs.
trackID=ID: ID of the track to add to this group.
*WARNING* Options modify state as they are parsed:
trackID=1:criteria=lang:trackID=2
is different from:
criteria=lang:trackID=1:trackID=2
-group-rem-track ID removes track from its group
-group-rem ID removes the track's group
-group-clean removes all group information from all tracks
-ref id:XXXX:refID adds a reference of type 4CC from track ID to track refID
-dash dur enables DASH-ing of the file with a segment duration of DU
R
Note: the duration of a fragment (subsegment) is set
using the interleaver (-inter) s
witch.
Note: You can specify -rap switch to split segments at RA
P boundaries
-frags-per-sidx N sets the number of segments to be written in each SIDX box
If 0, SIDX box is not used
-segment-name name sets the segment name for generated segments
If not set (default), segments are concatenated in output
file
-segment-ext name sets the segment extension. Default is m4s
-url-template uses UrlTemplate instead of explicit sources in segments.
Ignored if segments are stored in the output file.
**Hinting Options
Hinting Options
-hint hints the file for RTP/RTSP
-mtu size specifies RTP MTU (max size) in bytes. Default size is 145
0
* Note: this includes the RTP header (12 bytes)
-copy copies media data to hint track rather than reference
* Note: speeds up server but takes much more space
-multi [maxptime] enables frame concatenation in RTP packets if possible
maxptime max packet duration in ms (optional, default 100ms)
-rate ck_rate specifies rtp rate in Hz when no default for payload
* Note: default value is 90000 (MPEG rtp rates)
-mpeg4 forces MPEG-4 generic payload whenever possible
-latm forces MPG4-LATM transport for AAC streams
-static enables static RTP payload IDs whenever possible
* By default, dynamic payloads are always used
MPEG-4 Generic Payload Options
-ocr forces all streams to be synchronized
* Most RTSP servers only support synchronized streams
-rap signals random access points in RTP packets
-ts signals AU Time Stamps in RTP packets
-size signals AU size in RTP packets
-idx signals AU sequence numbers in RTP packets
-iod prevents systems tracks embedding in IOD
* Note: shouldn't be used with -isma option
-add-sdp string adds sdp string to (hint) track ("-add-sdp tkID:string")
or movie. This will take care of SDP lines ordering
-unhint removes all hinting information.
**Importing Options
Importing Options
File importing syntax:
"#video" "#audio" base import for most AV files
"#trackID=ID" track import for IsoMedia and other files
"#pid=ID" stream import from MPEG-2 TS
":dur=D" imports only the first D seconds
":lang=LAN" sets imported media language code
":delay=delay_ms" sets imported media initial delay in ms
":par=PAR" sets visual pixel aspect ratio (PAR=Num:Den)
":name=NAME" sets track handler name
":ext=EXT" overrides file extension when importing
":hdlr=code" sets track handler type to the given code point (4CC)
":disable" imported track(s) will be disabled
":group=G" adds the track as part of the G alternate group.
If G is 0, the first available GroupID will be picked.
":fps=VAL" same as -fps option
":agg=VAL" same as -agg option
":par=VAL" same as -par option
":dref" same as -dref option
":nodrop" same as -nodrop option
":packed" same as -packed option
":sbr" same as -sbr option
":sbrx" same as -sbrx option
":ps": same as -ps option
":psx": same as -psx option
":ovsbr": same as -ovsbr option
":mpeg4" same as -mpeg4 option
":font=name" specifies font name for text import (default "Serif")
":size=s" specifies font size for text import (default 18)
":stype=4CC" forces the sample description type to a different value
!! THIS MAY BREAK THE FILE WRITING !!
":chap" specifies the track is a chapter track
":profile" forces the profile for the H.264 content
- high444, high, extended, main, baseline
*WARNING* wrong value may cause playback issue
":compat" forces the profile compatibity flags for the H.264 content
*WARNING* wrong value may cause playback issue
":level" forces the level for the H.264 content
*Note: If value < 6, interpreted as decimal expression
":vidformat" forces the video_format flag in VUI for the H.264 content
- component, pal, ntsc, secam, mac, undef
":fullrange" forces the video_full_range_flag in VUI for the H.264 cont
ent
- on, off
":colorprim" forces the colour_primaries flag in VUI for the H.264 cont
ent
- bt709, undef, bt470m, bt470bg, smpte170m, smpte240m,
film
":transfer" forces the transfer_characteristics flag in VUI for the H.
264 content
- bt709, undef, bt470m, bt470bg, smpte170m, smpte240m,
linear
log100, log316
":colmatrix" forces the matrix_coefficients flag in VUI for the H.264 c
ontent
- GBR, bt709, undef, fcc, bt470bg, smpte170m, smpte240m
, YCgCo
":layout=WxHxXxY" specifies the track layout
- if W (resp H) = 0, the max width (resp height) of
the tracks in the file are used.
- if Y=-1, the layout is moved to the bottom of the
track area
- X and Y can be omitted (:layout=WxH)
-add file add file tracks to (new) output file
-cat file concatenates file samples to (new) output file
* Note: creates tracks if needed
-force-cat skips media configuration check when concatenating file
!!! THIS MAY BREAK THE CONCATENATED TRACK(S) !!!
-keep-sys keeps all MPEG-4 Systems info when using '-add' / 'cat'
-keep-all keeps all existing tracks when using '-add'
* Note: only used when adding IsoMedia files
All the following options can be specified as default or for each track.
When specified by track the syntax is ":opt" or ":opt=val".
-dref keeps media data in original file
-no-drop forces constant FPS when importing AVI video
-packed forces packed bitstream when importing raw ASP
-sbr backward compatible signaling of AAC-SBR
-sbrx non-backward compatible signaling of AAC-SBR
-ps: backward compatible signaling of AAC-PS
-psx: non-backward compatible signaling of AAC-PS
-ovsbr: oversample SBR
* Note: SBR AAC, PS AAC and oversampled SBR cannot be d
etected at import time
-fps FPS forces frame rate for video and SUB subtitles import
FPS is either a number or expressed as timescale-increm
ent
* For raw H263 import, default FPS is 15
* For all other imports, default FPS is 25
!! THIS IS IGNORED FOR IsoMedia IMPORT !!
-mpeg4 forces MPEG-4 sample descriptions when possible (3GPP2)
For AAC, forces MPEG-4 AAC signaling even if MPEG-2
-agg N aggregates N audio frames in 1 sample (3GP media only)
* Note: Maximum value is 15 - Disabled by default
**MPEG-4 Scene Encoding Options
MPEG-4 Scene Encoding Options
-mp4 specify input file is for encoding.
-def encode DEF names
-sync time_in_ms forces BIFS sync sample generation every time_in_ms
* Note: cannot be used with -shadow
-shadow time_ms forces BIFS sync shadow sample generation every time_ms.
* Note: cannot be used with -sync
-log generates scene codec log file if available
-ms file specifies file for track importing
Chunk Processing
-ctx-in file specifies initial context (MP4/BT/XMT)
* Note: input file must be a commands-only file
-ctx-out file specifies storage of updated context (MP4/BT/XMT)
LASeR Encoding options
-resolution res resolution factor (-8 to 7, default 0)
all coords are multiplied by 2^res before truncation
-coord-bits bits bits used for encoding truncated coordinates
(0 to 31, default 12)
-scale-bits bits extra bits used for encoding truncated scales
(0 to 4, default 0)
-auto-quant res resolution is given as if using -resolution
but coord-bits and scale-bits are infered
**Meta handling Options
Meta handling Options
-set-meta args sets given meta type - syntax: "ABCD[:tk=ID]"
* ABCD: four char meta type (NULL or 0 to remove meta)
* [:tk=ID]: if not set use root (file) meta
if ID is 0 use moov meta
if ID is not 0 use track meta
-add-item args adds resource to meta
* syntax: file_path + options (':' separated):
tk=ID: meta adressing (file, moov, track)
name=str: item name
mime=mtype: item mime type
encoding=enctype: item content-encoding type
* file_path "this" or "self": item is the file itself
-rem-item args removes resource from meta - syntax: item_ID[:tk=ID]
-set-primary args sets item as primary for meta - syntax: item_ID[:tk=ID]
-set-xml args sets meta XML data
* syntax: xml_file_path[:tk=ID][:binary]
-rem-xml [tk=ID] removes meta XML data
-dump-xml args dumps meta XML to file - syntax file_path[:tk=ID]
-dump-item args dumps item to file - syntax item_ID[:tk=ID][:path=fileName
]
-package packages input XML file into an ISO container
* all media referenced except hyperlinks are added to fil
e
**Extracting Options
Extracting Options
-raw TrackID extracts track in raw format when supported
-raws TrackID extract each track sample to a file
* Note: "TrackID:N" extracts Nth sample
-nhnt TrackID extracts track in nhnt format
-nhml TrackID extracts track in nhml format (XML nhnt).
* Note: "-nhml +TrackID" for full dump
-single TrackID extracts track to a new mp4 file
-avi TrackID extracts visual track to an avi file
-qcp TrackID same as '-raw' but defaults to QCP file for EVRC/SMV
-aviraw TK extracts AVI track in raw format
$TK can be one of "video" "audio" "audioN"
-saf remux file to SAF multiplex
-dvbhdemux demux DVB-H file into IP Datagrams
* Note: can be used when encoding scene descriptions
-diod extracts file IOD in raw format when supported
**Dumping Options
Dumping Options
-std dumps to stdout instead of file
-info [trackID] prints movie info / track info if trackID specified
* Note: for non IsoMedia files, gets import options
-bt scene to bt format - removes unknown MPEG4 nodes
-xmt scene to XMT-A format - removes unknown MPEG4 nodes
-wrl scene VRML format - removes unknown VRML nodes
-x3d scene to X3D/XML format - removes unknown X3D nodes
-x3dv scene to X3D/VRML format - removes unknown X3D nodes
-lsr scene to LASeR format
-diso scene IsoMedia file boxes in XML output
-drtp rtp hint samples structure to XML output
-dts prints sample timing to text output
-sdp dumps SDP description of hinted file
-dcr ISMACryp samples structure to XML output
-dump-cover Extracts cover art
-dump-chap Extracts chapter file
-ttxt Converts input subtitle to GPAC TTXT format
-ttxt TrackID Dumps Text track to GPAC TTXT format
-srt Converts input subtitle to SRT format
-srt TrackID Dumps Text track to SRT format
-stat generates node/field statistics for scene
-stats generates node/field statistics per MPEG-4 Access Unit
-statx generates node/field statistics for scene after each AU
-hash generates SHA-1 Hash of the input file
**SWF Importer Options
SWF Importer Options
MP4Box can import simple Macromedia Flash files (".SWF")
You can specify a SWF input file with '-bt', 'xmt' and '-mp4' options
-global all SWF defines are placed in first scene replace
* Note: By default SWF defines are sent when needed
-no-ctrl uses a single stream for movie control and dictionary
* Note: this will disable ActionScript
-no-text removes all SWF text
-no-font removes all embedded SWF Fonts (terminal fonts used)
-no-line removes all lines from SWF shapes
-no-grad removes all gradients from swf shapes
-quad uses quadratic bezier curves instead of cubic ones
-xlp support for lines transparency and scalability
-flatten ang complementary angle below which 2 lines are merged
* Note: angle '0' means no flattening
**ISMA Encryption/Decryption Options
ISMA Encryption/Decryption Options
-crypt drm_file crypts a specific track using ISMA AES CTR 128
-decrypt [drm_file] decrypts a specific track using ISMA AES CTR 128
* Note: drm_file can be omitted if keys are in file
-set-kms kms_uri changes KMS location for all tracks or a given one.
* to adress a track, use 'tkID=kms_uri'
DRM file syntax for GPAC ISMACryp:
File is XML and shall start with xml header
File root is an "ISMACryp" element
File is a list of "ISMACrypTrack" elements
ISMACrypTrack attributes are
TrackID ID of track to en/decrypt
key AES-128 key formatted (hex string '0x'+32 chars)
salt CTR IV salt key (64 bits) (hex string '0x'+16 chars)
Encryption only attributes:
Scheme_URI URI of scheme used
KMS_URI URI of key management system
* Note: 'self' writes key and salt in the file
selectiveType selective encryption type - understood values are:
"None" all samples encrypted (default)
"RAP" only encrypts random access units
"Non-RAP" only encrypts non-random access units
"Rand" random selection is performed
"X" Encrypts every first sample out of X (uint)
"RandX" Encrypts one random sample out of X (uint)
ipmpType IPMP Signaling Type: None, IPMP, IPMPX
ipmpDescriptorID IPMP_Descriptor ID to use if IPMP(X) is used
* If not set MP4Box will generate one for you
**Suppported raw formats and file extensions
Suppported raw formats and file extensions:
NHNT .media .nhnt .info
NHML .nhml (opt: .media .info)
MPEG-1-2 Video .m1v .m2v
MPEG-4 Video .cmp .m4v
H263 Video .263 .h263
AVC/H264 Video .h264 .h26L .264 .26L
JPEG Images .jpg .jpeg
PNG Images .png
MPEG 1-2 Audio .mp3, .m1a, .m2a
ADTS-AAC Audio .aac
AMR(WB) Audio .amr .awb
EVRC Audio .evc
SMV Audio .smv
Supported containers and file extensions:
AVI .avi
MPEG-2 PS .mpg .mpeg .vob .vcd .svcd
MPEG-2 TS .ts .m2t
QCP .qcp
OGG .ogg
ISO-Media files no extension checking
Supported text formats:
SRT Subtitles .srt
SUB Subtitles .sub
GPAC Timed Text .ttxt
QuickTime TeXML Text .xml (cf QT documentation)
Supported Scene formats:
MPEG-4 XMT-A .xmt .xmta .xmt.gz .xmta.gz
MPEG-4 BT .bt .bt.gz
VRML .wrl .wrl.gz
X3D-XML .x3d .x3d.gz
X3D-VRML .x3dv .x3dv.gz
MacroMedia Flash .swf (very limitted import support only)
**File Streamer Options
File Streamer Options
MP4Box can stream ISO files to RTP. The streamer currently doesn't support
data carrouselling and will therefore not handle BIFS and OD streams properly.
-rtp enables streamer
-noloop disables looping when streaming
-mpeg4 forces MPEG-4 ES Generic for all RTP streams
-dst=IP IP destination (uni/multi-cast). Default: 127.0.0.1
-port=PORT output port of the first stream. Default: 7000
-mtu=MTU path MTU for RTP packets. Default is 1450 bytes
-ifce=IFCE IP address of the physical interface to use. Default: NULL (ANY)
-ttl=TTL time to live for multicast packets. Default: 1
-sdp=Name file name of the generated SDP. Default: "session.sdp"
2012-08-30T13:59:22+09:001346302762Bootstrap/Forms
https://w.atwiki.jp/tmtbnc/pages/59.html
#contents()
**Default styles
#ref(default_form.jpg)
#highlight(html){{
<div class="span12">
<form>
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label for="xlInput">X-Large input</label>
<div class="input">
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="normalSelect">Select</label>
<div class="input">
<select name="normalSelect" id="normalSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="mediumSelect">Select</label>
<div class="input">
<select class="medium" name="mediumSelect" id="mediumSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="multiSelect">Multiple select</label>
<div class="input">
<select class="medium" multiple="multiple" name="multiSelect" id="multiSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label>Uneditable input</label>
<div class="input">
<span class="uneditable-input">Some value here</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="disabledInput">Disabled input</label>
<div class="input">
<input class="xlarge disabled" id="disabledInput" name="disabledInput" size="30" type="text" placeholder="Disabled input here… carry on." disabled />
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="disabledInput">Disabled textarea</label>
<div class="input">
<textarea class="xxlarge" name="textarea" id="textarea" rows="3" disabled></textarea>
</div>
</div><!-- /clearfix -->
<div class="clearfix error">
<label for="xlInput2">X-Large input</label>
<div class="input">
<input class="xlarge error" id="xlInput2" name="xlInput2" size="30" type="text" />
<span class="help-inline">Small snippet of help text</span>
</div>
</div><!-- /clearfix -->
</fieldset>
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label for="prependedInput">Prepended text</label>
<div class="input">
<div class="input-prepend">
<span class="add-on">@</span>
<input class="medium" id="prependedInput" name="prependedInput" size="16" type="text" />
</div>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="prependedInput2">Prepended checkbox</label>
<div class="input">
<div class="input-prepend">
<label class="add-on"><input type="checkbox" name="" id="" value="" /></label>
<input class="mini" id="prependedInput2" name="prependedInput2" size="16" type="text" />
</div>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="appendedInput">Appended checkbox</label>
<div class="input">
<div class="input-append">
<input class="mini" id="appendedInput" name="appendedInput" size="16" type="text" />
<label class="add-on active"><input type="checkbox" name="" id="" value="" checked="checked" /></label>
</div>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="fileInput">File input</label>
<div class="input">
<input class="input-file" id="fileInput" name="fileInput" type="file" />
</div>
</div><!-- /clearfix -->
</fieldset>
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label id="optionsCheckboxes">List of options</label>
<div class="input">
<ul class="inputs-list">
<li>
<label>
<input type="checkbox" name="optionsCheckboxes" value="option1" />
<span>Option one is this and that&mdash;be sure to include why it’s great</span>
</label>
</li>
<li>
<label>
<input type="checkbox" name="optionsCheckboxes" value="option2" />
<span>Option two can also be checked and included in form results</span>
</label>
</li>
<li>
<label>
<input type="checkbox" name="optionsCheckboxes" value="option2" />
<span>Option three can&mdash;yes, you guessed it&mdash;also be checked and included in form results</span>
</label>
</li>
<li>
<label class="disabled">
<input type="checkbox" name="optionsCheckboxes" value="option2" disabled />
<span>Option four cannot be checked as it is disabled.</span>
</label>
</li>
</ul>
<span class="help-block">
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label>Date range</label>
<div class="input">
<div class="inline-inputs">
<input class="small" type="text" value="May 1, 2011" />
<input class="mini" type="text" value="12:00am" />
to
<input class="small" type="text" value="May 8, 2011" />
<input class="mini" type="text" value="11:59pm" />
<span class="help-inline">All times are shown as Pacific Standard Time (GMT -08:00).</span>
</div>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="textarea">Textarea</label>
<div class="input">
<textarea class="xxlarge" id="textarea2" name="textarea2" rows="3"></textarea>
<span class="help-block">
Block of help text to describe the field above if need be.
</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label id="optionsRadio">List of options</label>
<div class="input">
<ul class="inputs-list">
<li>
<label>
<input type="radio" checked name="optionsRadios" value="option1" />
<span>Option one is this and that&mdash;be sure to include why it’s great</span>
</label>
</li>
<li>
<label>
<input type="radio" name="optionsRadios" value="option2" />
<span>Option two can is something else and selecting it will deselect options 1</span>
</label>
</li>
</ul>
</div>
</div><!-- /clearfix -->
<div class="actions">
<input type="submit" class="btn primary" value="Save changes">&nbsp;<button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
</div>
}}
**Stacked forms
#ref(stacked_forms.jpg)
#highlight(html){{
<div class="span12">
<form action="" class="form-stacked">
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix">
<label for="xlInput3">X-Large input</label>
<div class="input">
<input class="xlarge" id="xlInput3" name="xlInput3" size="30" type="text" />
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label for="stackedSelect">Select</label>
<div class="input">
<select name="stackedSelect" id="stackedSelect">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div><!-- /clearfix -->
</fieldset>
<fieldset>
<legend>Example form legend</legend>
<div class="clearfix error">
<label for="xlInput4">X-Large input</label>
<div class="input">
<input class="xlarge error" id="xlInput4" name="xlInput4" size="30" type="text" />
<span class="help-inline">Small snippet of help text</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix">
<label id="optionsCheckboxes">List of options</label>
<div class="input">
<ul class="inputs-list">
<li>
<label>
<input type="checkbox" name="optionsCheckboxes" value="option1" />
<span>Option one is this and that&mdash;be sure to include why it’s great</span>
</label>
</li>
<li>
<label>
<input type="checkbox" name="optionsCheckboxes" value="option2" />
<span>Option two can also be checked and included in form results</span>
</label>
</li>
</ul>
<span class="help-block">
<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.
</span>
</div>
</div><!-- /clearfix -->
</fieldset>
<div class="actions">
<button type="submit" class="btn primary">Save changes</button>&nbsp;<button type="reset" class="btn">Cancel</button>
</div>
</form>
</div>
}}
**Example buttons
#ref(example_buttons.jpg)
#highlight(html){{
<div class="span12">
<h3>Example buttons</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, and select <code>&lt;input&gt;</code> elements. Here’s how it looks:</p>
<div class="well" style="padding: 14px 19px;">
<button class="btn primary">Primary</button>&nbsp;<button class="btn">Default</button>&nbsp;<button class="btn info">Info</button>&nbsp;<button class="btn success">Success</button>&nbsp;<button class="btn danger">Danger</button>
</div>
<h3>Alternate sizes</h3>
<p>Fancy larger or smaller buttons? Have at it!</p>
<div class="well">
<a href="#" class="btn large primary">Primary action</a>
<a href="#" class="btn large">Action</a>
</div>
<div class="well" style="padding: 16px 19px;">
<a href="#" class="btn small primary">Primary action</a>
<a href="#" class="btn small">Action</a>
</div>
<h3>Disabled state</h3>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code>&lt;button&gt;</code> elements.</p>
<h4>Links</h4>
<div class="well">
<a href="#" class="btn large primary disabled">Primary action</a>
<a href="#" class="btn large disabled">Action</a>
</div>
<h4>Buttons</h4>
<div class="well">
<button class="btn large primary disabled" disabled="disabled">Primary action</button>&nbsp;<button class="btn large" disabled>Action</button>
</div>
</div>
}}
2011-10-25T17:37:13+09:001319531833Bootstrap/Typography
https://w.atwiki.jp/tmtbnc/pages/58.html
#contents()
**Headings & copy
#ref(typography.jpg)
#highlight(html){{
<!-- Typography
================================================== -->
<section id="typography">
<div class="page-header">
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
</div>
<!-- Headings & Paragraph Copy -->
<div class="row">
<div class="span4">
<h2>Headings copy</h2>
<p>A standard typographic hierarchy for structuring your webpages.</p>
<p>The entire typographic grid is based on two Less variables in our variables.less file: <code>@basefont</code> and <code>@baseline</code>. The first is the base font-size used throughout and the second is the base line-height.</p>
<p>We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.</p>
</div>
<div class="span4">
<h1>h1. Heading 1</h1>
<h2>h2. Heading 2</h2>
<h3>h3. Heading 3</h3>
<h4>h4. Heading 4</h4>
<h5>h5. Heading 5</h5>
<h6>h6. Heading 6</h6>
</div>
<div class="span8">
<h3>Example paragraph</h3>
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<h1>Example heading <small>Has sub-heading…</small></h1>
</div>
</div>
}}
**Misc. elemetns
#ref(misc_elements.jpg)
#highlight(html){{
<!-- Misc Elements -->
<div class="row">
<div class="span4">
<h2>Misc. elements</h2>
<p>Using emphasis, addresses, &amp; abbreviations</p>
<p>
<code>&lt;strong&gt;</code>
<code>&lt;em&gt;</code>
<code>&lt;address&gt;</code>
<code>&lt;abbr&gt;</code>
</p>
</div>
<div class="span12">
<h3>When to use</h3>
<p>Emphasis tags (<code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code>) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <code>&lt;strong&gt;</code> for importance and <code>&lt;em&gt;</code> for <em>stress</em> emphasis.</p>
<h3>Emphasis in a paragraph</h3>
<p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
<p><strong>Note:</strong> It's still okay to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> tags in HTML5 and they don't have to be styled bold and italic, respectively (although if there is a more semantic element, use it). <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance, while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.</p>
<h3>Addresses</h3>
<p>The <code>&lt;address&gt;</code> element is used for contact information for its nearest ancestor, or the entire body of work. Here are two examples of how it could be used:</p>
<div class="row">
<div class="span4">
<address>
<strong>Twitter, Inc.</strong><br />
795 Folsom Ave, Suite 600<br />
San Francisco, CA 94107<br />
<abbr title="Phone">P:</abbr> (123) 456-7890
</address>
</div>
<div class="span4">
<address>
<strong>Full Name</strong><br />
<a mailto="">first.last@gmail.com</a>
</address>
</div>
</div>
<p><strong>Note:</strong> Each line in an <code>&lt;address&gt;</code> must end with a line-break (<code>&lt;br /&gt;</code>) or be wrapped in a block-level tag (e.g., <code>&lt;p&gt;</code>) to properly structure the content.</p>
<h3>Abbreviations</h3>
<p>For abbreviations and acronyms, use the <code>&lt;abbr&gt;</code> tag (<code>&lt;acronym&gt;</code> is deprecated in <abbr title="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
</div>
</div><!-- /row -->
}} 2011-10-25T15:58:42+09:001319525922Bootstrap/Grid system
https://w.atwiki.jp/tmtbnc/pages/57.html
#contents()
**Default grid
#ref(default_grid.jpg)
#highlight(html){{
<div class="row show-grid" title="16 column layout">
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
</div><!-- /row -->
<div class="row show-grid" title="8 column layout">
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
<div class="span2">2</div>
</div><!-- /row -->
<div class="row show-grid" title="Example uncommon layout">
<div class="span3">3</div>
<div class="span3">3</div>
<div class="span3">3</div>
<div class="span3">3</div>
<div class="span3">3</div>
<div class="span1 column">1</div>
</div><!-- /row -->
<div class="row show-grid" title="Four column layout">
<div class="span4">4</div>
<div class="span4">4</div>
<div class="span4">4</div>
<div class="span4">4</div>
</div><!-- /row -->
<div class="row show-grid" title="Default three column layout">
<div class="span-one-third">1/3</div>
<div class="span-one-third">1/3</div>
<div class="span-one-third">1/3</div>
</div><!-- /row -->
<div class="row show-grid" title="One-third and two-thirds layout">
<div class="span-one-third">1/3</div>
<div class="span-two-thirds">2/3</div>
</div><!-- /row -->
<div class="row show-grid" title="Irregular three column layout">
<div class="span4">4</div>
<div class="span6">6</div>
<div class="span6">6</div>
</div><!-- /row -->
<div class="row show-grid" title="Half and half">
<div class="span8">8</div>
<div class="span8">8</div>
</div><!-- /row -->
<div class="row show-grid" title="Example uncommon two-column layout">
<div class="span5">5</div>
<div class="span11">11</div>
</div><!-- /row -->
<div class="row show-grid" title="Unnecessary single column layout">
<div class="span16">16</div>
</div><!-- /row -->
}}
**Offsetting columns
#ref(ofsetting_columns.jpg)
#highlight(html){{
<div class="row show-grid">
<div class="span4">4</div>
<div class="span8 offset4">8 offset 4</div>
</div><!-- /row -->
<div class="row show-grid">
<div class="span-one-third offset-two-thirds">1/3 offset 2/3s</div>
</div><!-- /row -->
<div class="row show-grid">
<div class="span4 offset4">4 offset 4</div>
<div class="span4 offset4">4 offset 4</div>
</div><!-- /row -->
<div class="row show-grid">
<div class="span5 offset3">5 offset 3</div>
<div class="span5 offset3">5 offset 3</div>
</div><!-- /row -->
<div class="row show-grid">
<div class="span10 offset6">10 offset 6</div>
</div><!-- /row -->
}}
**Nesting columns
#ref(nesting_columns.jpg)
#highlight(html){{
<div class="row show-grid">
<div class="span12">
Level 1 of column
<div class="row show-grid">
<div class="span6">
Level 2
</div>
<div class="span6">
Level 2
</div>
</div>
</div>
</div>
}}
2011-10-25T15:15:43+09:001319523343Ruby/FFI/サンプル2
https://w.atwiki.jp/tmtbnc/pages/56.html
**Windows Sample
Windowsの基本っぽいやつ
require 'ffi'
module HelloFFI
module WinBase
extend FFI::Library
ffi_lib('user32', 'gdi32', 'kernel32')
ffi_convention(:stdcall)
def self._func(*args)
attach_function *args
case args.size
when 3
module_function args[0]
when 4
module_function args[0]
alias_method(args[1], args[0])
module_function args[1]
end
end
ULONG_PTR = FFI::TypeDefs[:ulong]
LONG_PTR = FFI::TypeDefs[:long]
ULONG = FFI::TypeDefs[:ulong]
LONG = FFI::TypeDefs[:long]
LPVOID = FFI::TypeDefs[:pointer]
INT = FFI::TypeDefs[:int]
BYTE = FFI::TypeDefs[:uint16]
DWORD = FFI::TypeDefs[:ulong]
BOOL = FFI::TypeDefs[:int]
UINT = FFI::TypeDefs[:uint]
POINTER = FFI::TypeDefs[:pointer]
VOID = FFI::TypeDefs[:void]
HWND = HICON = HCURSOR = HBRUSH = HINSTANCE = HGDIOBJ =
HMENU = HMODULE = HANDLE = ULONG_PTR
LPARAM = LONG_PTR
WPARAM = ULONG_PTR
LPCTSTR = LPMSG = LPVOID
LRESULT = LONG_PTR
ATOM = BYTE
WNDPROC = callback(:WindowProc, [HWND, UINT, WPARAM, LPARAM], LRESULT)
class WNDCLASSEX < FFI::Struct
layout :cbSize, UINT,
:style, UINT,
:lpfnWndProc, WNDPROC,
:cbClsExtra, INT,
:cbWndExtra, INT,
:hInstance, HANDLE,
:hIcon, HICON,
:hCursor, HCURSOR,
:hbrBackground, HBRUSH,
:lpszMenuName, LPCTSTR,
:lpszClassName, LPCTSTR,
:hIconSm, HICON
def initialize(*args)
super
self[:cbSize] = self.size
@atom = 0
end
def register_class_ex
(@atom = WinBase::RegisterClassEx(self)) != 0 ? @atom : raise("RegisterClassEx Error")
end
def atom
@atom != 0 ? @atom : register_class_ex
end
end # WNDCLASSEX
class POINT < FFI::Struct
layout :x, LONG,
:y, LONG
end
class MSG < FFI::Struct
layout :hwnd, HWND,
:message, UINT,
:wParam, WPARAM,
:lParam, LPARAM,
:time, DWORD,
:pt, POINT
end
_func(:GetModuleHandle,
:GetModuleHandleA, [LPCTSTR], HMODULE)
_func(:LoadImage,
:LoadImageA, [HINSTANCE, LPCTSTR, UINT, INT, INT, UINT], HANDLE)
_func(:GetStockObject, [INT], HGDIOBJ)
_func(:RegisterClassEx,
:RegisterClassExA, [LPVOID], ATOM)
_func(:CreateWindowEx,
:CreateWindowExA, [DWORD, LPCTSTR, LPCTSTR, DWORD,
INT, INT, INT, INT, HWND, HMENU, HINSTANCE, LPVOID], HWND)
_func(:ShowWindow, [HWND, INT], BOOL)
_func(:UpdateWindow, [HWND], BOOL)
_func(:GetMessage,
:GetMessageA, [LPMSG, HWND, UINT, UINT], BOOL)
_func(:TranslateMessage, [LPVOID], BOOL)
_func(:DispatchMessage,
:DispatchMessageA, [LPVOID], BOOL)
_func(:PostQuitMessage, [INT], VOID)
_func(:DefWindowProc,
:DefWindowProcA, [HWND, UINT, WPARAM, LPARAM], LRESULT)
_func(:IsWindow, [HWND], BOOL)
_func(:DestroyWindow, [HWND], BOOL)
_func(:SetClassLong,
:SetClassLongA, [HWND, INT, LONG], DWORD)
_func(:InvalidateRect, [HWND, LPVOID, BOOL], BOOL)
GWL_HINSTANCE = -6
NULL = 0
IDI_APPLICATION = 32512
IMAGE_ICON = 1
LR_SHARED = 32768
IDC_ARROW = 32512
IMAGE_CURSOR = 2
WHITE_BRUSH = 0
BLACK_BRUSH = 4
WS_EX_LEFT = 0
WS_OVERLAPPEDWINDOW = 13565952
WS_VISIBLE = 268435456
CW_USEDEFAULT = -2147483648
WM_DESTROY = 2
WM_LBUTTONDOWN = 513
WM_RBUTTONUP = 517
GCL_HBRBACKGROUND = -10
TRUE = 1
end
HINST = WinBase.GetModuleHandle(nil)
class Window
include WinBase
CLASS_NAME = "HelloFFIWindow"
WINDOWS = []
def P(a); ::FFI::Pointer.new(a); end
def initialize(title=CLASS_NAME)
@title = title
@black = GetStockObject(BLACK_BRUSH)
@white = GetStockObject(WHITE_BRUSH)
@now_brush = [@black, @white].sort_by{rand}.first
@wc = WNDCLASSEX.new
@wc[:lpfnWndProc] = method(:window_proc)
@wc[:hInstance] = HINST
@wc[:hIcon] = LoadImage(NULL, P(IDI_APPLICATION), IMAGE_ICON, 0, 0, LR_SHARED)
@wc[:hCursor] = LoadImage(NULL, P(IDC_ARROW), IMAGE_CURSOR, 0, 0, LR_SHARED)
@wc[:hbrBackground] = @now_brush
@wc[:lpszClassName] = FFI::MemoryPointer.from_string("#{CLASS_NAME}:#{__id__}")
@wc[:hIconSm] = LoadImage(NULL, P(IDI_APPLICATION), IMAGE_ICON, 0, 0, LR_SHARED);
@hwnd = CreateWindowEx(
WS_EX_LEFT, P(@wc.atom), title, WS_OVERLAPPEDWINDOW | WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT, 300, 200, NULL, NULL, HINST, nil)
raise "CreateWindowEx Error" if @hwnd == 0
WINDOWS << self
end
def window_proc(hwnd, umsg, wparam, lparam)
case umsg
when WM_DESTROY
@hwnd = nil
WINDOWS.delete(self)
PostQuitMessage(0) if WINDOWS.empty?
return 0
when WM_LBUTTONDOWN
@now_brush = (@now_brush == @white ? @black : @white)
SetClassLong(hwnd, GCL_HBRBACKGROUND, @now_brush)
InvalidateRect(hwnd, nil, TRUE)
return 0
when WM_RBUTTONUP
puts "close"
close
else
return DefWindowProc(hwnd, umsg, wparam, lparam)
end
0
end
def hwnd
@hwnd ? (IsWindow(@hwnd).nonzero?? @hwnd : (@hwnd = nil)) : nil
end
def close
DestroyWindow(@hwnd) if hwnd
end
end
def self.loop
msg = WinBase::MSG.new
while WinBase::GetMessage(msg, WinBase::NULL, 0, 0) > 0
WinBase::TranslateMessage(msg)
WinBase::DispatchMessage(msg)
end
end
end
win1 = HelloFFI::Window.new("Hello FFI Window 1")
win2 = HelloFFI::Window.new("Hello FFI Window 2")
HelloFFI.loop
2010-03-21T17:11:56+09:001269159116Ruby/FFI/サンプル
https://w.atwiki.jp/tmtbnc/pages/50.html
samples
**構造体
ffi-0.5.1で確認
-簡単な例
class XYZ < FFI::Struct
layout :x, :int,
:y, :int,
:z, :int
end
a = XYZ.new
p a[:x]
a[:x] = 3
p a[:x]
-配列メンバ
class TestA < FFI::Struct
layout :a, :int,
:b, [:int, 3],
:c, :int
end
s = TestA.new
p s[:b][2]
s[:b][2] = 100
p s[:b][2]
s[:c] = 5
p s[:b][3]
-共用体
class TestUnion < FFI::Union
layout :a, :int,
:b, :char
end
n = TestUnion.new
p n[:b]
n[:a] = 0xff07
p n[:a]
p n[:b]
-アラインメント
class TestB < FFI::Struct
layout :a, :long_long,
:b, :char
end
p TestB.size
p TestB.align
-文字列
class TestC < FFI::Struct
layout :chars, [:char, 16]
end
tc = TestC.new
p tc[:chars].to_ptr.put_string(0, "0123456789")
p tc[:chars].to_str
p tc[:chars].to_ptr.put_string(0, "ZZZZZ")
p tc[:chars].to_str
p tc[:chars].to_ptr.put_bytes(0, "1234567890123456")
p tc[:chars].to_str
**関数
-Win32 APIの例
module WinUser
extend FFI::Library
ffi_lib 'user32'
ffi_convention(:stdcall)
MB_OK = 1
attach_function(:message_box, :MessageBoxA, [:long, :string, :string, :int], :int)
end
p WinUser.message_box(0, "message", "window caption", WinUser::MB_OK)
-だいたいの流れ
p lib = FFI::DynamicLibrary.open("user32",
FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::RTLD_GLOBAL)
p function = lib.find_function("MessageBoxA") # FFI::Library::Symbol
raise FFI::NotFoundError.new(name, lib.name) unless function
args = [:long, :string, :string, :int].map {|a| FFI.find_type(a) }
ret_type = FFI.find_type(:int)
p invoker = FFI::Function.new(ret_type, args, function, {:convention => :stdcall})
raise FFI::NotFoundError.new(name, lib.name) unless invoker
p r = invoker.call(0, "message", "window caption", 0)
-コールバックの例。ウィンドウの列挙 (ffi-0.6.3で動作確認。古いバージョンだとダメ)
require 'ffi'
class Window
extend FFI::Library
ffi_lib('user32')
ffi_convention(:stdcall)
[
[:ulong, :uintptr_t],
[:long, :intptr_t],
[:uintptr_t, :HWND],
[:ulong, :DWORD],
[:int, :BOOL],
[:intptr_t, :LPARAM],
[:pointer, :LPTSTR],
].each {|t| typedef(*t) }
callback(:EnumWindowsProc, [:HWND, :LPARAM], :BOOL)
attach_function(:EnumWindows, [:EnumWindowsProc, :LPARAM], :BOOL)
attach_function(:GetWindowTextA, [:HWND, :LPTSTR, :int], :int)
attach_function(:GetClassNameA, [:HWND, :LPTSTR, :int], :int)
attach_function(:IsWindowVisible, [:HWND], :BOOL)
class << self
alias :GetWindowText :GetWindowTextA
alias :GetClassName :GetClassNameA
end
def self.each(lparam=0, &block)
EnumWindows(lparam) {|hwnd, lparam|
block.call(self.new(hwnd), lparam)
}
end
attr_reader :hwnd
def initialize(hwnd)
@hwnd = hwnd
end
def title
pstr = FFI::MemoryPointer.new(1,256)
self.class.GetWindowText(@hwnd, pstr, pstr.size)
pstr.read_string
end
def class_name
pstr = FFI::MemoryPointer.new(1,256)
self.class.GetClassName(@hwnd, pstr, pstr.size)
pstr.read_string
end
def visible?
self.class.IsWindowVisible(@hwnd).nonzero?
end
end
Window.each {|win, lparam|
puts "#{win.title} [#{win.class_name}]" if win.visible?
1
}
2010-03-18T17:42:37+09:001268901757メニュー
https://w.atwiki.jp/tmtbnc/pages/2.html
- &link_newpage(text=新規ページ作成)
-&link_edit(text=このページを編集)
-[[@wiki文法メモ]]
**メニュー
-[[トップページ]]
**更新履歴
#recent(20)
|BGCOLOR(chocolate):COLOR(black):アクセス数|BGCOLOR(chocolate):COLOR(black): &counter(total)|
|Today| &counter(today)|
|Yesterday| &counter(yesterday)|
//**更新履歴
//#recent(20)
//&tags()
//&tags_list()
//**カレンダー
//&today()
// #google_calendar(){<iframe src="http://www.google.com/calendar/embed?showTitle=0&showNav=0&showPrint=0&showTabs=0&showCalendars=0&showTz=0&height=360&wkst=1&hl=ja&bgcolor=%23ff6600&src=7tspog8oqbp8vh539cvis2akl4%40group.calendar.google.com&color=%23B1365F&ctz=Asia%2FTokyo" style=" border:solid 1px #FFF; background: #000 " width="170" height="360" frameborder="0" scrolling="no"></iframe>}
&link_editmenu(text=メニューを編集)
#javascript(){{<script type='text/javascript'> var sRef,sCG; try{sRef=top.document.referrer;}catch(e){sRef='err';} if(sRef=='err'){try{sRef=parent.document.referrer;}catch(e){sRef='err';};} if(sRef=='err'){sRef=document.referrer;} sCG='<img src=http://ana2.tatsumi-sys.jp/banner.asp?uid=2023066&gid=2&pid=1&ref='+escape(sRef)+'&scw='+screen.width+'&sch='+screen.height+'&scd='+screen.colorDepth+'&ck='+navigator.cookieEnabled+' border=0 width=88 height=31>'; sCG='<a href="http://www.tatsumi-sys.jp/analyzer/?uid=2023066" target="_blank">'+sCG+'</a>'; document.write(sCG); </script>
}}
&html(<noscript><a href='http://www.tatsumi-sys.jp/analyzer/'><img src='http://ana2.tatsumi-sys.jp/cleargif.asp?uid=2023066&gid=2&pid=1' border='0' alt='ASP' /></a> <a href='http://www.oca.co.jp/support/'>サポートサービス</a></noscript>)
2010-02-18T11:02:31+09:001266458551トップページ
https://w.atwiki.jp/tmtbnc/pages/49.html
//**ページ
//#list_read_only(100,sort=timestamp)
**こんてんつ
***[[Ruby]]
-[[C API>Ruby/C API]]
-[[FFI>Ruby/FFI]]
-[[Tips>Ruby/Tips]]
-[[configure --help>Ruby/configure --help]]
***[[Firefox]]
-[[カスタマイズ>Firefox/カスタマイズ]]
***[[ダンジョンキーパー]]
-[[クリーチャー>ダンジョンキーパー/クリーチャー]]
-[[キー定義>ダンジョンキーパー/キー定義]]
***その他
-[[Programming Links]]
-[[英語メモ]] 2010-01-02T21:26:38+09:001262435198ダンジョンキーパー/キー定義
https://w.atwiki.jp/tmtbnc/pages/54.html
** ショートカットキー
|上へ|↑|
|下へ|↓|
|左へ|←|
|右へ|→|
|回転|Ctrl|
|スピードスクロール|Shift|
|左へ回転|Delete|
|右へ回転|Page Down|
|ズームイン|Home|
|ズームアウト|End|
|宝物庫 (Treasure Room)|T|
|図書館 (Library)|L|
|ねぐら (Lair)|Shift L|
|牢獄 (Prison)|Shift P|
|拷問室 (Torture Room)|Alt T|
|訓練室 (Training Room)|Shift T|
|ダンジョンハート (Dungeon Heart)|H|
|工房 (Workshop)|W|
|洗脳室 (Scavenger Room)|S|
|神殿 (Temple)|Ctrl T|
|墓場 (Graveyard)|G|
|兵舎 (Barracks)|B|
|ニワトリ小屋 (Hatchery)|Shift H|
|監視所 (Guard Post)|Shift G|
|橋 (Bridge)|Shift B|
|戦闘 (Fight)|F|
|不機嫌なクリーチャー (Annoyed)|A|
|支配|Shift|
|調査|テンキー0|
|ピックアップ取り消し|Backspace|
|ポーズ|P|
|マップ|M|
|ゲーム速度を上げる|Ctrl テンキー +|
|ゲーム速度を下げる|Ctrl テンキー -|
2009-12-29T22:30:26+09:001262093426ダンジョンキーパー/クリーチャー
https://w.atwiki.jp/tmtbnc/pages/53.html
|>|>|>|CENTER:BGCOLOR(sienna):COLOR(black):Evil|>|>|>|CENTER:BGCOLOR(steelblue):COLOR(black):Good|
|&ref(imp.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Imp)|&ref(beetle.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Beetle)|&ref(fly.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Fly)|&ref(spider.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Spider)|&ref(tunneller.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Tunneller)|&ref(mountain_dwarf.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Mountain_Dwarf)|&ref(barbarian.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Barbarian)|&ref(giant.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Giant)|
|&ref(troll.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Troll)|&ref(demon_spawn.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Demon_Spawn)|&ref(hound.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Hound)|&ref(tentacle.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Tentacle)|&ref(thief.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Thief)|&ref(archer.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Archer)|&ref(ninja.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Samurai)|&ref(knight.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Knight)|
|&ref(orc.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Orc)|&ref(bile_demon.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Bile_Demon)|&ref(dragon.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Dragon)|&ref(horned_reaper.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Horned_Reaper)|&ref(wizard.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Wizard)|&ref(monk.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Monk)|&ref(priestess.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Priestess)|&ref(fairy.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Fairy)|
|&ref(warlock.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Warlock)|&ref(mistress.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Mistress)|&ref(ghost.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Ghost)|&ref(skelton.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Skelton)|&ref(avatar.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Avatar)| | | |
|&ref(vampire.jpg,,http://www19.atwiki.jp/tmtbnc/pages/53.html#Vampire)||||||||
*悪のモンスター (Evil Creatures)
***&anchor(Imp) {インプ (Imp)}
&ref(imp.jpg)
|No.| |Name|Level|
|1|&ref(dig.jpg)|掘る (Dig)|1|
|2|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|3|&ref(speed.jpg)|加速 (Speed)|3|
|4|&ref(teleport.jpg)|テレポート (Teleport)|10|
***&anchor(Beetle) {ビートル (Beetle)}
&ref(beetle.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(freeze.jpg)|凍結 (Freeze)|7|
***&anchor(Fly) {フライ (Fly)}
&ref(fly.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(sight.jpg)|照準 (Sight)| |
|3|&ref(speed.jpg)|加速 (Speed)| |
***&anchor(Spider) {スパイダー (Spider)}
&ref(spider.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(slow.jpg)|減速 (Slow)| |
|3|&ref(freeze.jpg)|凍結 (Fleeze)| |
|4|&ref(hail_storm.jpg)|ひょう (Hail Storm)| |
***&anchor(Troll) {トロル (Troll)}
&ref(troll.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
|3|&ref(fireball.jpg)|火の玉 (Fireball)| |
|4|&ref(grenade.jpg)|手りゅう弾 (Grenade)| |
***&anchor(Demon_Spawn) {デーモンスポーン (Demon Spawn)}
&ref(demon_spawn.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(missile.jpg)|ミサイル (Missile)| |
|3|&ref(heal.jpg)|治癒 (Heal)| |
***&anchor(Hound) {ヘルハウンド (Hound)}
&ref(hound.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
|3|&ref(flame_breath.jpg)|火の息 (Flame Breath)| |
***&anchor(Tentacle) {テンタクル (Tentacle)}
&ref(tentacle.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(freeze.jpg)|凍結 (Freeze)| |
***&anchor(Orc) {オーク (Orc)}
&ref(orc.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
|3|&ref(armour.jpg)|鎧 (Armour) | |
|4|&ref(grenade.jpg)|手りゅう弾 (Grenade)| |
***&anchor(Bile_Demon) {バイルデーモン (Bile Demon)}
&ref(bile_demon.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(poison_cloud.jpg)|毒の雲 (Poison Cloud) |2|
|3|&ref(poison_cloud2.jpg)|放屁 (Poison Cloud)|4|
|4|&ref(grenade.jpg)|手りゅう弾 (Grenade)|7|
***&anchor(Dragon) {ドラゴン (Dragon)}
&ref(dragon.jpg)
|No.| |Name|Level|
|1|&ref(flame_breath.jpg)|火の息 (Flame Breath)|1|
|2|&ref(heal.jpg)|治癒 (Heal)|2|
|3|&ref(grenade.jpg)|手りゅう弾 (Grenade)| |
|4|&ref(meteor.jpg)|隕石 (Meteor)| |
|5|&ref(word_of_power.jpg)|言霊 (Word of Power) | |
***&anchor(Horned_Reaper) {ホーンドリーパー (Horned Reaper)}
&ref(horned_reaper.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
|3|&ref(slow.jpg)|減速 (Slow)| |
***&anchor(Warlock) {ウォーロック (Warlock)}
&ref(warlock.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(fireball.jpg)|火の玉 (Fireball)|2|
|3|&ref(heal.jpg)|治癒 (Heal)|3|
|4|&ref(meteor.jpg)|隕石 (Meteor)|4|
|5|&ref(invisibility.jpg)|透明化 (Invisibility) |5|
|6|&ref(navigating_missile.jpg)|誘導ミサイル (Navigating Missile) |6|
|7|&ref(sight.jpg)|照準 (Sight)|7|
|8|&ref(wind.jpg)|突風 (Wind) |8|
|9|&ref(word_of_power.jpg)|言霊 (Word of Power) |9|
***&anchor(Mistress) {ダークミストレス (Mistress)}
&ref(mistress.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(lightning.jpg)|雷撃 (Lightning) |6|
|3|&ref(speed.jpg)|加速 (Speed)|7|
|4|&ref(drain.jpg)|消耗 (Drain) |9|
|5|&ref(teleport.jpg)|テレポート (Teleport)|10|
***&anchor(Ghost) {ゴースト (Ghost)}
&ref(ghost.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(invisibility.jpg)|透明化 (Invisibility) | |
|3|&ref(rebound.jpg)|反射 (Rebound) | |
|4|&ref(wind.jpg)|突風 (Wind) | |
|5|&ref(drain.jpg)|消耗 (Drain) | |
***&anchor(Skelton) {スケルトン (Skelton)}
&ref(skelton.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(armour.jpg)|鎧 (Armour) | |
|3|&ref(lightning.jpg)|雷撃 (Lightning) | |
***&anchor(Vampire) {ヴァンパイア (Vampire)}
&ref(vampire.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(flight.jpg)|飛行 (Flight) |2|
|3|&ref(slow.jpg)|減速 (Slow)|3|
|4|&ref(teleport.jpg)|テレポート (Teleport)|4|
|5|&ref(heal.jpg)|治癒 (Heal)|5|
|6|&ref(invisibility.jpg)|透明化 (Invisibility) | |
|7|&ref(armour.jpg)|鎧 (Armour) | |
|8|&ref(wind.jpg)|突風 (Wind) | |
|9|&ref(word_of_power.jpg)|言霊 (Word of Power) | |
*ヒーロー (Good Creatures)
***&anchor(Tunneller) {マウンテンドワーフ (Tunneller)}
&ref(tunneller.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(teleport.jpg)|テレポート (Teleport)| |
***&anchor(Mountain_Dwarf) {マウンテンドワーフ (Mountain Dwarf)}
&ref(mountain_dwarf.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(armour.jpg)|鎧 (Armour) | |
|3|&ref(rebound.jpg)|反射 (Rebound) | |
***&anchor(Barbarian) {バーバリアン (Barbarian)}
&ref(barbarian.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(armour.jpg)|鎧 (Armour) | |
***&anchor(Giant) {ジャイアント (Giant)}
&ref(giant.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
***&anchor(Thief) {シーフ (Thief)}
&ref(thief.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(speed.jpg)|加速 (Speed)| |
|3|&ref(invisibility.jpg)|透明化 (Invisibility) | |
|4|&ref(rebound.jpg)|反射 (Rebound) | |
***&anchor(Archer) {アーチャー (Archer)}
&ref(archer.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(arrow.jpg)|弓矢 (Arrow) | |
|3|&ref(navigating_missile.jpg)|誘導ミサイル (Navigating Missile) | |
|4|&ref(speed.jpg)|加速 (Speed)| |
|5|&ref(slow.jpg)|減速 (Slow)| |
***&anchor(Samurai) {サムライ (Samurai/Ninja)}
&ref(ninja.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(sight.jpg)|照準 (Sight)| |
|3|&ref(lightning.jpg)|雷撃 (Lightning) | |
|4|&ref(speed.jpg)|加速 (Speed)| |
|5|&ref(freeze.jpg)|凍結 (Freeze)| |
***&anchor(Knight) {ナイト (Knight)}
&ref(knight.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(rebound.jpg)|反射 (Rebound) | |
|3|&ref(heal.jpg)|治癒 (Heal)| |
***&anchor(Wizard) {ウィザード (Wizard)}
&ref(wizard.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(missile.jpg)|ミサイル (Missile)| |
|3|&ref(fireball.jpg)|火の玉 (Fireball)| |
|4|&ref(rebound.jpg)|反射 (Rebound) | |
|5|&ref(heal.jpg)|治癒 (Heal)| |
|6|&ref(freeze.jpg)|凍結 (Freeze)| |
|7|&ref(hail_storm.jpg)|ひょう (Hail Storm)| |
|8|&ref(drain.jpg)|消耗 (Drain) | |
|9|&ref(slow.jpg)|減速 (Slow)| |
|0|&ref(meteor.jpg)|隕石 (Meteor)| |
***&anchor(Monk) {モンク (Monk)}
&ref(monk.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(heal.jpg)|治癒 (Heal)| |
|3|&ref(armour.jpg)|鎧 (Armour) | |
|4|&ref(slow.jpg)|減速 (Slow)| |
|5|&ref(missile.jpg)|ミサイル (Missile)| |
|6|&ref(drain.jpg)|消耗 (Drain) | |
|7|&ref(hail_storm.jpg)|ひょう (Hail Storm)| |
|8|&ref(word_of_power.jpg)|言霊 (Word of Power) | |
***&anchor(Priestess) {ウィッチ (Priestess)}
&ref(priestess.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(flight.jpg)|飛行 (Flight) | |
|3|&ref(poison_cloud.jpg)|毒の雲 (Poison Cloud) | |
|4|&ref(rebound.jpg)|反射 (Rebound) | |
|5|&ref(wind.jpg)|突風 (Wind) | |
|6|&ref(lightning.jpg)|雷撃 (Lightning) | |
|7|&ref(heal.jpg)|治癒 (Heal)| |
|8|&ref(missile.jpg)|ミサイル (Missile)| |
|9|&ref(hail_storm.jpg)|ひょう (Hail Storm)| |
***&anchor(Fairy) {フェアリー (Fairy)}
&ref(fairy.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(drain.jpg)|消耗 (Drain) | |
|3|&ref(lightning.jpg)|雷撃 (Lightning) | |
|4|&ref(heal.jpg)|治癒 (Heal)| |
|5|&ref(invisibility.jpg)|透明化 (Invisibility) | |
|6|&ref(navigating_missile.jpg)|誘導ミサイル (Navigating Missile) | |
|7|&ref(rebound.jpg)|反射 (Rebound) | |
|8|&ref(meteor.jpg)|隕石 (Meteor)| |
|9|&ref(freeze.jpg)|凍結 (Freeze)| |
***&anchor(Avatar) {アバタール (Avatar)}
&ref(avatar.jpg)
|No.| |Name|Level|
|1|&ref(hand_to_hand.jpg)|肉弾戦 (Hand to Hand)|1|
|2|&ref(armour.jpg)|鎧 (Armour) | |
|3|&ref(heal.jpg)|治癒 (Heal)| |
|4|&ref(freeze.jpg)|凍結 (Freeze)| |
|5|&ref(drain.jpg)|消耗 (Drain) | |
|6|&ref(navigating_missile.jpg)|誘導ミサイル (Navigating Missile) | |
|7|&ref(invisibility.jpg)|透明化 (Invisibility) | |
|8|&ref(word_of_power.jpg)|言霊 (Word of Power) | |
2009-12-29T15:08:33+09:001262066913