Coder Social home page Coder Social logo

dxconsole's Introduction

###Dart Console Library for Windows

dxConsole implements both Forms & Commandline modes. Forms mode is especially useful for configuration & administration tasks, very similar to BIOS setup screens.

This library was initially created to support [Dart]: http://dartlang.org projects requiring native ANSI escape sequences for Windows console programs. It is not intended to be a framework, but continues to grow based on other project requirements. If you would like to see addtional functionality, feel free to post an enhancement/change request.


####CHANGES YOU NEED TO DO BEFORE RUNNING

I packaged the 64bit version as the default. Just add the Github reference below to your pubspec.yaml:<br > dxConsole:<br > git: https://github.com/osstekz/dxConsole

For Dart.exe(32bit) projects: Due to Dart implementing a hardcoded filename scheme for importing native extension dlls, the following manual install is required.

  1. Download zip file and extract to a local drive/path.
  2. Copy the appropriate bin\dxConsole_win32.dll to bin\dxConsole.dll.
  3. Add a path reference to local drive/path in your pubspec.yaml. Example:<br > dxConsole:<br > path: local drive/path/dxConsole

###HOW TO RUN dart.exe --checked example\dxConsoledemo_main.dart


####DEVELOPMENT Development and testing for both 32/64bit OS versions uses the latest Dev Channel SDK.

Contributions to this are absolutely welcome! Feel free to file issues, send pull requests, etc.


####EXTENDED FEATURES

  • ANSI escape sequence console driver
  • SendKeys: Character string with optional states(wVirtualKeyCode,wVirtualScanCode,dwControlKeyState)
  • Supports UNICODE
  • Windowed Boxes with titles
  • Implements AnsiPen library
  • 256 color palette (4 bits for background, 4 bits for foreground)
  • Color palettes
  • Printf style output formatting
  • Save/Restore screen buffers(characters & formatting)

####Forms mode Events

  • Keyboard: KA_KEYCHAR,KA_KEYCODE
  • Mouse: MOUSE_POSX,MOUSE_POSY,MOUSE_FLAGS,MOUSE_BTNSTATE
  • WindowBufferResize: WBER_POSX,WBER_POSY

####Forms mode controls

  • XControl
  • XInput
  • XText
  • XWindow
  • XTabbedWindow
  • XTab
  • XDDList

dxconsole's People

Contributors

osstekz avatar

Stargazers

Rodrigo Muniz avatar Tobe Osakwe avatar

Watchers

James Cloos avatar  avatar

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.