-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathbuttons.py
More file actions
20 lines (19 loc) · 892 Bytes
/
buttons.py
File metadata and controls
20 lines (19 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Create Buttons: like, comment, change_image, view more comments
from classes.Button import Button
from constants import *
like_button = Button(LIKE_BUTTON_X_POS,
LIKE_BUTTON_Y_POS,
LIKE_BUTTON_WIDTH,
LIKE_BUTTON_HEIGHT)
comment_button = Button(COMMENT_BUTTON_X_POST,
COMMENT_BUTTON_Y_POS,
COMMENT_BUTTON_WIDTH,
COMMENT_BUTTON_HEIGHT)
click_post_button = Button(POST_X_POS,
POST_Y_POS,
POST_WIDTH,
POST_HEIGHT)
view_more_comments_button = Button(VIEW_MORE_COMMENTS_X_POS,
VIEW_MORE_COMMENTS_Y_POS,
VIEW_MORE_COMMENT_WIDTH,
VIEW_MORE_COMMENT_HEIGHT)