Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xylr117z4

Pages: 1 [2] 3
16
General discussions / Re: Dev-C++?
« on: October 26, 2012, 08:51:08 pm »
So the argument is that the several forks of Dev-C++ are not the ones mentioned in this topic, since this topic only cares about the original Dev-C++
From what would you deduce that 'fact'?
The OP was only talking about Dev-C++, he probably was using the original one, but never stated that.
On the other hand I suggested him to use one of the newer forks, so the discussion was very well also about the newer forks. ;)

Okay to clearify I was talking about any version of Dev-C++ including the Orwell update (which is what I use.)
The only reason I wanted to ask was I know it's generally outdated since the last offical update was packed with Mingw 3.6 (I believe.)
I didn't mean to stir up any bad feelings.

17
SFML projects / Re: EmuBoard (Controller Typing Program)
« on: October 26, 2012, 06:46:49 pm »
Go ahead and post it, I don't have a controller myself so I wouldn't get anything from it, but that shouldn't stop you from posting your code in as much sources as possible, someone might find it useful.

I'll add mouse emulation support and fix compatablility issues with other controllers then I'll post the program.
and as I said earlier this program is really only useful if you want to use a desktop or what ever from your couch

Edit: I also need to clean up my code I have a fuction in the main loop which looks for what set of characters the buttons would input... I was planning on putting it in a class but havent yet but seeing as sfml 2.0 removed the need for sf::Input& it'll be pretty easy :P

I just remember how messy my code is... I'll clean it up once I get home today.

18
Graphics / Re: Transparent windows.
« on: October 23, 2012, 08:16:21 pm »
Have you tried to search "SetLayeredWindowAttributes + OpenGL" on Google? It seems to have many interesting answers.
Like I said earlier (I think...) I'll just have to do a bunch of reading.  Either way if I can't get this to work just hiding the window is probably better because even if you can see under the window you won't be able to click on anything.

19
SFML projects / Re: EmuBoard
« on: October 23, 2012, 06:53:07 am »
If any one cares I've updated the Background image so it doesn't look like an mspaint piece of shit.

Edit: if any one is interested I could zip this up and post it on the wiki...

20
General discussions / Re: Dev-C++?
« on: October 22, 2012, 10:52:03 pm »
Why would I be a dinosaur?
And just saying that dev is like paradise for not-so-good coders around here apparently
'oh, why split program into many files, why visual c++, in dev, one file, 2000 lines, everything worked, oh i don't know how to use C or c++ standard library or pointers or arrays'

I guess there would be a lot of people who don't know what they're talking about but I wouldn't say that Dev-c++ is more common for those people to use.

And if you would I'd say that OOP is the best thing that ever happened to programming.

21
Graphics / Re: Transparent windows.
« on: October 22, 2012, 05:23:25 pm »
Quote
I believe I'll need to declare the window with the Windows API then put a RenderWindow inside of that some how...
That would probably not make any difference.

yeah it probably wouldn't since it's the function that changes the window's alpha that makes sfml no longer display.  I guess I'll just take the easy way out for now... but I'll keep reading about it.

Edit: It seems to just be the SetLayeredWindowAttributes(); fuction that breaks things...

22
Graphics / Re: Transparent windows.
« on: October 22, 2012, 04:57:08 pm »
Quote
but you might be able to get it with some OpenGL code.
OpenGL is totally unable to do that ;)
You must ask the windowing API if you want your window to be transparent. That's exactly what the OP does in its first post. And I don't know why it doesn't work ;D

I think it might have something to do with where I use the two functions.. After I declare the RenderWindow I use .getSystemHandle() to get the handle which I pass to the functions I pasted above.

I believe I'll need to declare the window with the Windows API then put a RenderWindow inside of that some how... but I have basically no experience with the Windows API so I'll just read up on that.

but as MassKiller said I could just hide the window.

BTW: Thanks for the quick response one of the many reasons SFML is better than a lot of other libraries.

23
General discussions / Re: Dev-C++?
« on: October 22, 2012, 04:50:51 pm »
If you want to use it at least use the most recent one from 2nd October 2012, you can grab it from here. ;)

I actually use one of his updates in the most recent one mingw 4.7 breaks a lot of my programs... but I guess I didn't really try to find the problem so I just reinstalled the one with 4.6.2

Edit: dunno this is general discution I guess the topic should of just asked about IDE's.

24
Graphics / Re: Transparent windows.
« on: October 22, 2012, 05:23:02 am »
I see. There's the setVisible function of the renderWindow which could do what you want to do. I can't tell you how it works since I haven't used it before, but you could have the window become invisible by pressing an specific button and using the same to make it visible again.

http://www.sfml-dev.org/documentation/2.0/classsf_1_1RenderWindow.php

yeah that's what I was thinking about if I couldn't get this to work.

25
Graphics / Re: Transparent windows.
« on: October 22, 2012, 05:14:46 am »
Well the reason I would like to have a transparent window is so that you could see behind it incase you are reading a webpage or something... The program it self allows you to type with a controller if you're in bed using your desktop or on a TV, in this thread I talk a little about it.

26
Graphics / Re: Transparent windows.
« on: October 22, 2012, 04:56:20 am »
I'm trying to make the entire window transparent including what's drawn by sfml, so that you can see what's under the window like in the image I've posted.

and is there a function with sfml to make the renderwindow transparent (see through)?

27
Graphics / Transparent windows.
« on: October 22, 2012, 04:39:00 am »
so I'm trying to make my window transparent through the windows API while using sfml to display the graphics but this happens...

The functions I'm trying to use are:
SetWindowLong(HANDLE,GWL_EXSTYLE,GetWindowLong(HANDLE, GWL_EXSTYLE) | WS_EX_LAYERED);
and SetLayeredWindowAttributes(HANDLE, RGB(0,0,0), 200, LWA_ALPHA);

I'm not sure if SFML is just not compatable with these or if there's a better way to do this... I'm not that experience with the windows API it self is why I ask for help.

Edit: It seems to just be the SetLayeredWindowAttributes(); fuction that breaks things...

28
General discussions / Dev-C++?
« on: October 22, 2012, 03:41:50 am »
It may lack file managing and a good debugger but it's so lite and I've had nothing but good experiences with the IDE.
I'm Just wondering does anyone else is still using Dev-C++?

Edit: Okay to clearify I was talking about any version of Dev-C++ including the Orwell update (which is what I use.)
The only reason I wanted to ask was I know it's generally outdated since the last offical update was packed with Mingw 3.6 (I believe.)

29
SFML projects / EmuBoard (Controller Typing Program)
« on: October 22, 2012, 03:37:22 am »
So I have a computer with a video card which I can hook up to my old 40" CRT TV.
My original problem was I only have a early 90s keyboard with a PS/2 hook up and I've yet to see an extender for those.
I heard about the next Steam update not too long ago, the "Big Picture" mode, which includes an interface for typing with a controller.
As my friend was explaining it to me I thought of how that would be and started work on this program before really looking at Valve's interface.
Much to my surprise there's no support for XP (which is reasonable.)
That gave my program a purpose, since I won't be updating my OS until I get a new PC.
The only problem I've been having is designing a UI for my program.

TL;DR: I need some help designing the graphics of my program... here's some screenies of the program as of now...

I also have it forced to the bottom corner of the screen on top of everything (Thanks to 2.0 now having a way to get the system handle :P)
and BTW I'm using the Jewels theme for XP.

Edit: I updated the interface a little since I've been messing around with blender.
Edit2: Updated the program now has support for Hiding the window, a shift key and common punctuation.


30
Window / nvm a quick search answered my question.
« on: October 21, 2012, 03:00:03 am »
so I've been messing around with sfml 2.0 because I've seen it has a lot of features I could use for a program I'm working on.

I've come apon a question though, does the RenderWindow not count as a Window?
The reason I ask is that my program isn't properly updating the state of the joystick unless I use Joystick::update();
On the Documentation is says this only needs to be used if you don't currently have a window...


it should be included in the documentation of sf::Joystick that Update only needs to be used if there is no event loop... which I'm only missing due to testing 2.0.

Pages: 1 [2] 3