Forum Replies Created
-
AuthorPosts
-
Menu Build — Target settings — Release checkbox.
I use SourceTree for git. I prefer gui instead of command line.
May post short ‘howto’ if someone is interested in.
7 games – wow! Where we can look at them?:)
AFAIK There is no mobile touch yet.
Also.. Maybe it will be better to fill list of themes by reading themes folder,
so we don’t need to modify themes.json – just copy file and it works.
Maybe not at all, but it’s simpler when I can see any done solution.
There are many bugs and weak spots in current version. I can’t wait I have spare time to fix them.
Steps to do are:
- Replace local bar variable with field _toolBar
- Add property ToolBarVisible:Bool
- In mainwindow for toogle logic add method ToggleCodeToolBar()
Monkey12345678'Field _barVisible:Boolproperty ToolBarVisible:Bool()return _barVisiblesetter(value:Bool)_barVisible=value_toolBar.Visible=_barVisibleendMonkey1234567' in mainwindowmethod ToggleCodeToolBar()local docs:=_docsManager.getAll<CodeDocument>() 'any way to get all docs herefor doc = eachin docsdoc.ToolBarVisible=not doc.ToolBarVisibleendifendI wrote this code inside of browser to show you my direction. So need to be fixed of course.
For code toolbar – look into codedocument.monkey2 -> CodeDocunent class -> New() method.
There is a code at the end of New():
Monkey1234' bar + editorLocal docker:=New DockingViewdocker.AddView( bar,"top" )docker.ContentView=_codeViewas a simplest solution just comment line
Monkey1docker.AddView( bar,"top" )later I’ll add show/hide options into menu.
About toolbar – I will add option to show/hide it later.
Other questions – I don’t know and have no time to study.
Hm. Looked like mystic.
I will try to understand this situation a bit later, ok? Probably, there is needed core monkey fixes.
For the end user, editing a non-sensical document full of color0, etc makes no sense.
The rule is: If you are not ready to study each param inside of theme – don’t touch this.
The end user should be enough to use predefined themes.
And as I said earlier – color picker is in todo.
No you can still apply it (as you can clearly see in my GIF!) via selecting the same theme again.
You are right, sorry.
So, that is what I found:
- style of TextView has no effect, and there is used “content” color for background.
- if I setup “content”:”#282C34″ then I got correct color, not #223333
- style of TextView work correctly in my monkey2 fork! and when I answered you first time I tried with it and it works. Now I tried with release1.1.01 and it does not work.
- Needed more deep comparison code to understand.
This is my theme for test:
Monkey123456789{"extends":"ted2-default","styles":{"TextView":{"backgroundColor":"#282C34"}}}and result on the screenshot.
So try to use version from monkey2 repository.
Attachments:
You can share your code here on forum and I or someone else could easily implement it (via just add some #imports).
-
AuthorPosts
