Coder Social home page Coder Social logo

swearjar's People

Contributors

pkuehne avatar

Watchers

 avatar

swearjar's Issues

Set focus on specific widget

Right now, focus can be moved on from one widget to the next via <Tab>. To facilitate other workflows, it should be possible to call

screen.setFocus(widget);
// or 
screen.setFocus("wdgWidget");

Optional Logging

At the moment, the log file is always created, regardless of whether users want it or not.

Additionally, the logging code is cumbersome, relying on there being a /dev/null opened as a file to send unwanted logs to.

New Widget: Checkbox

Description

A simple on/off check box

Properties

  • title: What is to be turned on/off
  • enabled: Whether the checkbox is on or off

Events

  • None

ASCII preview:

In off state:
[ ] Title of the widget

In on state:
[X] Title of the widget

Mouse Support

It should be possible to click on a button or checkbox and fire it's on* event with the mouse.

Tutorial Documentation

Put together a tutorial on getting a small app written:

  • Creating custom Windows
  • Basic layouts and resizing
  • Frames
  • Labels
  • Buttons
  • Mouse input

Screen resizing

Catch signal that screen dimensions have changed and re-adjust widgets in the window

Welcome README

Make the README give a good introduction to the project

Overlapping Windows

In order to facilitate popups and general multi-window workflows, it should be possible to create several windows and navigate between them.

Windows should overlay the widgets of the window beneath them
Windows should be destroyable

Add borders around widgets

Except for labels, all other widgets should really have a border around them, which is accounted for in the sizing. This will make them look nicer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.