2014-02-21 14:06:04 +00:00
created: 20131024141900000
2015-02-24 16:41:16 +00:00
modified: 20150220162127000
2014-09-10 23:06:19 +00:00
tags: Widgets
2014-02-21 14:06:04 +00:00
title: EditBitmapWidget
type: text/vnd.tiddlywiki
2014-09-10 23:06:19 +00:00
caption: edit-bitmap
2013-10-31 22:03:40 +00:00
! Introduction
The edit bitmap widget provides a user interface in the browser for editing bitmap tiddlers. It is currently a primitive proof-of-concept, supporting resizing and painting with a single color and line width.
! Content and Attributes
The content of the `<$edit-bitmap>` widget is ignored.
|!Attribute |!Description |
2015-02-24 16:41:16 +00:00
|tiddler |The tiddler to edit (defaults to the [[current tiddler|Current Tiddler]]) |
2014-02-21 14:06:04 +00:00
! Configuration
The edit bitmap widget can be configured with these system tiddlers:
* [[$:/config/BitmapEditor/LineWidth]] determines the line width: <$edit-text tiddler="$:/config/BitmapEditor/LineWidth" tag="input"/>
2014-07-04 02:59:41 +00:00
* [[$:/config/BitmapEditor/Colour]] determines the line color: <$edit-text tiddler="$:/config/BitmapEditor/Colour" tag="input" type="color"/>