graphical user interface

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys, I'm going to be starting work on a windows gui.  I have four canvas layers to work with with colour keying.

 

I have the base layer, say displaying a bitmap.  Then I'll have Icons and windows on the the next two layers and the final layer will be used by cursors ect.

 

I'm thinking of processing the layout of the screen by calculating what can be seen and slitting the image into squares and rectangles and drawing them.

 

What do you think?

Last Edited: Sun. Aug 1, 2021 - 01:59 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fianawarrior wrote:
What do you think?

I think there must be far more appropriate forums for such a question ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fianawarrior wrote:
Guys, I'm going to be starting work on a windows gui

This all reads a but familiar.

...

...

Oh yes: https://www.avrfreaks.net/forum/graphical-user-interface-0

Fianawarrior wrote:
I'm thinking of processing the layout of the screen by calculating what can be seen and slitting the image into squares and rectangles and drawing them.

Ha - not doing transparency then: ? wink

I believe calculating visible clipped rectangles is the basis of rendering the screen. Preventing any drawing outside of the clipping boundary seems onerous, but of course you have hardware there to help.

 

I wonder if you're meant to assign a Z-Order to each of the 4 layers.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have you looked at using openCV???  Give it a look.  It's not exactly for making a gui, per se, but certainly has a lot of useful tools for it.

We created menus in openCV overlaid for some image processing

https://docs.opencv.org/master/d...

 

You'll be singing hot dog soon

 

https://www.youtube.com/watch?v=...

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

Have you looked at using openCV???  Give it a look.  It's not exactly for making a gui, per se, but certainly has a lot of useful tools for it.

We created menus in openCV overlaid for some image processing

https://docs.opencv.org/master/d...

 

You'll be singing hot dog soon

 

https://www.youtube.com/watch?v=...

 

Looks a good place to start avrcandies.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
It's not exactly for making a gui, per se,

surely, there are tons of tools which are exactly about making GUIs - wouldn't they be the ones to be looking into?

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

surely, there are tons of tools which are exactly about making GUIs - wouldn't they be the ones to be looking into?

 

Sounds like he is doing something more than just putting up some menu dropdown boxes ...maybe along the lines of video effects?  Maybe chroma keying?  

Even so, many packages are avail now..pretty amazing for what is free. 

Some of my friends worked on the first  broadcast "graphics" , like the ABC news globe & sports sports intro animations---it seems so primitive now! They were using brand "new" SUN workstations, while I had my 8086 PC.

https://www.youtube.com/watch?v=...

  

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

N.Winterbottom wrote:

Fianawarrior wrote:

Guys, I'm going to be starting work on a windows gui

 

This all reads a but familiar.

...

...

Oh yes: https://www.avrfreaks.net/forum/graphical-user-interface-0

 

Indeed.  And almost a year to date since the thread a year ago on the same subject

 

Do we really need to go through this all over again?

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

Topic locked