8000 updated readme and reduced default view size · uwydoc/tutorial-framework@238c8ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 238c8ff

Browse files
committed
updated readme and reduced default view size
1 parent 1426276 commit 238c8ff

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ Framework to serve as a starting point for Awesomium tutorials.
55

66
Please see: http://wiki.awesomium.com/tutorials
77

8-
## Setting Up on Windows
8+
### Setting Up on Windows
99

10-
1. Create a new Visual Studio (Win32) project with the files located in the "src" directory.
11-
2. Only filenames ending in `_win` or those that do not specify a platform should be added to your project.
10+
1. Create a new Visual Studio project (Visual C++ / Win32 project)
11+
2. Click Next and select 'Windows application' and 'Empty project' under settings.
12+
3. Add the files contained within the `src` folder to your project, excluding any filenames ending with `_mac`.
13+
4. Open up project properties and add the includes and proper linker settings for Awesomium.
14+
5. Copy the Awesomium DLLs and binary dependencies to your working path.
15+
6. Follow the tutorial by modifying the `main.cc` file.
1216

13-
## Setting Up on Mac OSX
17+
### Setting Up on Mac OSX
1418

15-
1. Create a new XCode (Cocoa) project with the files located in the "src" directory.
16-
2. Only filenames ending in `_mac` or those that do not specify a platform should be added to your project.
19+
1. Create a new XCode project (empty Cocoa project).
20+
2. Add the files contained within the `src` folder to your project, excluding any filenames ending with `_win`.
21+
3. Add the dependency for the Awesomium framework.
22+
4. Follow the tutorial by modifying the `main.cc` file.

src/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TutorialApp : public Application::Listener {
3131

3232
// Inherited from Application::Listener
3333
virtual void OnLoaded() {
34-
view_ = View::Create(512, 512);
34+
view_ = View::Create(500, 300);
3535
// < Set up your View here. >
3636
}
3737

0 commit comments

Comments
 (0)
0