Skip to content

Commit 38c7f90

Browse files
committed
Presentation fixes as per PR #23
1 parent 0a45eb0 commit 38c7f90

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

module2/presentation_inheritance.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ private:
8282
GraphicsCard graphics_card_;
8383
Memory memory_;
8484
Screen screen_;
85-
Keyboard keyboard_;
8685
};
8786
```
8887
@@ -125,7 +124,6 @@ public:
125124
126125
private:
127126
Screen screen_;
128-
Keyboard keyboard_;
129127
};
130128
```
131129
<!-- .element: class="fragment fade-in" -->
@@ -169,18 +167,7 @@ Załóżmy, że dodajemy klasę `Screen`. Klasa ta wyświetla na bieżąco inter
169167
Chcemy też stworzyć klasę reprezentującą ekran dotykowy - `TouchScreen`, który również umożliwia odczyt akcji od użytkownika i ich wyświetlanie.
170168
<!-- .element: class="fragment fade-in" -->
171169

172-
<style>
173-
.container {
174-
display: flex;
175-
}
176-
.col {
177-
flex: 1;
178-
margin: 1%;
179-
}
180-
</style>
181-
182-
<div class="container">
183-
170+
<div class="multicolumn">
184171
<div class="col">
185172

186173
```cpp
@@ -197,7 +184,6 @@ private:
197184
<!-- .element: class="fragment fade-in" -->
198185
199186
</div>
200-
201187
<div class="col">
202188
203189
```cpp
@@ -216,7 +202,6 @@ private:
216202
<!-- .element: class="fragment fade-in" -->
217203

218204
</div>
219-
220205
</div>
221206

222207
### Jak uprościć powyższy kod?

0 commit comments

Comments
 (0)