Languages & Coding > AGK

Setting the IDE color (including widgets and menus) in Windows.

(1/7) > >>

Rick Nasher:
Worked!  8)


Many thanks.

[EDIT]
Tried a few different ones and what works best for me during night and daytime is indeed
in View->Color Scheme->Geany Tango Dark combined with adding include "../share/themes/ClearlooksDarkOrange/gtk-2.0/gtkrc" to
C:\Program Files (x86)\The Game Creators\AGK2\Tier 1\Editor\data\geany.gtkrc (below line 41 as you suggested)

geany.gtkrc

--- Code: ---# make close button on the editor's tabs smaller
style "geany-close-tab-button-style" {
GtkWidget::focus-padding = 0
GtkWidget::focus-line-width = 0
xthickness = 0
ythickness = 0
}
widget "*.geany-close-tab-button" style "geany-close-tab-button-style"

# use monospaced font in search entries for easier reading of regexp (#1907117)
style "geany-monospace" {
font_name = "Monospace"
}
widget "GeanyDialogSearch.*.GtkEntry" style "geany-monospace"
widget "GeanyDialogSearch.*.geany-search-entry-no-match" style "geany-monospace"

# set red background for GtkEntries showing unmatched searches
style "geany-search-entry-no-match-style" {
base[NORMAL] = "#ffff66666666"
text[NORMAL] = "#ffffffffffff"
}
widget "*.geany-search-entry-no-match" style "geany-search-entry-no-match-style"

# document status colors
style "geany-document-status-changed-style" {
fg[NORMAL] = "#ffff00000000"
fg[ACTIVE] = "#ffff00000000"
}
style "geany-document-status-disk-changed-style" {
fg[NORMAL] = "#ffff7fff0000"
fg[ACTIVE] = "#ffff7fff0000"
}
style "geany-document-status-readonly-style" {
fg[NORMAL] = "#00007fff0000"
fg[ACTIVE] = "#00007fff0000"
}
widget "*.geany-document-status-changed" style "geany-document-status-changed-style"
widget "*.geany-document-status-disk-changed" style "geany-document-status-disk-changed-style"
widget "*.geany-document-status-readonly" style "geany-document-status-readonly-style"

#include "../share/themes/MS-Windows/gtk-2.0/gtkrc"
#include "../share/themes/Nodoka-Midnight/gtk-2.0/gtkrc"
include "../share/themes/ClearlooksDarkOrange/gtk-2.0/gtkrc"
#include "../share/themes/ClearlooksDark/gtk-2.0/gtkrc"
#include "../share/themes/MurrinaNeoGraphite/gtk-2.0/gtkrc"
#include "../share/themes/Rezlooks-graphite/gtk-2.0/gtkrc"

--- End code ---

Again many thanks, this will really save my eyes and a lot of headaches.
[EDIT2]
Shared the solution on the AGK forums, just in case someone wonders how to do this too.
https://forum.thegamecreators.com/thread/221767#msg2620469

*And there's actually another(better) one for the widgets, menus and stuff then ClearlooksDarkOrange, called Adwaita, Zipfile posted by c0d3r9 here: https://forum.thegamecreators.com/attachment/81403"



--- Quote from: Derron on March 04, 2018, 11:18:55 AM ---

To do this: Follow the instructions in
C:\Program Files\The Game Creators\AGK2Trial\Tier 1\Editor\Changing IDE Theme.txt

The above screenshot is using
include "../share/themes/Nodoka-Midnight/gtk-2.0/gtkrc"

(line 41 of the geany.gtkrc file)

You can even download new ones from www.gnome-look.org and other websites - should be for GTK 2.x then.


bye
Ron

--- End quote ---



--- Quote from: Rick Nasher on March 04, 2018, 10:48:04 AM ---
--- Quote ---PS: Maybe Qube could split our posts into a new thread - from your "quoting me" phost about the trial up to this - to avoid derailing that thread.

--- End quote ---

Good idea. Qube?

Apparently they're using the default win gui colors(bright) and the GTK ones do not appear to be effecting this. Now MS in all it's wisdom has provided us with a 'nice'  setting under: "Personalize>Colors>Default app mode:Dark"

Which in theory changes the white backgrounds to dark, but-but-but.. as you might have guessed, not so well implemented, for soon as I open Notepad or even an Explorer window, surprise-surprise:  white background is back.
Only works onto parts of the OS gui the actually bothered to take a look at I guess, such as the new Settings panel..

--- End quote ---



--- Quote from: Derron on March 04, 2018, 08:59:30 AM ---As the other things are System-based widgets. Maybe you could edit your Editor/share/geany.gtkrc.windows and append some stuff to manipulate widget appearance but I never tried, so dunno if this would be successful or not.

Edit: having duckduckgo'd for "geany.gtkrc.windows dark theme" I found this:

geany with a dark theme (and German localization - which the AGK dudes removed somehow as I got only partial texts translated, even the most ones translated on my Geany are English on theirs)

http://www.henrykoch.de/en/geany-editor-in-ubuntu-configure-a-dark-colored-theme



bye
Ron

--- End quote ---



--- Quote from: Derron on March 04, 2018, 08:59:30 AM ---As the other things are System-based widgets. Maybe you could edit your Editor/share/geany.gtkrc.windows and append some stuff to manipulate widget appearance but I never tried, so dunno if this would be successful or not.

Edit: having duckduckgo'd for "geany.gtkrc.windows dark theme" I found this:

geany with a dark theme (and German localization - which the AGK dudes removed somehow as I got only partial texts translated, even the most ones translated on my Geany are English on theirs)

http://www.henrykoch.de/en/geany-editor-in-ubuntu-configure-a-dark-colored-theme



bye
Ron

--- End quote ---



--- Quote from: Rick Nasher on March 04, 2018, 08:46:44 AM ---Yep, it says "Built on Geany 1.24.1"

Set the Color Scheme to "Geany Tango Dark" which I like best for my eyes.
What I never get though is why in IDE's they let you change the color scheme *only* for the code itself, almost never for the menu bars, windows etc, so always leaving this too high contrast which pains my eyes.

Luckily you can swiftly swap using "Toggle All Additional Widgets" but that still leaves the Project pane which I then manually move out of the way, but still stuck with a menu bar of course..

--- End quote ---



--- Quote from: Derron on March 04, 2018, 07:23:57 AM ---Thanks Rick.

Is the IDE on Windows also based on Geany? (on Linux it starts a rebranded "based on Geany 1.24" variant of geany). As Geany is GPL some sources need to be provided too - at least they do for some stuff. Found the part for functions definitions (TagManager) but still looking for the Debugger-stuff. For my geany I made a BlitzMax-Module only being activated when focusing a .bmx file (it then adds compilation options + buttons to the menu) but it still misses the tooltips for functions (params), some kind of autocomplete and the debugger stuff.
At least they (AGK creators) chooses a fast and nice scintilla-editor as base.


bye
Ron

--- End quote ---



--- Quote from: Derron on March 01, 2018, 11:31:26 PM ---.. Did not have it installed as ... ok, it costs money? ... wanted to write I haven't had the motivation to try it out but ... it costs money so it is nothing I would choose now (while I understand that people want to earn things for a living).
--- End quote ---

*Free limited trial: https://www.appgamekit.com/trial

Rick Nasher:
Update(seem to have forgotten to mention here):
For changing the font default font to a modern mono spaced type for easy align and readability I use:

In Preference>Interface>Fonts>
select..
Editor:         Montserrat SemiBold Semi-Bold 9
Symbol list:    Sans 7
Message window: Sans 9

https://fonts.google.com/specimen/Montserrat

GaborD:
You'll be happy to know that Studio comes with the dark look (very similar to the settings you switched to) as default :)

Steve Elliott:

--- Quote ---You'll be happy to know that Studio comes with the dark look

--- End quote ---

A certain company added it to their OS as standard, not that they made a song and dance about it  ::)

Rick Nasher:

--- Quote from: Steve Elliott on February 11, 2019, 06:07:28 PM ---
--- Quote ---You'll be happy to know that Studio comes with the dark look

--- End quote ---

A certain company added it to their OS as standard, not that they made a song and dance about it  ::)

--- End quote ---

As they all should!  ;D
Why on earth people ever decided it was a good idea to have black characters on bright white lamp shining in your face is still a mystery to me. Plus is bad for battery life on OLED screens.

Navigation

[0] Message Index

[#] Next page

Go to full version