Vadim Lopatin
e2a847f108
DOM
2015-12-23 12:23:20 +03:00
Vadim Lopatin
d090f8ad49
DOM initial implementation
2015-12-23 11:32:14 +03:00
Vadim Lopatin
2f4799e140
update readme with coding style doc link
2015-12-23 09:19:15 +03:00
Vadim Lopatin
7cf0854a52
coding style
2015-12-23 09:14:10 +03:00
Vadim Lopatin
65d7802840
Merge branch 'master' of github.com:buggins/dlangui
2015-12-23 08:46:12 +03:00
Vadim Lopatin
3c5b3a61a7
replace tabs with 4 spaces
2015-12-23 08:45:54 +03:00
Vadim Lopatin
4561b4a8ae
Merge pull request #133 from alphaKAI/fix-not-allowed-code-at-graphics-fonts
...
fix build error at graphics/fonts.d
2015-12-23 08:37:37 +03:00
Vadim Lopatin
952acd4fce
Merge pull request #132 from default0/master
...
Fix scrollbar of FileDialog not updating
2015-12-23 07:31:13 +03:00
alphaKAI
3e51ebbfbb
fix build error
...
D does not allow default constructor and to declare some constructors
for struct.
It is because that, unfortunately, your code does not be permitted in
D's structure.
Correct Code:
import std.stdio;
struct T{
this(int v = 2){
writeln(v);
}
}
void main(){
T s = T(1);
}
However, following code is not permitted.
import std.stdio;
struct T{
this(int v = 2){
writeln(v);
}
}
void main(){
T t; // <- This definition occur build error. This definition call
default constructor such as this() but T does not has this().
T s = T(30);
}
That's why your following code dose not permitted.
struct glyph_gamma_table(int maxv = 65)
{
this(double gammaValue = 1.0)
{
gamma = gammaValue;
}
//...
}
__gshared glyph_gamma_table!65 _gamma65;// <- calling this() !!!!!!
__gshared glyph_gamma_table!256 _gamma256;// <- calling this() !!!!!
By the way I might found your miss.
Your code is:
gamma = gammaValue;
But this is not properly in this place, I think.
I guess that you intended to write as follows.
gamma(gammaValue);
I fixed as above.
2015-12-23 13:27:07 +09:00
default0
536526185b
Fix scrollbar of FileDialog not updating
...
If you change the opened directory in the FileDialog and opened
a directory with enough contents to require a scrollbar, the
scrollbar would not show up until you first scrolled. This commit
fixes this by updating the scrollbar whenever the displayed
directory of the FileDialog changes.
2015-12-22 15:47:19 +01:00
Vadim Lopatin
e8f9422d59
opengl example
2015-12-22 14:48:23 +03:00
Vadim Lopatin
7bdff965b2
math3d
2015-12-22 13:41:34 +03:00
Vadim Lopatin
f35bb6eda6
get rid of gl3n dependency
2015-12-22 12:25:33 +03:00
Vadim Lopatin
01d04ad99f
update math3d
2015-12-22 11:23:07 +03:00
Vadim Lopatin
bc5cee4341
math 3d - initial implementation
2015-12-22 10:03:34 +03:00
Vadim Lopatin
20be42432e
Merge pull request #131 from g4z3r/master
...
fix
2015-12-22 06:27:18 +03:00
gazer
7333bdfee9
fix
2015-12-22 04:34:27 +03:00
Vadim Lopatin
866cd78c69
update osx project - add opengl example
2015-12-21 20:08:38 +03:00
Vadim Lopatin
2900576f9f
opengl example; 3d math
2015-12-21 16:58:29 +03:00
Vadim Lopatin
4f9c90f9dd
trying to get opengl example with shaders working
2015-12-21 16:00:25 +03:00
Vadim Lopatin
6bae3ee378
OpenGL support & opengl example improvements
2015-12-21 15:47:25 +03:00
Vadim Lopatin
8140feac10
add OpenGL example
2015-12-21 12:34:51 +03:00
Vadim Lopatin
349c6612e1
refactor OpenGL initialization
2015-12-21 11:35:31 +03:00
Vadim Lopatin
2cb21339e5
refactoring
2015-12-21 10:44:19 +03:00
Vadim Lopatin
7924bcf4a9
OpenGL refactoring
2015-12-21 10:40:41 +03:00
Vadim Lopatin
b1cbd52e79
remove FontProgram from GLSupport - anyway CrearType cannot be implemented with shaders
2015-12-21 10:25:20 +03:00
Vadim Lopatin
0556ad5781
refactor setOrthoProjection, implement setPerspectiveProjection
2015-12-21 10:18:49 +03:00
Vadim Lopatin
aea38fb5fe
change OpenGLDrawable interface
2015-12-21 09:52:19 +03:00
Vadim Lopatin
57aba53bf5
OpenGL example for legacy API
2015-12-21 09:46:14 +03:00
Vadim Lopatin
809794d15a
Example1 OpenGL drawable with Old API (glBegin...) - GLGears
2015-12-21 09:32:08 +03:00
Vadim Lopatin
07f8ec9127
support alignment property in DML
2015-12-21 09:31:29 +03:00
Vadim Lopatin
3027f6a588
Merge pull request #129 from g4z3r/codestyle
...
clear some code
2015-12-21 07:03:49 +03:00
gazer
ef837c1ffc
clear some code
2015-12-20 22:23:15 +03:00
Vadim Lopatin
a801d9cad6
Merge pull request #128 from g4z3r/codestyle
...
foreach loops pt. 3
2015-12-20 21:59:42 +03:00
gazer
b8a533c598
foreach loops pt. 3
2015-12-20 18:04:27 +03:00
Vadim Lopatin
1b4a34b68d
Merge pull request #127 from g4z3r/codestyle
...
foreach loops pt. 2
2015-12-19 22:11:58 +03:00
gazer
058bc68d2d
foreach loops pt. 2
2015-12-19 21:30:52 +03:00
Vadim Lopatin
fa6dd472fa
Merge pull request #126 from g4z3r/codestyle
...
foreach loops pt. 1
2015-12-19 21:22:51 +03:00
gazer
443236ada9
foreach loops pt. 1
2015-12-19 16:20:00 +03:00
Vadim Lopatin
5c0380f002
Merge pull request #125 from g4z3r/codestyle
...
`switch` with `with` keyword to improve readability
2015-12-19 14:47:32 +03:00
gazer
2a53c9b4fd
`switch` with `with` keyword to improve readability
2015-12-19 13:52:08 +03:00
Vadim Lopatin
2184396216
Merge pull request #124 from g4z3r/dscanner
...
Many tiny fixes
2015-12-19 13:34:12 +03:00
gazer
db7b78d239
Many tiny fixes
2015-12-19 10:08:18 +03:00
Vadim Lopatin
8ce8c38b24
sdl legacy opengl api
2015-12-19 08:37:30 +03:00
Vadim Lopatin
51c98147f8
OpenGL example
2015-12-19 08:26:15 +03:00
Vadim Lopatin
d2049653ba
example1: GlGears - trying on OSX
2015-12-19 08:14:18 +03:00
Vadim Lopatin
872b77241b
Merge branch 'master' of github.com:buggins/dlangui
2015-12-19 07:52:34 +03:00
Vadim Lopatin
c7964762c4
fixes for OSX
2015-12-19 07:52:19 +03:00
Vadim Lopatin
fc5407f1ec
Merge pull request #123 from g4z3r/ogl
...
correct sizes and dates in FileDialog
2015-12-19 06:40:06 +03:00
gazer
99abb65674
correct sizes and dates in FileDialog
2015-12-18 22:48:24 +03:00