Comments (5)
I can't figure out how to make the corners rounded
The tooltip is drawn using this code: https://github.com/billyquith/GWork/blob/gwork/source/gwork/source/ToolTip.cpp#L40
You could try changing the skin? I'd like to add more flexibility to the control rendering at some point; make it more data driven and allow multiple skins, but that's tricky at the moment.
from gwork.
nice to have a max length limit on the TextBox
This could be done by limiting the entry (TextBox), or the holder (Text). Perhaps limiting the entry is better as this allows input control and leaves the UI without limitations otherwise.
https://github.com/billyquith/GWork/blob/gwork/source/gwork/source/Controls/Text.cpp#L64
If you'd like to have a discussion I'd suggest starting another issue, solely about this issue. The problem is these discussions arent threaded and get very confused with multiple topics.
from gwork.
using Allegro5 and the numpad enter key isn't currently considered an enter key by GWork
I can't think of a reason not to do this.
from gwork.
As there are multiple changes here: PRs are best done a separate branches. I.e. clone gwork branch. Branch to "feature-al5key" (or whatever name), make the change, commit and push to your GH repo, then create PR. Repeat for each change. If you don't do this and just change your mainline all the changes get merged together. - GitHub workflow
from gwork.
Thanks. I'll have to dig into the code for the tooltips sometime later, for now my control is working fine, just would have been nice to have.
Created PR #49 for enter key.
Created new issue #50 for textbox discussion.
from gwork.
Related Issues (20)
- Created a Discord server for anyone that wants to chat on GWorK
- Segfault when clicking on ImagePanel in GworkAllegro5Sample HOT 2
- CacheToTexture Never Updates Cached Textures? HOT 1
- Refactor colour picker HOT 1
- Baking FreeType Into Gwork? HOT 12
- Reduce compiler coverage in tests
- "LARGE_INTEGER" and "QueryPerformanceCounter" problem HOT 2
- Can't build OpenGL sample with MinGW HOT 1
- Can't use GWork as cmake `subdirectory`. HOT 1
- Fix OpenGL Core for OSX HOT 2
- OpenGL* renderer: UTF-8 multi-byte symbols are not rendering HOT 17
- GLFW input handler is now working with GLFW3 HOT 1
- Resource management refactoring HOT 12
- Add WYSIWYG editor
- Support multiple renderers
- Add Font Module
- Investigate Gwk::Utility::Widen too slow HOT 1
- SFML2 Compile fails - Linux Mint 18.3 HOT 2
- Error: expression in new-declarator must have integral or enumeration type HOT 1
- OpenGL renderer broken HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwork.