You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2014-08-21 20:00:20

toxicshadow
Member
Registered: 2014-08-21
Posts: 4

Linux: Anyway to set the background to black when in fullscreen?

When going to fullscreen the background color (either side of the ds screens) is white which starts to glare after a while.

Is there any change to the source code that can set the background colour to black? I tried adding the following function when the GTK window is first created but it all it changes is the colour behind the buttons and not the main window background.

GdkColor color;

color.red = 0x0000;
color.green = 0x0000;
color.blue = 0x0000;

gtk_widget_modify_bg(pWindow, GTK_STATE_NORMAL, &color);

Any ideas?

Offline

#2 2014-08-22 02:10:48

alvinhochun
Member
Registered: 2014-02-07
Posts: 61

Re: Linux: Anyway to set the background to black when in fullscreen?

pDrawingArea?

Offline

#3 2014-08-22 10:04:27

toxicshadow
Member
Registered: 2014-08-21
Posts: 4

Re: Linux: Anyway to set the background to black when in fullscreen?

Well spotted. I cant believe I missed the big comment labelled:

/* Creating the place for showing DS screens */

Using pDrawingArea worked perfectly.

Many thanks.

Offline

#4 2014-08-22 15:26:09

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,214

Re: Linux: Anyway to set the background to black when in fullscreen?

white is a bizarre choice for that color. if someone had a tv with white letterbox bars, theyd take it back to the store as defective. can we change it to black?

Offline

#5 2014-08-23 03:27:48

alvinhochun
Member
Registered: 2014-02-07
Posts: 61

Re: Linux: Anyway to set the background to black when in fullscreen?

Em, it's actually the default window colour since it is not explicitly set (could possibly be "buttonface"), which, depends on the theme, it may be any colour.

It's true, maybe it should be set to black, or there should be a DS frame drawn. Who knows what the users want.

Offline

#6 2014-08-23 03:41:00

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,214

Re: Linux: Anyway to set the background to black when in fullscreen?

i know what the users want. they want black. sometimes they want things to match their themes, but not this time.

Offline

Board footer

Powered by FluxBB