Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I want to display output on different window, but how? For example: I want to display " hello world " on the first black screen, and when I press enter button, the old screen will disappear and another new black screen will display "thank you" . Just how to do that in c?
You can do this by using GUI toolkits to create windows to do these functions, one window will show a Hello World statement and the other will show Thank you statement. I can share one great post related to your question:
https://docs.wxwidgets.org/3.0/overview_helloworld.html
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was wondering if there is a way to stretch an image based on its 4 points (as shown in the picture), and if not, how could I achieve that?
Illustration of what I need to do
I've tried SDL_RenderCopyEx, but it seems it only rotates an image.
:)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have designed my UI in WPF(xaml) but when i run it on screen bigger than the size of my desktop, the screen distorts,how to avoid this?
Please share the xaml code. In general it happens when you hard code the width and height of controls in xaml. If used "Auto" property for both Height and Width the controls will align themselves automatically depending on screen size or resolution.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want draw lines and then I click the line and delete it. How can I find the line that I wanted by using mouse? Can an one help me?
Your question has nothing to do with OpenGL you know. You'll have to keep a collection of lines around, get your mouse input somehow (depends on what you're using), figure out whether the mouse position during a click was within an existing line (with some margin of error), and then remove that from the collection.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm new to Maya, so is there a way to set the camera to be inside of a car? I understand that there are certain cameras like a perspective camera, but I'm having trouble figuring out if there's a simple way to set a camera, or if it's even possible at all. Thanks for your help!
Make a camera Create -> Cameras -> Camera, then enable move/rotate tool and put it wherever you want. You can also move even the existing camera to position the same way, or by dragging mouse and alt+mmb, alt+lmb+mmb and alt+lmb.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have a mediaelement tag in my wpf-window. It's playing a simple animation, similar to the windows xp copy file dialog.
The animation has an ugly pink background #FF00FF, that I want to be transparent. I've tried setting the color in the OpacityMask attribute, but the color remains. Any ideas on how I can remove the color from the video?
You can use a shader effect to remove a specific color. Luckily this type of shader is part of the WPF Pixel Shader Effects Library - http://www.codeplex.com/wpffx which is available free of charge. The effect that you should look at is called ColorKeyAlpha.
Here you can find more info on the subject and if you are new to shaders this blog series has all the information you will need -