Giter VIP home page Giter VIP logo

flagconsole's Introduction

FlagConsole

Overview

FlagConsole is a library for .NET, written in C#, that helps to build text-based console application interfaces. It provides controls like panel, textfield, list view, menu and label. It also offers drawing capabilitys for rectangles, lines and ellipses/circles.

NuGet

FlagConsole is available via NuGet! http://nuget.org/List/Packages/FlagConsole

Features

FlagConsole tries to make everything as simple as possible and offers the following features:

  • Control: The control class is the base class for all other controls. It is extendable to create custom controls.

  • Label: A label can have a text and wraps this text into its drawing area.

  • ListView: A list view can have multiple entries that are displayed among each other.

  • Menu: The menu control looks like a ListView, but lets the user navigate through the items with the keyboard and select an item when pressing the enter key.

  • Panel: A panel can contain multiple other controls that can be placed relative to the panel, so that not every control has to be manually arranged when changing the position.

  • Screen: The screen is the topmost control and is responsible for updating and drawing its child controls. Think of it as a Form in WinForms or Window in WPF.

  • TextBox: A textbox is a highlighted input field and lets the user type text and submit it by pressing the enter key. The maximum length of the text can be restricted.

  • Line: There are three line types: horizontal, vertical and generic. While the horizontal and vertical lines can be drawn very fast, the generic line is dynamic and can be drawn in every direction.

  • Rectangle: There is support for drawing filled and unfilled rectangles.

  • Ellipse and Circle: Ellipses and circels can easily be drawn. Support for filled ellipses and cricles will be added in the future.

Demo application

The download section contains an demo application, that shows the FlagConsole library in action.

Screenshots of the demo application

The main menu

A label

A text box

Rectangles

Lines

Ellipses

flagconsole's People

Contributors

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