Search found 475 matches

by SamuraiCrow
Thu Dec 10, 2020 4:33 am
Forum: RapaGUI
Topic: UserData in TreeView Nodes?
Replies: 10
Views: 5152

UserData in TreeView Nodes?

Is it possible to store UserData in a TreeView Node or Leaf class independently of the UserData of the TreeView class itself? If so, how do you successfully set and retrieve it?
by SamuraiCrow
Wed Dec 09, 2020 10:51 pm
Forum: Showcase
Topic: EasyRapa
Replies: 14
Views: 13674

Re: EasyRapa

@tolkien The program has one serious bug in the way it generates its grid layout that has prevented me from testing it in Linux. It doesn't manifest itself in MorphOS so I assume the Windows version also doesn't manifest the bug so visually either. After having looked at the source code, it appears ...
by SamuraiCrow
Mon Dec 07, 2020 10:56 pm
Forum: Announcements
Topic: Polybios 1.3 released
Replies: 4
Views: 5428

Re: Polybios 1.3 released

Just a quick reminder: the documentation on the help page is current to 1.3 but the help page itself claims that the documentation to 1.2 is linked.
by SamuraiCrow
Wed Dec 02, 2020 4:27 am
Forum: Off topic
Topic: Hollywood runs on GhostBSD!
Replies: 1
Views: 4653

Hollywood runs on GhostBSD!

I installed the Linux compatibility layer in GhostBSD and Hollywood runs like a champ. The only noticeable difference is a font substitution. https://github.com/SamuraiCrow/HollywoodDocumentation/blob/main/resize_Screenshot.png?raw=true https://github.com/SamuraiCrow/HollywoodDocumentation/blob/main...
by SamuraiCrow
Tue Dec 01, 2020 4:16 pm
Forum: General programming
Topic: How to make Function with : on a fly?
Replies: 2
Views: 2073

Re: How to make Function with : on a fly?

You can pass self to a function explicitly as the first parameter. The : only implicitly adds the self parameter to contain the table it's a member of.

Code: Select all

o.fntoaddlater=Function(self) stuff EndFunction
by SamuraiCrow
Mon Nov 30, 2020 8:27 pm
Forum: Newbie questions
Topic: Where to find scrolling background examples?
Replies: 9
Views: 5441

Re: Where to find scrolling background examples?

amyren wrote: Mon Nov 30, 2020 6:46 pm All those tiles confuse me a bit :lol:
For an editor and example pictures, see https://www.mapeditor.org/. Tiled should work on your Mac already. Then just use the Lua exporter to make the tables.
by SamuraiCrow
Fri Nov 27, 2020 8:34 pm
Forum: RapaGUI
Topic: Radio horizontal lay-out
Replies: 6
Views: 3546

Re: Radio horizontal lay-out

On second thought, that may have been while I was tinkering in C++ with wxWidgets years ago.
by SamuraiCrow
Fri Nov 27, 2020 7:17 pm
Forum: RapaGUI
Topic: Radio horizontal lay-out
Replies: 6
Views: 3546

Re: Radio horizontal lay-out

Try using a colgroup or an hgroup. I'm sure i've done colgroups with multiple columns.
by SamuraiCrow
Tue Nov 24, 2020 8:46 pm
Forum: General programming
Topic: Saving OOP using WriteTable loses Variables?
Replies: 3
Views: 2159

Re: Saving OOP using WriteTable loses Variables?

It looks like the __index metamethod has a return code required.
by SamuraiCrow
Tue Nov 24, 2020 4:15 pm
Forum: General programming
Topic: Saving OOP using WriteTable loses Variables?
Replies: 3
Views: 2159

Re: Saving OOP using WriteTable loses Variables?

Where is GFXPack defined?