Perl 6 - the future is here, just unevenly distributed

IRC log for #pogl, 2017-02-28

| Channels | #pogl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
04:41 Mithaldu joined #pogl
08:07 CandyAngel chm: Unfortunately, running the "Hello World!" demo from Prima doesn't endear me to the toolkit :P
11:15 chm joined #pogl
11:18 chm CandyAngel: Please confirm if OpenGL::GLUT works for you as GLUT/FreeGLUT bindings in place of OpenGL
11:18 chm CandyAngel: There is a Prima discussion list and Dmitry is responsive.
11:19 chm CandyAngel: If Prima and Prima::OpenGL doesnt' meet your needs, there are other toolkits supporting OpenGL and perl.
11:19 CandyAngel Will do as soon as I get home :)
11:20 CandyAngel And well.. the issue is when I run the Hello World, the button 1) isn't in the center and 2) doesn't stay in the center
11:20 CandyAngel So immediately, not filling me with confidence it is going to work well :P
11:21 chm CandyAngel: That definitely sounds like something to ask about.
11:21 chm Prima has been out for quite a while and I'm sure Dmitri would be able to help.
11:21 chm If it is a bug or platform issue, that would be something he could fix.
11:22 CandyAngel Sure, I'll let him know it happens
11:26 chm CandyAngel: I'm pretty sure it is more likely related to placement options.
11:27 chm Where is the code you are running?  I'd like to try it here.
11:29 CandyAngel http://search.cpan.org/~karasik/Prima/Prima.pm
11:29 CandyAngel The synopsis :P
13:59 Mithaldu hmm, prima fails some of its tests for me
14:00 Mithaldu if any of y'all talk to him, tell him to check his cpan testers results
14:05 Mithaldu and yeah, this is slightly off-center: http://i.imgur.com/QgRYsZu.png
14:16 CandyAngel Yup, that's what I get
14:19 CandyAngel Resizing the window, it maintains its distance from the bottom left
14:19 CandyAngel (of the window)
14:38 Mithaldu well that's the question of how the redraw is handled, you can't look at that if the code isn't specified for that
14:46 CandyAngel Even the documentation can be read as "and will remain centered"
14:46 CandyAngel Though it doesn't explicitly say that
14:46 CandyAngel "centered BOOLEAN
14:46 CandyAngel A write-only property. Once set, widget is centered by X and Y axis relative to its owner.
14:46 CandyAngel "
14:47 CandyAngel If it only took affect once, it should be "center"
14:47 Mithaldu hm
14:47 Mithaldu maybe its owner doesn't resize to fill
14:48 CandyAngel I don't think it does anything. I think it is basically: position: absolute;
14:48 CandyAngel And it positions it based on current width/height of the parent widget
14:49 CandyAngel Is the window even 200x200? Maybe it gets resized (by the WM)
14:49 CandyAngel or it expands to fit the button, but after the button has been "centered"
14:53 CandyAngel Either way, I'm not saying it's wrong, but when the 2 widget synopsis doesn't do what you expect, it doesn't generate the "I'm going to get along with this tool" feeling :P
14:53 Mithaldu tbh don't tell us, talk to him :D
14:54 CandyAngel I will :P
14:54 Mithaldu \o/
15:41 Mithaldu chm: huh, i would've thought stuff like glext_procs.h could go

| Channels | #pogl index | Today | | Search | Google Search | Plain-Text | summary