Giter Site home page Giter Site logo

unterrainerinformatik / monogame-textbox Goto Github PK

View Code? Open in Web Editor NEW
38.0 4.0 2.0 162 KB

An editable, multi-language, event-driven textbox for MonoGame that supports selection and cut/copy/paste.

License: The Unlicense

C# 99.74% Batchfile 0.26%
monogame textbox copy cut paste mark cursor events

monogame-textbox's Introduction

NuGet NuGet license Twitter Follow

General

This section contains various useful projects that should help your development-process.

This section of our GIT repositories is free. You may copy, use or rewrite every single one of its contained projects to your hearts content.
In order to get help with basic GIT commands you may try the GIT cheat-sheet on our homepage.

This repository located on our homepage is private since this is the master- and release-branch. You may clone it, but it will be read-only.
If you want to contribute to our repository (push, open pull requests), please use the copy on github located here: the public github repository

IconMonogame-Textbox

This is a PCL that provides an editable, multi-language, event-driven textbox for MonoGame that supports selection, special characters, SHIFT-CTRL combinations with cursor-keys and cut/copy/paste.

If you like this repo, please don't forget to star it. Thank you.

Getting Started

Clone the repository and run the project Textbox-Test as startup project. Nuget should take care about the rest...

Write, select, delete, cut (ctrl-x), copy (ctrl-c), paste (ctrl-v), press home, press pos1, keep shift pressed while pressing a cursor key to select, try pressing ctrl while doing so in order to jump words ahead or back...

Screenshot

General Information

I generate the SpriteFont used in the test-projects using a .spritefont description-file read by the content-pipeline tool because of the insane amount of supported glyphs.

The reason why I don't use the automated build-pipeline for this is that it would require everyone to install the True-Type Font referenced further down this file. You are free to do so, in which case you may as well add the file Arsenal.spritefont to your automated build-pipeline of your project.

Used Tools

  • [Resharper][https://www.jetbrains.com/resharper/]

  • MonoGame

  • You can easily get rid of the Primitives2D.cs class when you incorporate it in your own project. It's only there to draw the outline of the textbox in the demo.

  • The font is called Arsenal and you can find it here Fontsquirrel - Arsenal

    It has an insane amount of supported languages (and therefore glyphs) and is under the SIL Open Font License v1.10. So it's safe to use in your games.

monogame-textbox's People

Contributors

gufalcon 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

Watchers

 avatar  avatar  avatar  avatar

monogame-textbox's Issues

chinese input

中文输入法,没有兼容考虑。Whether there is an update plan,:)。

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.