Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
b1a12d5a
Commit
b1a12d5a
authored
Feb 27, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few little modifications to make chat working as expected
parent
109a411a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
SkyliveX.js
gui/SkyliveX.js
+1
-1
jsbridge.cpp
src/jsbridge.cpp
+1
-0
No files found.
gui/SkyliveX.js
View file @
b1a12d5a
...
@@ -25,7 +25,7 @@ skyliveClass.prototype.publicReceived = function(user, msg){
...
@@ -25,7 +25,7 @@ skyliveClass.prototype.publicReceived = function(user, msg){
var
newel
=
document
.
createElement
(
'p'
);
var
newel
=
document
.
createElement
(
'p'
);
newel
.
innerHTML
=
"<"
+
user
+
"> "
+
msg
;
newel
.
innerHTML
=
"<"
+
user
+
"> "
+
msg
;
n
.
appendChild
(
newel
);
n
.
appendChild
(
newel
);
n
.
scollTop
=
n
.
scrollHeight
;
n
.
sc
r
ollTop
=
n
.
scrollHeight
;
}
}
}
}
};
};
...
...
src/jsbridge.cpp
View file @
b1a12d5a
...
@@ -55,6 +55,7 @@ void JSBridge::pushLogin(QString username, QString password)
...
@@ -55,6 +55,7 @@ void JSBridge::pushLogin(QString username, QString password)
void
JSBridge
::
resizeWin
(
int
width
,
int
height
)
void
JSBridge
::
resizeWin
(
int
width
,
int
height
)
{
{
std
::
cout
<<
"resizeWin called from JS"
<<
std
::
endl
;
wwin
->
resize
(
width
,
height
);
wwin
->
resize
(
width
,
height
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment