Coder Social home page Coder Social logo

waccgl's Introduction

Made by Styczynsky Digital Systems

Platform - Windows

WACCGL (C/C++ library, Windows)

Windows Advanced Console Componental Graphics Library

Some examples involving WACCGL usage:

TicTacConsole game involves usage of old integrated WACCGL code see...

WACCGL Screenshot No. 1 WACCGL Screenshot No. 2 WACCGL Screenshot No. 3

About

This is just another crazy library, which allows you to create ascii-text graphical user interface inside Windows Command Prompt!

All Feautures:

  • Mouse (and scroll wheel) support (little fancy text cursor inside CMD!)
  • Fancy GUI inside command prompt
  • Handling special event
  • Many useful components (like lists, editboxes etc.)

Unfortunately this project isn't well documented yet (try to read the examples). :(

Compiling

The library contains examples files. Makefile commands:

  • To get some help type make or make help
  • To compile examples use the following command: make all
  • To get list of all available examples type: make run-example
  • To run an example type: make run-example-NAME (e.g. make run-example-demo)
  • To clean project directory use make clean
  • To rebuild everything run: make rebuild

Examples

The library contains few examples. You can see them to figure out how to use WACCGL.

  • basic.cpp - basic usage
  • demo.cpp - demo of some components
  • manual-drawing.cpp - some manual buffer manipulation code
  • mouse.cpp - simple mouse support
  • no-buffer-cleaning.cpp - you don't have to clean up this mess
  • scene-animations.cpp - some simple transitions
  • windows.cpp - how about an iternal window?
  • own-component.cpp - custom component implementation

Support for other OSes

All the library depends on ./include/console.h.

If you want to port this library to linux just rewrite the console.h code.

Supported GUI components:

  • Scenes - scene
  • Checkboxes - checkbox
  • Text frames - textframe
  • Component frames - frame
  • Ascii image frames - imgframe
  • Buttons - button
  • Select boxes - selbox / slistbox / listbox
  • Expandable lists - exlistbox
  • Scrollbars - vscrollbar
  • Progressbars - progressbar
  • Edit boxes - edittextframe

Of course you can implement any GUI component by extending scene_object class.

waccgl's People

Contributors

styczynski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.